Reconcile function default values between decl and def (#7665)

Updates the pattern matching code to support unspecified default values.
Adds logic to decl and def merge code to diagnose mismatches in defaults
if specified in both places, or if let entirely unspecified.

Per https://github.com/carbon-language/carbon-lang/pull/7521.
This commit is contained in:
Lucile Rose Nihlen
2026-09-08 20:41:58 +00:00
committed by GitHub
parent 5a07a14fe9
commit ca9e985fa8
30 changed files with 4624 additions and 3875 deletions
+6 -4
View File
@@ -22,7 +22,7 @@
// CHECK:STDOUT: clang_decls: {}
// CHECK:STDOUT: clang_decl_signatures: {}
// CHECK:STDOUT: name_scopes:
// CHECK:STDOUT: name_scope0: {inst: instF, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {}}
// CHECK:STDOUT: name_scope0: {inst: inst10, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {}}
// CHECK:STDOUT: entity_names: {}
// CHECK:STDOUT: functions: {}
// CHECK:STDOUT: classes: {}
@@ -75,9 +75,10 @@
// CHECK:STDOUT: 'inst(NamespaceType)': {kind: NamespaceType, type: type(TypeType)}
// CHECK:STDOUT: 'inst(RequireSpecificDefinitionType)': {kind: RequireSpecificDefinitionType, type: type(TypeType)}
// CHECK:STDOUT: 'inst(SpecificFunctionType)': {kind: SpecificFunctionType, type: type(TypeType)}
// CHECK:STDOUT: 'inst(UnspecifiedValueType)': {kind: UnspecifiedValueType, type: type(TypeType)}
// CHECK:STDOUT: 'inst(VtableType)': {kind: VtableType, type: type(TypeType)}
// CHECK:STDOUT: 'inst(WitnessType)': {kind: WitnessType, type: type(TypeType)}
// CHECK:STDOUT: instF: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst10: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: bundles: {}
// CHECK:STDOUT: constant_values:
// CHECK:STDOUT: values:
@@ -94,9 +95,10 @@
// CHECK:STDOUT: 'inst(NamespaceType)': concrete_constant(inst(NamespaceType))
// CHECK:STDOUT: 'inst(RequireSpecificDefinitionType)': concrete_constant(inst(RequireSpecificDefinitionType))
// CHECK:STDOUT: 'inst(SpecificFunctionType)': concrete_constant(inst(SpecificFunctionType))
// CHECK:STDOUT: 'inst(UnspecifiedValueType)': concrete_constant(inst(UnspecifiedValueType))
// CHECK:STDOUT: 'inst(VtableType)': concrete_constant(inst(VtableType))
// CHECK:STDOUT: 'inst(WitnessType)': concrete_constant(inst(WitnessType))
// CHECK:STDOUT: instF: concrete_constant(instF)
// CHECK:STDOUT: inst10: concrete_constant(inst10)
// CHECK:STDOUT: symbolic_constants: {}
// CHECK:STDOUT: inst_blocks:
// CHECK:STDOUT: inst_block_empty: {}
@@ -105,7 +107,7 @@
// CHECK:STDOUT: imports: {}
// CHECK:STDOUT: global_init: {}
// CHECK:STDOUT: inst_block50000005:
// CHECK:STDOUT: 0: instF
// CHECK:STDOUT: 0: inst10
// CHECK:STDOUT: value_stores:
// CHECK:STDOUT: shared_values:
// CHECK:STDOUT: ints: {}
+150 -150
View File
@@ -24,27 +24,27 @@ fn F(generic Form: Core.Form) ->? Form;
// CHECK:STDOUT: import_irs:
// CHECK:STDOUT: 'import_ir(ApiForImpl)': {decl_id: inst<none>, is_export: false}
// CHECK:STDOUT: 'import_ir(Cpp)': {decl_id: inst<none>, is_export: false}
// CHECK:STDOUT: import_ir70000002: {decl_id: inst70000010, is_export: false}
// CHECK:STDOUT: import_ir70000003: {decl_id: inst70000010, is_export: false}
// CHECK:STDOUT: import_ir70000002: {decl_id: inst70000011, is_export: false}
// CHECK:STDOUT: import_ir70000003: {decl_id: inst70000011, is_export: false}
// CHECK:STDOUT: import_ir_insts:
// CHECK:STDOUT: import_ir_inst0: {ir_id: import_ir70000003, inst_id: inst50000022}
// CHECK:STDOUT: import_ir_inst0: {ir_id: import_ir70000003, inst_id: inst50000023}
// CHECK:STDOUT: clang_decls: {}
// CHECK:STDOUT: clang_decl_signatures: {}
// CHECK:STDOUT: name_scopes:
// CHECK:STDOUT: name_scope0: {inst: instF, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {name(Core): inst70000011, name0: inst70000032}}
// CHECK:STDOUT: name_scope70000001: {inst: inst70000011, parent_scope: name_scope0, has_error: false, extended_scopes: [], names: {name1: inst70000016}}
// CHECK:STDOUT: name_scope0: {inst: inst10, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {name(Core): inst70000012, name0: inst70000033}}
// CHECK:STDOUT: name_scope70000001: {inst: inst70000012, parent_scope: name_scope0, has_error: false, extended_scopes: [], names: {name1: inst70000017}}
// CHECK:STDOUT: entity_names:
// CHECK:STDOUT: entity_name70000000: {name: name(PeriodSelf), parent_scope: name_scope<none>, index: -1, is_template: 0, is_unused: 0, is_frozen_period_self: 1}, form: inst<none>}
// CHECK:STDOUT: entity_name70000001: {name: name1, parent_scope: name_scope70000001, index: -1, is_template: 0, is_unused: 0, form: inst<none>}
// CHECK:STDOUT: entity_name70000002: {name: name1, parent_scope: name_scope<none>, index: 0, is_template: 0, is_unused: 0, form: inst<none>}
// CHECK:STDOUT: functions:
// CHECK:STDOUT: function70000000: {name: name0, parent_scope: name_scope0, call_param_patterns_id: inst_block70000007, call_params_id: inst_block70000008, return_type_inst_id: inst70000020, return_form_inst_id: inst7000001F, return_pattern_id: inst70000029}
// CHECK:STDOUT: function70000000: {name: name0, parent_scope: name_scope0, call_param_patterns_id: inst_block70000007, call_params_id: inst_block70000008, return_type_inst_id: inst70000021, return_form_inst_id: inst70000020, return_pattern_id: inst7000002A}
// CHECK:STDOUT: classes: {}
// CHECK:STDOUT: interfaces: {}
// CHECK:STDOUT: associated_constants: {}
// CHECK:STDOUT: impls: {}
// CHECK:STDOUT: generics:
// CHECK:STDOUT: generic70000000: {decl: inst70000032, bindings: inst_block7000000B, self_specific_id: specific70000000, decl_block_id: inst_block7000000D, definition_block_id: inst_block<none>}
// CHECK:STDOUT: generic70000000: {decl: inst70000033, bindings: inst_block7000000B, self_specific_id: specific70000000, decl_block_id: inst_block7000000D, definition_block_id: inst_block<none>}
// CHECK:STDOUT: specifics:
// CHECK:STDOUT: specific70000000: {generic: generic70000000, args: inst_block7000000C, decl_block_id: inst_block7000000E, decl_has_error: 0, definition_block_id: inst_block<none>, definition_has_error: 0}
// CHECK:STDOUT: specific_interfaces: {}
@@ -76,190 +76,190 @@ fn F(generic Form: Core.Form) ->? Form;
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst70000038)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst70000039)}
// CHECK:STDOUT: 'type(inst70000039)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst7000003A)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst70000039)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst70000039)}
// CHECK:STDOUT: 'type(inst7000003A)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst7000003A)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: declared_facet_types:
// CHECK:STDOUT: declared_facet_type70000000: {}
// CHECK:STDOUT: insts:
// CHECK:STDOUT: instF: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000010: {kind: ImportDecl, arg0: name(Core)}
// CHECK:STDOUT: inst70000011: {kind: Namespace, arg0: name_scope70000001, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000012: {kind: FacetType, arg0: declared_facet_type70000000, type: type(TypeType)}
// CHECK:STDOUT: inst70000013: {kind: SymbolicBinding, arg0: entity_name70000000, arg1: inst<none>, type: type(inst70000012)}
// CHECK:STDOUT: inst70000014: {kind: SymbolicBinding, arg0: entity_name70000000, arg1: inst<none>, type: type(inst70000012)}
// CHECK:STDOUT: inst70000015: {kind: NameRef, arg0: name(Core), arg1: inst70000011, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000016: {kind: ImportRefLoaded, arg0: import_ir_inst0, arg1: entity_name70000001, type: type(TypeType)}
// CHECK:STDOUT: inst70000017: {kind: NameRef, arg0: name1, arg1: inst70000016, type: type(TypeType)}
// CHECK:STDOUT: inst70000018: {kind: PatternType, arg0: inst(FormType), type: type(TypeType)}
// CHECK:STDOUT: inst70000019: {kind: SymbolicBindingPattern, arg0: entity_name70000002, type: type(inst70000018)}
// CHECK:STDOUT: inst7000001A: {kind: SymbolicBindingPattern, arg0: entity_name70000002, type: type(inst70000018)}
// CHECK:STDOUT: inst7000001B: {kind: SymbolicBindingPattern, arg0: entity_name70000002, type: type(inst70000018)}
// CHECK:STDOUT: inst7000001C: {kind: SymbolicBinding, arg0: entity_name70000002, arg1: inst<none>, type: type(inst(FormType))}
// CHECK:STDOUT: inst10: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000011: {kind: ImportDecl, arg0: name(Core)}
// CHECK:STDOUT: inst70000012: {kind: Namespace, arg0: name_scope70000001, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000013: {kind: FacetType, arg0: declared_facet_type70000000, type: type(TypeType)}
// CHECK:STDOUT: inst70000014: {kind: SymbolicBinding, arg0: entity_name70000000, arg1: inst<none>, type: type(inst70000013)}
// CHECK:STDOUT: inst70000015: {kind: SymbolicBinding, arg0: entity_name70000000, arg1: inst<none>, type: type(inst70000013)}
// CHECK:STDOUT: inst70000016: {kind: NameRef, arg0: name(Core), arg1: inst70000012, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000017: {kind: ImportRefLoaded, arg0: import_ir_inst0, arg1: entity_name70000001, type: type(TypeType)}
// CHECK:STDOUT: inst70000018: {kind: NameRef, arg0: name1, arg1: inst70000017, type: type(TypeType)}
// CHECK:STDOUT: inst70000019: {kind: PatternType, arg0: inst(FormType), type: type(TypeType)}
// CHECK:STDOUT: inst7000001A: {kind: SymbolicBindingPattern, arg0: entity_name70000002, type: type(inst70000019)}
// CHECK:STDOUT: inst7000001B: {kind: SymbolicBindingPattern, arg0: entity_name70000002, type: type(inst70000019)}
// CHECK:STDOUT: inst7000001C: {kind: SymbolicBindingPattern, arg0: entity_name70000002, type: type(inst70000019)}
// CHECK:STDOUT: inst7000001D: {kind: SymbolicBinding, arg0: entity_name70000002, arg1: inst<none>, type: type(inst(FormType))}
// CHECK:STDOUT: inst7000001E: {kind: SymbolicBinding, arg0: entity_name70000002, arg1: inst<none>, type: type(inst(FormType))}
// CHECK:STDOUT: inst7000001F: {kind: NameRef, arg0: name1, arg1: inst7000001C, type: type(inst(FormType))}
// CHECK:STDOUT: inst70000020: {kind: TypeComponentOf, arg0: inst7000001F, type: type(TypeType)}
// CHECK:STDOUT: inst70000021: {kind: TypeComponentOf, arg0: inst7000001D, type: type(TypeType)}
// CHECK:STDOUT: inst7000001F: {kind: SymbolicBinding, arg0: entity_name70000002, arg1: inst<none>, type: type(inst(FormType))}
// CHECK:STDOUT: inst70000020: {kind: NameRef, arg0: name1, arg1: inst7000001D, type: type(inst(FormType))}
// CHECK:STDOUT: inst70000021: {kind: TypeComponentOf, arg0: inst70000020, type: type(TypeType)}
// CHECK:STDOUT: inst70000022: {kind: TypeComponentOf, arg0: inst7000001E, type: type(TypeType)}
// CHECK:STDOUT: inst70000023: {kind: PatternType, arg0: inst70000021, type: type(TypeType)}
// CHECK:STDOUT: inst70000024: {kind: OutFormParamPatternAction, arg0: inst7000001F, type: type(inst(InstType))}
// CHECK:STDOUT: inst70000025: {kind: SpliceInst, arg0: inst70000024, type: type(symbolic_constant7000000A)}
// CHECK:STDOUT: inst70000026: {kind: SpliceInst, arg0: inst70000024, type: type(symbolic_constant70000007)}
// CHECK:STDOUT: inst70000027: {kind: PatternType, arg0: inst70000022, type: type(TypeType)}
// CHECK:STDOUT: inst70000028: {kind: SpliceInst, arg0: inst70000024, type: type(symbolic_constant7000000A)}
// CHECK:STDOUT: inst70000029: {kind: ReturnSlotPattern, arg0: inst70000025, arg1: inst70000020, type: type(symbolic_constant7000000A)}
// CHECK:STDOUT: inst7000002A: {kind: ReturnSlotPattern, arg0: inst70000026, arg1: inst70000021, type: type(symbolic_constant70000007)}
// CHECK:STDOUT: inst7000002B: {kind: ReturnSlotPattern, arg0: inst70000028, arg1: inst70000022, type: type(symbolic_constant7000000A)}
// CHECK:STDOUT: inst7000002C: {kind: SpliceBlock, arg0: inst_block70000005, arg1: inst70000017, type: type(TypeType)}
// CHECK:STDOUT: inst7000002D: {kind: CalleePatternMatchAction, arg0: bundle70000000, type: type(inst(InstType))}
// CHECK:STDOUT: inst7000002E: {kind: SpliceInst, arg0: inst7000002D, type: type(symbolic_constant70000006)}
// CHECK:STDOUT: inst7000002F: {kind: SpliceInst, arg0: inst7000002D, type: type(symbolic_constant70000005)}
// CHECK:STDOUT: inst70000030: {kind: SpliceInst, arg0: inst7000002D, type: type(symbolic_constant70000006)}
// CHECK:STDOUT: inst70000031: {kind: ReturnSlot, arg0: inst70000021, arg1: inst7000002E, type: type(symbolic_constant70000006)}
// CHECK:STDOUT: inst70000032: {kind: FunctionDecl, arg0: function70000000, arg1: inst_block7000000A, type: type(inst70000038)}
// CHECK:STDOUT: inst70000033: {kind: OutFormParamPatternAction, arg0: inst7000001D, type: type(inst(InstType))}
// CHECK:STDOUT: inst70000034: {kind: SpliceInst, arg0: inst70000033, type: type(symbolic_constant70000007)}
// CHECK:STDOUT: inst70000035: {kind: ReturnSlotPattern, arg0: inst70000034, arg1: inst70000021, type: type(symbolic_constant70000007)}
// CHECK:STDOUT: inst70000036: {kind: CalleePatternMatchAction, arg0: bundle70000000, type: type(inst(InstType))}
// CHECK:STDOUT: inst70000037: {kind: SpliceInst, arg0: inst70000036, type: type(symbolic_constant70000005)}
// CHECK:STDOUT: inst70000038: {kind: FunctionType, arg0: function70000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst70000039: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
// CHECK:STDOUT: inst7000003A: {kind: StructValue, arg0: inst_block_empty, type: type(inst70000038)}
// CHECK:STDOUT: inst70000023: {kind: TypeComponentOf, arg0: inst7000001F, type: type(TypeType)}
// CHECK:STDOUT: inst70000024: {kind: PatternType, arg0: inst70000022, type: type(TypeType)}
// CHECK:STDOUT: inst70000025: {kind: OutFormParamPatternAction, arg0: inst70000020, type: type(inst(InstType))}
// CHECK:STDOUT: inst70000026: {kind: SpliceInst, arg0: inst70000025, type: type(symbolic_constant7000000A)}
// CHECK:STDOUT: inst70000027: {kind: SpliceInst, arg0: inst70000025, type: type(symbolic_constant70000007)}
// CHECK:STDOUT: inst70000028: {kind: PatternType, arg0: inst70000023, type: type(TypeType)}
// CHECK:STDOUT: inst70000029: {kind: SpliceInst, arg0: inst70000025, type: type(symbolic_constant7000000A)}
// CHECK:STDOUT: inst7000002A: {kind: ReturnSlotPattern, arg0: inst70000026, arg1: inst70000021, type: type(symbolic_constant7000000A)}
// CHECK:STDOUT: inst7000002B: {kind: ReturnSlotPattern, arg0: inst70000027, arg1: inst70000022, type: type(symbolic_constant70000007)}
// CHECK:STDOUT: inst7000002C: {kind: ReturnSlotPattern, arg0: inst70000029, arg1: inst70000023, type: type(symbolic_constant7000000A)}
// CHECK:STDOUT: inst7000002D: {kind: SpliceBlock, arg0: inst_block70000005, arg1: inst70000018, type: type(TypeType)}
// CHECK:STDOUT: inst7000002E: {kind: CalleePatternMatchAction, arg0: bundle70000000, type: type(inst(InstType))}
// CHECK:STDOUT: inst7000002F: {kind: SpliceInst, arg0: inst7000002E, type: type(symbolic_constant70000006)}
// CHECK:STDOUT: inst70000030: {kind: SpliceInst, arg0: inst7000002E, type: type(symbolic_constant70000005)}
// CHECK:STDOUT: inst70000031: {kind: SpliceInst, arg0: inst7000002E, type: type(symbolic_constant70000006)}
// CHECK:STDOUT: inst70000032: {kind: ReturnSlot, arg0: inst70000022, arg1: inst7000002F, type: type(symbolic_constant70000006)}
// CHECK:STDOUT: inst70000033: {kind: FunctionDecl, arg0: function70000000, arg1: inst_block7000000A, type: type(inst70000039)}
// CHECK:STDOUT: inst70000034: {kind: OutFormParamPatternAction, arg0: inst7000001E, type: type(inst(InstType))}
// CHECK:STDOUT: inst70000035: {kind: SpliceInst, arg0: inst70000034, type: type(symbolic_constant70000007)}
// CHECK:STDOUT: inst70000036: {kind: ReturnSlotPattern, arg0: inst70000035, arg1: inst70000022, type: type(symbolic_constant70000007)}
// CHECK:STDOUT: inst70000037: {kind: CalleePatternMatchAction, arg0: bundle70000000, type: type(inst(InstType))}
// CHECK:STDOUT: inst70000038: {kind: SpliceInst, arg0: inst70000037, type: type(symbolic_constant70000005)}
// CHECK:STDOUT: inst70000039: {kind: FunctionType, arg0: function70000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst7000003A: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
// CHECK:STDOUT: inst7000003B: {kind: StructValue, arg0: inst_block_empty, type: type(inst70000039)}
// CHECK:STDOUT: bundles:
// CHECK:STDOUT: bundle70000000: {arg0: inst70000026, arg1: call_param0}
// CHECK:STDOUT: bundle70000000: {arg0: inst70000027, arg1: call_param0}
// CHECK:STDOUT: constant_values:
// CHECK:STDOUT: values:
// CHECK:STDOUT: instF: concrete_constant(instF)
// CHECK:STDOUT: inst70000011: concrete_constant(inst70000011)
// CHECK:STDOUT: inst10: concrete_constant(inst10)
// CHECK:STDOUT: inst70000012: concrete_constant(inst70000012)
// CHECK:STDOUT: inst70000013: symbolic_constant70000000
// CHECK:STDOUT: inst70000013: concrete_constant(inst70000013)
// CHECK:STDOUT: inst70000014: symbolic_constant70000000
// CHECK:STDOUT: inst70000015: concrete_constant(inst70000011)
// CHECK:STDOUT: inst70000016: concrete_constant(inst(FormType))
// CHECK:STDOUT: inst70000015: symbolic_constant70000000
// CHECK:STDOUT: inst70000016: concrete_constant(inst70000012)
// CHECK:STDOUT: inst70000017: concrete_constant(inst(FormType))
// CHECK:STDOUT: inst70000018: concrete_constant(inst70000018)
// CHECK:STDOUT: inst70000019: symbolic_constant70000002
// CHECK:STDOUT: inst7000001A: symbolic_constant70000001
// CHECK:STDOUT: inst7000001B: symbolic_constant70000002
// CHECK:STDOUT: inst7000001C: symbolic_constant70000004
// CHECK:STDOUT: inst7000001D: symbolic_constant70000003
// CHECK:STDOUT: inst7000001E: symbolic_constant70000004
// CHECK:STDOUT: inst70000018: concrete_constant(inst(FormType))
// CHECK:STDOUT: inst70000019: concrete_constant(inst70000019)
// CHECK:STDOUT: inst7000001A: symbolic_constant70000002
// CHECK:STDOUT: inst7000001B: symbolic_constant70000001
// CHECK:STDOUT: inst7000001C: symbolic_constant70000002
// CHECK:STDOUT: inst7000001D: symbolic_constant70000004
// CHECK:STDOUT: inst7000001E: symbolic_constant70000003
// CHECK:STDOUT: inst7000001F: symbolic_constant70000004
// CHECK:STDOUT: inst70000020: symbolic_constant70000006
// CHECK:STDOUT: inst70000021: symbolic_constant70000005
// CHECK:STDOUT: inst70000022: symbolic_constant70000006
// CHECK:STDOUT: inst70000023: symbolic_constant70000007
// CHECK:STDOUT: inst70000024: symbolic_constant70000008
// CHECK:STDOUT: inst70000025: symbolic_constant7000000B
// CHECK:STDOUT: inst70000026: symbolic_constant70000009
// CHECK:STDOUT: inst70000027: symbolic_constant7000000A
// CHECK:STDOUT: inst70000028: symbolic_constant7000000B
// CHECK:STDOUT: inst70000029: symbolic_constant7000000D
// CHECK:STDOUT: inst7000002A: symbolic_constant7000000C
// CHECK:STDOUT: inst7000002B: symbolic_constant7000000D
// CHECK:STDOUT: inst7000002C: concrete_constant(inst(FormType))
// CHECK:STDOUT: inst7000002D: symbolic_constant7000000E
// CHECK:STDOUT: inst7000002E: symbolic_constant70000010
// CHECK:STDOUT: inst7000002F: symbolic_constant7000000F
// CHECK:STDOUT: inst70000030: symbolic_constant70000010
// CHECK:STDOUT: inst70000032: concrete_constant(inst7000003A)
// CHECK:STDOUT: inst70000033: symbolic_constant70000011
// CHECK:STDOUT: inst70000034: symbolic_constant70000012
// CHECK:STDOUT: inst70000035: symbolic_constant70000013
// CHECK:STDOUT: inst70000036: symbolic_constant70000014
// CHECK:STDOUT: inst70000037: symbolic_constant70000015
// CHECK:STDOUT: inst70000038: concrete_constant(inst70000038)
// CHECK:STDOUT: inst70000020: symbolic_constant70000004
// CHECK:STDOUT: inst70000021: symbolic_constant70000006
// CHECK:STDOUT: inst70000022: symbolic_constant70000005
// CHECK:STDOUT: inst70000023: symbolic_constant70000006
// CHECK:STDOUT: inst70000024: symbolic_constant70000007
// CHECK:STDOUT: inst70000025: symbolic_constant70000008
// CHECK:STDOUT: inst70000026: symbolic_constant7000000B
// CHECK:STDOUT: inst70000027: symbolic_constant70000009
// CHECK:STDOUT: inst70000028: symbolic_constant7000000A
// CHECK:STDOUT: inst70000029: symbolic_constant7000000B
// CHECK:STDOUT: inst7000002A: symbolic_constant7000000D
// CHECK:STDOUT: inst7000002B: symbolic_constant7000000C
// CHECK:STDOUT: inst7000002C: symbolic_constant7000000D
// CHECK:STDOUT: inst7000002D: concrete_constant(inst(FormType))
// CHECK:STDOUT: inst7000002E: symbolic_constant7000000E
// CHECK:STDOUT: inst7000002F: symbolic_constant70000010
// CHECK:STDOUT: inst70000030: symbolic_constant7000000F
// CHECK:STDOUT: inst70000031: symbolic_constant70000010
// CHECK:STDOUT: inst70000033: concrete_constant(inst7000003B)
// CHECK:STDOUT: inst70000034: symbolic_constant70000011
// CHECK:STDOUT: inst70000035: symbolic_constant70000012
// CHECK:STDOUT: inst70000036: symbolic_constant70000013
// CHECK:STDOUT: inst70000037: symbolic_constant70000014
// CHECK:STDOUT: inst70000038: symbolic_constant70000015
// CHECK:STDOUT: inst70000039: concrete_constant(inst70000039)
// CHECK:STDOUT: inst7000003A: concrete_constant(inst7000003A)
// CHECK:STDOUT: inst7000003B: concrete_constant(inst7000003B)
// CHECK:STDOUT: symbolic_constants:
// CHECK:STDOUT: symbolic_constant70000000: {inst: inst70000014, kind: self, attached: null}
// CHECK:STDOUT: symbolic_constant70000001: {inst: inst7000001A, kind: checked, attached: null}
// CHECK:STDOUT: symbolic_constant70000002: {inst: inst7000001A, kind: checked, attached: {generic: generic70000000, index: generic_inst_in_decl0}}
// CHECK:STDOUT: symbolic_constant70000003: {inst: inst7000001D, kind: checked, attached: null}
// CHECK:STDOUT: symbolic_constant70000004: {inst: inst7000001D, kind: checked, attached: {generic: generic70000000, index: generic_inst_in_decl1}}
// CHECK:STDOUT: symbolic_constant70000005: {inst: inst70000021, kind: checked, attached: null}
// CHECK:STDOUT: symbolic_constant70000006: {inst: inst70000021, kind: checked, attached: {generic: generic70000000, index: generic_inst_in_decl2}}
// CHECK:STDOUT: symbolic_constant70000007: {inst: inst70000023, kind: checked, attached: null}
// CHECK:STDOUT: symbolic_constant70000008: {inst: inst70000024, kind: template, attached: {generic: generic70000000, index: generic_inst_in_decl3}}
// CHECK:STDOUT: symbolic_constant70000009: {inst: inst70000026, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant7000000A: {inst: inst70000023, kind: checked, attached: {generic: generic70000000, index: generic_inst_in_decl4}}
// CHECK:STDOUT: symbolic_constant7000000B: {inst: inst70000026, kind: template, attached: {generic: generic70000000, index: generic_inst_in_decl5}}
// CHECK:STDOUT: symbolic_constant7000000C: {inst: inst7000002A, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant7000000D: {inst: inst7000002A, kind: template, attached: {generic: generic70000000, index: generic_inst_in_decl6}}
// CHECK:STDOUT: symbolic_constant7000000E: {inst: inst7000002D, kind: template, attached: {generic: generic70000000, index: generic_inst_in_decl7}}
// CHECK:STDOUT: symbolic_constant7000000F: {inst: inst7000002F, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant70000010: {inst: inst7000002F, kind: template, attached: {generic: generic70000000, index: generic_inst_in_decl8}}
// CHECK:STDOUT: symbolic_constant70000011: {inst: inst70000033, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant70000012: {inst: inst70000034, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant70000013: {inst: inst70000035, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant70000014: {inst: inst70000036, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant70000015: {inst: inst70000037, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant70000000: {inst: inst70000015, kind: self, attached: null}
// CHECK:STDOUT: symbolic_constant70000001: {inst: inst7000001B, kind: checked, attached: null}
// CHECK:STDOUT: symbolic_constant70000002: {inst: inst7000001B, kind: checked, attached: {generic: generic70000000, index: generic_inst_in_decl0}}
// CHECK:STDOUT: symbolic_constant70000003: {inst: inst7000001E, kind: checked, attached: null}
// CHECK:STDOUT: symbolic_constant70000004: {inst: inst7000001E, kind: checked, attached: {generic: generic70000000, index: generic_inst_in_decl1}}
// CHECK:STDOUT: symbolic_constant70000005: {inst: inst70000022, kind: checked, attached: null}
// CHECK:STDOUT: symbolic_constant70000006: {inst: inst70000022, kind: checked, attached: {generic: generic70000000, index: generic_inst_in_decl2}}
// CHECK:STDOUT: symbolic_constant70000007: {inst: inst70000024, kind: checked, attached: null}
// CHECK:STDOUT: symbolic_constant70000008: {inst: inst70000025, kind: template, attached: {generic: generic70000000, index: generic_inst_in_decl3}}
// CHECK:STDOUT: symbolic_constant70000009: {inst: inst70000027, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant7000000A: {inst: inst70000024, kind: checked, attached: {generic: generic70000000, index: generic_inst_in_decl4}}
// CHECK:STDOUT: symbolic_constant7000000B: {inst: inst70000027, kind: template, attached: {generic: generic70000000, index: generic_inst_in_decl5}}
// CHECK:STDOUT: symbolic_constant7000000C: {inst: inst7000002B, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant7000000D: {inst: inst7000002B, kind: template, attached: {generic: generic70000000, index: generic_inst_in_decl6}}
// CHECK:STDOUT: symbolic_constant7000000E: {inst: inst7000002E, kind: template, attached: {generic: generic70000000, index: generic_inst_in_decl7}}
// CHECK:STDOUT: symbolic_constant7000000F: {inst: inst70000030, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant70000010: {inst: inst70000030, kind: template, attached: {generic: generic70000000, index: generic_inst_in_decl8}}
// CHECK:STDOUT: symbolic_constant70000011: {inst: inst70000034, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant70000012: {inst: inst70000035, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant70000013: {inst: inst70000036, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant70000014: {inst: inst70000037, kind: template, attached: null}
// CHECK:STDOUT: symbolic_constant70000015: {inst: inst70000038, kind: template, attached: null}
// CHECK:STDOUT: inst_blocks:
// CHECK:STDOUT: inst_block_empty: {}
// CHECK:STDOUT: exports:
// CHECK:STDOUT: 0: inst70000032
// CHECK:STDOUT: 0: inst70000033
// CHECK:STDOUT: generated: {}
// CHECK:STDOUT: imports:
// CHECK:STDOUT: 0: inst70000011
// CHECK:STDOUT: 1: inst70000016
// CHECK:STDOUT: 0: inst70000012
// CHECK:STDOUT: 1: inst70000017
// CHECK:STDOUT: global_init: {}
// CHECK:STDOUT: inst_block70000005:
// CHECK:STDOUT: 0: inst70000013
// CHECK:STDOUT: 1: inst70000015
// CHECK:STDOUT: 2: inst70000017
// CHECK:STDOUT: 0: inst70000014
// CHECK:STDOUT: 1: inst70000016
// CHECK:STDOUT: 2: inst70000018
// CHECK:STDOUT: inst_block70000006:
// CHECK:STDOUT: 0: inst70000019
// CHECK:STDOUT: 0: inst7000001A
// CHECK:STDOUT: inst_block70000007:
// CHECK:STDOUT: 0: inst70000025
// CHECK:STDOUT: 0: inst70000026
// CHECK:STDOUT: inst_block70000008:
// CHECK:STDOUT: 0: inst7000002E
// CHECK:STDOUT: 0: inst7000002F
// CHECK:STDOUT: inst_block70000009:
// CHECK:STDOUT: 0: inst70000019
// CHECK:STDOUT: 1: inst70000025
// CHECK:STDOUT: 2: inst70000029
// CHECK:STDOUT: 0: inst7000001A
// CHECK:STDOUT: 1: inst70000026
// CHECK:STDOUT: 2: inst7000002A
// CHECK:STDOUT: inst_block7000000A:
// CHECK:STDOUT: 0: inst7000001F
// CHECK:STDOUT: 1: inst70000020
// CHECK:STDOUT: 2: inst7000002C
// CHECK:STDOUT: 3: inst7000001C
// CHECK:STDOUT: 4: inst7000002E
// CHECK:STDOUT: 5: inst70000031
// CHECK:STDOUT: 0: inst70000020
// CHECK:STDOUT: 1: inst70000021
// CHECK:STDOUT: 2: inst7000002D
// CHECK:STDOUT: 3: inst7000001D
// CHECK:STDOUT: 4: inst7000002F
// CHECK:STDOUT: 5: inst70000032
// CHECK:STDOUT: inst_block7000000B:
// CHECK:STDOUT: 0: inst7000001C
// CHECK:STDOUT: inst_block7000000C:
// CHECK:STDOUT: 0: inst7000001D
// CHECK:STDOUT: inst_block7000000C:
// CHECK:STDOUT: 0: inst7000001E
// CHECK:STDOUT: inst_block7000000D:
// CHECK:STDOUT: 0: inst7000001C
// CHECK:STDOUT: 1: inst7000001F
// CHECK:STDOUT: 2: inst70000023
// CHECK:STDOUT: 3: inst70000025
// CHECK:STDOUT: 4: inst70000028
// CHECK:STDOUT: 5: inst70000029
// CHECK:STDOUT: 6: inst7000002C
// CHECK:STDOUT: 7: inst7000002E
// CHECK:STDOUT: 8: inst70000031
// CHECK:STDOUT: inst_block7000000E:
// CHECK:STDOUT: 0: inst7000001B
// CHECK:STDOUT: 1: inst7000001E
// CHECK:STDOUT: 2: inst70000022
// CHECK:STDOUT: 3: inst70000024
// CHECK:STDOUT: 4: inst70000027
// CHECK:STDOUT: 5: inst70000028
// CHECK:STDOUT: 6: inst7000002B
// CHECK:STDOUT: 7: inst7000002D
// CHECK:STDOUT: 8: inst70000030
// CHECK:STDOUT: inst_block7000000E:
// CHECK:STDOUT: 0: inst7000001A
// CHECK:STDOUT: 1: inst7000001D
// CHECK:STDOUT: 2: inst70000021
// CHECK:STDOUT: 3: inst70000033
// CHECK:STDOUT: 4: inst70000023
// CHECK:STDOUT: 5: inst70000034
// CHECK:STDOUT: 6: inst70000035
// CHECK:STDOUT: 7: inst70000036
// CHECK:STDOUT: 8: inst70000037
// CHECK:STDOUT: 3: inst70000034
// CHECK:STDOUT: 4: inst70000024
// CHECK:STDOUT: 5: inst70000035
// CHECK:STDOUT: 6: inst70000036
// CHECK:STDOUT: 7: inst70000037
// CHECK:STDOUT: 8: inst70000038
// CHECK:STDOUT: inst_block7000000F:
// CHECK:STDOUT: 0: instF
// CHECK:STDOUT: 1: inst70000010
// CHECK:STDOUT: 2: inst70000032
// CHECK:STDOUT: 0: inst10
// CHECK:STDOUT: 1: inst70000011
// CHECK:STDOUT: 2: inst70000033
// CHECK:STDOUT: value_stores:
// CHECK:STDOUT: shared_values:
// CHECK:STDOUT: ints: {}
+234 -232
View File
@@ -53,22 +53,22 @@ fn G(x: Cpp.X) {
// CHECK:STDOUT: import_ir_inst3: {ir_id: import_ir(Cpp), clang_source_loc_id: clang_source_loc50000003}
// CHECK:STDOUT: import_ir_inst4: {ir_id: import_ir(Cpp), clang_source_loc_id: clang_source_loc50000004}
// CHECK:STDOUT: clang_decls:
// CHECK:STDOUT: clang_decl_id50000000: {key: {decl: "namespace Carbon {\n}"}, inst_id: instF}
// CHECK:STDOUT: clang_decl_id50000001: {key: {decl: "<translation unit>"}, inst_id: inst50000011}
// CHECK:STDOUT: clang_decl_id50000002: {key: {decl: "struct X {}"}, inst_id: inst50000013}
// CHECK:STDOUT: clang_decl_id50000003: {key: {decl: "X * _Nonnull p"}, inst_id: inst50000024}
// CHECK:STDOUT: clang_decl_id50000004: {key: {decl: "void f(X x = {})", clang_decl_signature_id: clang_decl_signature_id50000000}, inst_id: inst5000002F}
// CHECK:STDOUT: clang_decl_id50000005: {key: {decl: "inline void f__carbon_thunk()", clang_decl_signature_id: clang_decl_signature_id50000000}, inst_id: inst50000032}
// CHECK:STDOUT: clang_decl_id50000006: {key: {decl: "void f(X x = {})", clang_decl_signature_id: clang_decl_signature_id50000001}, inst_id: inst5000003D}
// CHECK:STDOUT: clang_decl_id50000007: {key: {decl: "inline void f__carbon_thunk(X * _Nonnull x)", clang_decl_signature_id: clang_decl_signature_id50000001}, inst_id: inst50000047}
// CHECK:STDOUT: clang_decl_id50000008: {key: {decl: "X * _Nonnull global"}, inst_id: inst50000052}
// CHECK:STDOUT: clang_decl_id50000000: {key: {decl: "namespace Carbon {\n}"}, inst_id: inst10}
// CHECK:STDOUT: clang_decl_id50000001: {key: {decl: "<translation unit>"}, inst_id: inst50000012}
// CHECK:STDOUT: clang_decl_id50000002: {key: {decl: "struct X {}"}, inst_id: inst50000014}
// CHECK:STDOUT: clang_decl_id50000003: {key: {decl: "X * _Nonnull p"}, inst_id: inst50000025}
// CHECK:STDOUT: clang_decl_id50000004: {key: {decl: "void f(X x = {})", clang_decl_signature_id: clang_decl_signature_id50000000}, inst_id: inst50000030}
// CHECK:STDOUT: clang_decl_id50000005: {key: {decl: "inline void f__carbon_thunk()", clang_decl_signature_id: clang_decl_signature_id50000000}, inst_id: inst50000033}
// CHECK:STDOUT: clang_decl_id50000006: {key: {decl: "void f(X x = {})", clang_decl_signature_id: clang_decl_signature_id50000001}, inst_id: inst5000003E}
// CHECK:STDOUT: clang_decl_id50000007: {key: {decl: "inline void f__carbon_thunk(X * _Nonnull x)", clang_decl_signature_id: clang_decl_signature_id50000001}, inst_id: inst50000048}
// CHECK:STDOUT: clang_decl_id50000008: {key: {decl: "X * _Nonnull global"}, inst_id: inst50000053}
// CHECK:STDOUT: clang_decl_signatures:
// CHECK:STDOUT: clang_decl_signature_id50000000: {kind: normal, num_params: 0}
// CHECK:STDOUT: clang_decl_signature_id50000001: {kind: normal, num_params: 1, modes: [value]}
// CHECK:STDOUT: name_scopes:
// CHECK:STDOUT: name_scope0: {inst: instF, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {name(Cpp): inst50000011, name0: inst5000001E}}
// CHECK:STDOUT: name_scope50000001: {inst: inst50000011, parent_scope: name_scope0, has_error: false, extended_scopes: [], names: {name2: inst50000013, name3: inst5000002C, name4: inst50000054}}
// CHECK:STDOUT: name_scope50000002: {inst: inst50000013, parent_scope: name_scope50000001, has_error: false, extended_scopes: [], names: {}}
// CHECK:STDOUT: name_scope0: {inst: inst10, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {name(Cpp): inst50000012, name0: inst5000001F}}
// CHECK:STDOUT: name_scope50000001: {inst: inst50000012, parent_scope: name_scope0, has_error: false, extended_scopes: [], names: {name2: inst50000014, name3: inst5000002D, name4: inst50000055}}
// CHECK:STDOUT: name_scope50000002: {inst: inst50000014, parent_scope: name_scope50000001, has_error: false, extended_scopes: [], names: {}}
// CHECK:STDOUT: entity_names:
// CHECK:STDOUT: entity_name50000000: {name: name1, parent_scope: name_scope<none>, index: -1, is_template: 0, is_unused: 0, form: inst<none>}
// CHECK:STDOUT: entity_name50000001: {name: name1, parent_scope: name_scope<none>, index: -1, is_template: 0, is_unused: 0, form: inst<none>}
@@ -76,12 +76,12 @@ fn G(x: Cpp.X) {
// CHECK:STDOUT: entity_name50000003: {name: name4, parent_scope: name_scope50000001, index: -1, is_template: 0, is_unused: 0, form: inst<none>}
// CHECK:STDOUT: functions:
// CHECK:STDOUT: function50000000: {name: name0, parent_scope: name_scope0, call_param_patterns_id: inst_block50000007, call_params_id: inst_block50000008, body: [inst_block5000000B]}
// CHECK:STDOUT: function50000001: {name: name3, parent_scope: name_scope50000001, call_param_patterns_id: inst_block_empty, call_params_id: inst_block_empty, cpp_thunk_decl: inst50000032}
// CHECK:STDOUT: function50000002: {name: name6, parent_scope: name_scope50000001, call_param_patterns_id: inst_block_empty, call_params_id: inst_block_empty, cpp_thunk_callee: inst5000002F}
// CHECK:STDOUT: function50000003: {name: name3, parent_scope: name_scope50000001, call_param_patterns_id: inst_block50000010, call_params_id: inst_block50000011, cpp_thunk_decl: inst50000047}
// CHECK:STDOUT: function50000004: {name: name6, parent_scope: name_scope50000001, call_param_patterns_id: inst_block50000016, call_params_id: inst_block50000017, cpp_thunk_callee: inst5000003D}
// CHECK:STDOUT: function50000001: {name: name3, parent_scope: name_scope50000001, call_param_patterns_id: inst_block_empty, call_params_id: inst_block_empty, cpp_thunk_decl: inst50000033}
// CHECK:STDOUT: function50000002: {name: name6, parent_scope: name_scope50000001, call_param_patterns_id: inst_block_empty, call_params_id: inst_block_empty, cpp_thunk_callee: inst50000030}
// CHECK:STDOUT: function50000003: {name: name3, parent_scope: name_scope50000001, call_param_patterns_id: inst_block50000010, call_params_id: inst_block50000011, cpp_thunk_decl: inst50000048}
// CHECK:STDOUT: function50000004: {name: name6, parent_scope: name_scope50000001, call_param_patterns_id: inst_block50000016, call_params_id: inst_block50000017, cpp_thunk_callee: inst5000003E}
// CHECK:STDOUT: classes:
// CHECK:STDOUT: class50000000: {name: name2, parent_scope: name_scope50000001, self_type_id: type(inst50000014), inheritance_kind: Base, is_dynamic: 0, scope_id: name_scope50000002, body_block_id: inst_block5000000D, adapt_id: inst<none>, base_id: inst<none>, complete_type_witness_id: inst50000027, vtable_decl_id: inst<none>}}
// CHECK:STDOUT: class50000000: {name: name2, parent_scope: name_scope50000001, self_type_id: type(inst50000015), inheritance_kind: Base, is_dynamic: 0, scope_id: name_scope50000002, body_block_id: inst_block5000000D, adapt_id: inst<none>, base_id: inst<none>, complete_type_witness_id: inst50000028, vtable_decl_id: inst<none>}}
// CHECK:STDOUT: interfaces: {}
// CHECK:STDOUT: associated_constants: {}
// CHECK:STDOUT: impls: {}
@@ -91,9 +91,9 @@ fn G(x: Cpp.X) {
// CHECK:STDOUT: struct_type_fields:
// CHECK:STDOUT: struct_type_fields_empty: {}
// CHECK:STDOUT: struct_type_fields50000001:
// CHECK:STDOUT: 0: {name_id: name5, type_inst_id: inst50000022}
// CHECK:STDOUT: 0: {name_id: name5, type_inst_id: inst50000023}
// CHECK:STDOUT: struct_type_fields50000002:
// CHECK:STDOUT: 0: {name_id: name5, type_inst_id: inst50000022}
// CHECK:STDOUT: 0: {name_id: name5, type_inst_id: inst50000023}
// CHECK:STDOUT: types:
// CHECK:STDOUT: 'type(TypeType)':
// CHECK:STDOUT: value_repr: {kind: copy, type: type(TypeType)}
@@ -120,18 +120,18 @@ fn G(x: Cpp.X) {
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst5000001F)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000020)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst50000020)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000020)}
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000021)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst50000022)':
// CHECK:STDOUT: value_repr: {kind: copy, type: type(inst50000022)}
// CHECK:STDOUT: 'type(inst50000021)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000021)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst50000023)':
// CHECK:STDOUT: value_repr: {kind: copy, type: type(inst50000023)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 8
// CHECK:STDOUT: alignment: 8
@@ -140,43 +140,43 @@ fn G(x: Cpp.X) {
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst50000029)':
// CHECK:STDOUT: value_repr: {kind: copy, type: type(inst50000029)}
// CHECK:STDOUT: 'type(inst5000002A)':
// CHECK:STDOUT: value_repr: {kind: copy, type: type(inst5000002A)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 8
// CHECK:STDOUT: alignment: 8
// CHECK:STDOUT: 'type(inst50000026)':
// CHECK:STDOUT: value_repr: {kind: pointer, type: type(inst50000029)}
// CHECK:STDOUT: 'type(inst50000027)':
// CHECK:STDOUT: value_repr: {kind: pointer, type: type(inst5000002A)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 8
// CHECK:STDOUT: alignment: 8
// CHECK:STDOUT: 'type(inst50000014)':
// CHECK:STDOUT: value_repr: {kind: pointer, type: type(inst50000029)}
// CHECK:STDOUT: 'type(inst50000015)':
// CHECK:STDOUT: value_repr: {kind: pointer, type: type(inst5000002A)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 8
// CHECK:STDOUT: alignment: 8
// CHECK:STDOUT: 'type(inst5000002B)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000020)}
// CHECK:STDOUT: 'type(inst5000002C)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000021)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst50000030)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000020)}
// CHECK:STDOUT: 'type(inst50000031)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000021)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst50000033)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000020)}
// CHECK:STDOUT: 'type(inst50000034)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000021)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst5000003E)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000020)}
// CHECK:STDOUT: 'type(inst5000003F)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000021)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst50000048)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000020)}
// CHECK:STDOUT: 'type(inst50000049)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000021)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
@@ -195,86 +195,87 @@ fn G(x: Cpp.X) {
// CHECK:STDOUT: 'inst(NamespaceType)': {kind: NamespaceType, type: type(TypeType)}
// CHECK:STDOUT: 'inst(RequireSpecificDefinitionType)': {kind: RequireSpecificDefinitionType, type: type(TypeType)}
// CHECK:STDOUT: 'inst(SpecificFunctionType)': {kind: SpecificFunctionType, type: type(TypeType)}
// CHECK:STDOUT: 'inst(UnspecifiedValueType)': {kind: UnspecifiedValueType, type: type(TypeType)}
// CHECK:STDOUT: 'inst(VtableType)': {kind: VtableType, type: type(TypeType)}
// CHECK:STDOUT: 'inst(WitnessType)': {kind: WitnessType, type: type(TypeType)}
// CHECK:STDOUT: instF: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000010: {kind: ImportCppDecl}
// CHECK:STDOUT: inst50000011: {kind: Namespace, arg0: name_scope50000001, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000012: {kind: NameRef, arg0: name(Cpp), arg1: inst50000011, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000013: {kind: ClassDecl, arg0: class50000000, arg1: inst_block<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000014: {kind: ClassType, arg0: class50000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000015: {kind: NameRef, arg0: name2, arg1: inst50000013, type: type(TypeType)}
// CHECK:STDOUT: inst50000016: {kind: PatternType, arg0: inst50000014, type: type(TypeType)}
// CHECK:STDOUT: inst50000017: {kind: ValueParamPattern, arg0: name1, type: type(inst50000016)}
// CHECK:STDOUT: inst50000018: {kind: ValueParamPattern, arg0: name1, type: type(inst50000016)}
// CHECK:STDOUT: inst50000019: {kind: WrapperBindingPattern, arg0: entity_name50000000, arg1: inst50000017, type: type(inst50000016)}
// CHECK:STDOUT: inst5000001A: {kind: WrapperBindingPattern, arg0: entity_name50000000, arg1: inst50000018, type: type(inst50000016)}
// CHECK:STDOUT: inst5000001B: {kind: WrapperBinding, arg0: entity_name50000000, arg1: inst5000001C, type: type(inst50000014)}
// CHECK:STDOUT: inst5000001C: {kind: ValueParam, arg0: call_param0, arg1: name1, type: type(inst50000014)}
// CHECK:STDOUT: inst5000001D: {kind: SpliceBlock, arg0: inst_block50000005, arg1: inst50000015, type: type(TypeType)}
// CHECK:STDOUT: inst5000001E: {kind: FunctionDecl, arg0: function50000000, arg1: inst_block5000000A, type: type(inst5000001F)}
// CHECK:STDOUT: inst5000001F: {kind: FunctionType, arg0: function50000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000020: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
// CHECK:STDOUT: inst50000021: {kind: StructValue, arg0: inst_block_empty, type: type(inst5000001F)}
// CHECK:STDOUT: inst50000022: {kind: PointerType, arg0: inst50000014, type: type(TypeType)}
// CHECK:STDOUT: inst50000023: {kind: UnboundElementType, arg0: inst50000014, arg1: inst50000022, type: type(TypeType)}
// CHECK:STDOUT: inst50000024: {kind: FieldDecl, arg0: field50000000, arg1: region50000001, type: type(inst50000023)}
// CHECK:STDOUT: inst50000025: {kind: CustomLayoutType, arg0: struct_type_fields50000001, arg1: custom_layout50000001, type: type(TypeType)}
// CHECK:STDOUT: inst50000026: {kind: CustomLayoutType, arg0: struct_type_fields50000002, arg1: custom_layout50000001, type: type(TypeType)}
// CHECK:STDOUT: inst50000027: {kind: CompleteTypeWitness, arg0: inst50000025, type: type(inst(WitnessType))}
// CHECK:STDOUT: inst10: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000011: {kind: ImportCppDecl}
// CHECK:STDOUT: inst50000012: {kind: Namespace, arg0: name_scope50000001, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000013: {kind: NameRef, arg0: name(Cpp), arg1: inst50000012, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000014: {kind: ClassDecl, arg0: class50000000, arg1: inst_block<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000015: {kind: ClassType, arg0: class50000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000016: {kind: NameRef, arg0: name2, arg1: inst50000014, type: type(TypeType)}
// CHECK:STDOUT: inst50000017: {kind: PatternType, arg0: inst50000015, type: type(TypeType)}
// CHECK:STDOUT: inst50000018: {kind: ValueParamPattern, arg0: name1, type: type(inst50000017)}
// CHECK:STDOUT: inst50000019: {kind: ValueParamPattern, arg0: name1, type: type(inst50000017)}
// CHECK:STDOUT: inst5000001A: {kind: WrapperBindingPattern, arg0: entity_name50000000, arg1: inst50000018, type: type(inst50000017)}
// CHECK:STDOUT: inst5000001B: {kind: WrapperBindingPattern, arg0: entity_name50000000, arg1: inst50000019, type: type(inst50000017)}
// CHECK:STDOUT: inst5000001C: {kind: WrapperBinding, arg0: entity_name50000000, arg1: inst5000001D, type: type(inst50000015)}
// CHECK:STDOUT: inst5000001D: {kind: ValueParam, arg0: call_param0, arg1: name1, type: type(inst50000015)}
// CHECK:STDOUT: inst5000001E: {kind: SpliceBlock, arg0: inst_block50000005, arg1: inst50000016, type: type(TypeType)}
// CHECK:STDOUT: inst5000001F: {kind: FunctionDecl, arg0: function50000000, arg1: inst_block5000000A, type: type(inst50000020)}
// CHECK:STDOUT: inst50000020: {kind: FunctionType, arg0: function50000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000021: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
// CHECK:STDOUT: inst50000022: {kind: StructValue, arg0: inst_block_empty, type: type(inst50000020)}
// CHECK:STDOUT: inst50000023: {kind: PointerType, arg0: inst50000015, type: type(TypeType)}
// CHECK:STDOUT: inst50000024: {kind: UnboundElementType, arg0: inst50000015, arg1: inst50000023, type: type(TypeType)}
// CHECK:STDOUT: inst50000025: {kind: FieldDecl, arg0: field50000000, arg1: region50000001, type: type(inst50000024)}
// CHECK:STDOUT: inst50000026: {kind: CustomLayoutType, arg0: struct_type_fields50000001, arg1: custom_layout50000001, type: type(TypeType)}
// CHECK:STDOUT: inst50000027: {kind: CustomLayoutType, arg0: struct_type_fields50000002, arg1: custom_layout50000001, type: type(TypeType)}
// CHECK:STDOUT: inst50000028: {kind: CompleteTypeWitness, arg0: inst50000026, type: type(inst(WitnessType))}
// CHECK:STDOUT: inst50000029: {kind: PointerType, arg0: inst50000026, type: type(TypeType)}
// CHECK:STDOUT: inst5000002A: {kind: NameRef, arg0: name(Cpp), arg1: inst50000011, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst5000002B: {kind: CppOverloadSetType, arg0: cpp_overload_set50000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst5000002C: {kind: CppOverloadSetValue, arg0: cpp_overload_set50000000, type: type(inst5000002B)}
// CHECK:STDOUT: inst5000002D: {kind: CppOverloadSetValue, arg0: cpp_overload_set50000000, type: type(inst5000002B)}
// CHECK:STDOUT: inst5000002E: {kind: NameRef, arg0: name3, arg1: inst5000002C, type: type(inst5000002B)}
// CHECK:STDOUT: inst5000002F: {kind: FunctionDecl, arg0: function50000001, arg1: inst_block_empty, type: type(inst50000030)}
// CHECK:STDOUT: inst50000030: {kind: FunctionType, arg0: function50000001, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000031: {kind: StructValue, arg0: inst_block_empty, type: type(inst50000030)}
// CHECK:STDOUT: inst50000032: {kind: FunctionDecl, arg0: function50000002, arg1: inst_block_empty, type: type(inst50000033)}
// CHECK:STDOUT: inst50000033: {kind: FunctionType, arg0: function50000002, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000034: {kind: StructValue, arg0: inst_block_empty, type: type(inst50000033)}
// CHECK:STDOUT: inst50000035: {kind: Call, arg0: inst50000032, arg1: inst_block_empty, type: type(inst50000020)}
// CHECK:STDOUT: inst50000036: {kind: NameRef, arg0: name(Cpp), arg1: inst50000011, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000037: {kind: NameRef, arg0: name3, arg1: inst5000002C, type: type(inst5000002B)}
// CHECK:STDOUT: inst50000038: {kind: NameRef, arg0: name1, arg1: inst5000001B, type: type(inst50000014)}
// CHECK:STDOUT: inst50000039: {kind: ValueParamPattern, arg0: name1, type: type(inst50000016)}
// CHECK:STDOUT: inst5000003A: {kind: WrapperBindingPattern, arg0: entity_name50000001, arg1: inst50000039, type: type(inst50000016)}
// CHECK:STDOUT: inst5000003B: {kind: WrapperBinding, arg0: entity_name50000001, arg1: inst5000003C, type: type(inst50000014)}
// CHECK:STDOUT: inst5000003C: {kind: ValueParam, arg0: call_param0, arg1: name1, type: type(inst50000014)}
// CHECK:STDOUT: inst5000003D: {kind: FunctionDecl, arg0: function50000003, arg1: inst_block50000013, type: type(inst5000003E)}
// CHECK:STDOUT: inst5000003E: {kind: FunctionType, arg0: function50000003, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst5000003F: {kind: StructValue, arg0: inst_block_empty, type: type(inst5000003E)}
// CHECK:STDOUT: inst50000040: {kind: PatternType, arg0: inst50000022, type: type(TypeType)}
// CHECK:STDOUT: inst50000041: {kind: ValueParamPattern, arg0: name1, type: type(inst50000040)}
// CHECK:STDOUT: inst50000042: {kind: ValueParamPattern, arg0: name1, type: type(inst50000040)}
// CHECK:STDOUT: inst50000043: {kind: WrapperBindingPattern, arg0: entity_name50000002, arg1: inst50000041, type: type(inst50000040)}
// CHECK:STDOUT: inst50000044: {kind: WrapperBindingPattern, arg0: entity_name50000000, arg1: inst50000042, type: type(inst50000040)}
// CHECK:STDOUT: inst50000045: {kind: WrapperBinding, arg0: entity_name50000002, arg1: inst50000046, type: type(inst50000022)}
// CHECK:STDOUT: inst50000046: {kind: ValueParam, arg0: call_param0, arg1: name1, type: type(inst50000022)}
// CHECK:STDOUT: inst50000047: {kind: FunctionDecl, arg0: function50000004, arg1: inst_block50000019, type: type(inst50000048)}
// CHECK:STDOUT: inst50000048: {kind: FunctionType, arg0: function50000004, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000049: {kind: StructValue, arg0: inst_block_empty, type: type(inst50000048)}
// CHECK:STDOUT: inst5000004A: {kind: ValueAsRef, arg0: inst50000038, type: type(inst50000014)}
// CHECK:STDOUT: inst5000004B: {kind: AddrOf, arg0: inst5000004A, type: type(inst50000022)}
// CHECK:STDOUT: inst5000004C: {kind: Call, arg0: inst50000047, arg1: inst_block5000001B, type: type(inst50000020)}
// CHECK:STDOUT: inst5000004D: {kind: NameRef, arg0: name(Cpp), arg1: inst50000011, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst5000004E: {kind: NameRef, arg0: name3, arg1: inst5000002C, type: type(inst5000002B)}
// CHECK:STDOUT: inst5000004F: {kind: NameRef, arg0: name(Cpp), arg1: inst50000011, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000050: {kind: RefBindingPattern, arg0: entity_name50000003, type: type(inst50000040)}
// CHECK:STDOUT: inst50000051: {kind: RefBindingPattern, arg0: entity_name50000003, type: type(inst50000040)}
// CHECK:STDOUT: inst50000052: {kind: VarPattern, arg0: inst50000050, type: type(inst50000040)}
// CHECK:STDOUT: inst50000053: {kind: VarPattern, arg0: inst50000051, type: type(inst50000040)}
// CHECK:STDOUT: inst50000054: {kind: VarStorage, arg0: inst50000052, type: type(inst50000022)}
// CHECK:STDOUT: inst50000055: {kind: NameRef, arg0: name4, arg1: inst50000054, type: type(inst50000022)}
// CHECK:STDOUT: inst50000056: {kind: AcquireValue, arg0: inst50000055, type: type(inst50000022)}
// CHECK:STDOUT: inst50000057: {kind: Deref, arg0: inst50000056, type: type(inst50000014)}
// CHECK:STDOUT: inst50000058: {kind: AcquireValue, arg0: inst50000057, type: type(inst50000014)}
// CHECK:STDOUT: inst50000059: {kind: ValueAsRef, arg0: inst50000058, type: type(inst50000014)}
// CHECK:STDOUT: inst5000005A: {kind: AddrOf, arg0: inst50000059, type: type(inst50000022)}
// CHECK:STDOUT: inst5000005B: {kind: Call, arg0: inst50000047, arg1: inst_block5000001D, type: type(inst50000020)}
// CHECK:STDOUT: inst5000005C: {kind: Return}
// CHECK:STDOUT: inst50000029: {kind: CompleteTypeWitness, arg0: inst50000027, type: type(inst(WitnessType))}
// CHECK:STDOUT: inst5000002A: {kind: PointerType, arg0: inst50000027, type: type(TypeType)}
// CHECK:STDOUT: inst5000002B: {kind: NameRef, arg0: name(Cpp), arg1: inst50000012, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst5000002C: {kind: CppOverloadSetType, arg0: cpp_overload_set50000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst5000002D: {kind: CppOverloadSetValue, arg0: cpp_overload_set50000000, type: type(inst5000002C)}
// CHECK:STDOUT: inst5000002E: {kind: CppOverloadSetValue, arg0: cpp_overload_set50000000, type: type(inst5000002C)}
// CHECK:STDOUT: inst5000002F: {kind: NameRef, arg0: name3, arg1: inst5000002D, type: type(inst5000002C)}
// CHECK:STDOUT: inst50000030: {kind: FunctionDecl, arg0: function50000001, arg1: inst_block_empty, type: type(inst50000031)}
// CHECK:STDOUT: inst50000031: {kind: FunctionType, arg0: function50000001, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000032: {kind: StructValue, arg0: inst_block_empty, type: type(inst50000031)}
// CHECK:STDOUT: inst50000033: {kind: FunctionDecl, arg0: function50000002, arg1: inst_block_empty, type: type(inst50000034)}
// CHECK:STDOUT: inst50000034: {kind: FunctionType, arg0: function50000002, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000035: {kind: StructValue, arg0: inst_block_empty, type: type(inst50000034)}
// CHECK:STDOUT: inst50000036: {kind: Call, arg0: inst50000033, arg1: inst_block_empty, type: type(inst50000021)}
// CHECK:STDOUT: inst50000037: {kind: NameRef, arg0: name(Cpp), arg1: inst50000012, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000038: {kind: NameRef, arg0: name3, arg1: inst5000002D, type: type(inst5000002C)}
// CHECK:STDOUT: inst50000039: {kind: NameRef, arg0: name1, arg1: inst5000001C, type: type(inst50000015)}
// CHECK:STDOUT: inst5000003A: {kind: ValueParamPattern, arg0: name1, type: type(inst50000017)}
// CHECK:STDOUT: inst5000003B: {kind: WrapperBindingPattern, arg0: entity_name50000001, arg1: inst5000003A, type: type(inst50000017)}
// CHECK:STDOUT: inst5000003C: {kind: WrapperBinding, arg0: entity_name50000001, arg1: inst5000003D, type: type(inst50000015)}
// CHECK:STDOUT: inst5000003D: {kind: ValueParam, arg0: call_param0, arg1: name1, type: type(inst50000015)}
// CHECK:STDOUT: inst5000003E: {kind: FunctionDecl, arg0: function50000003, arg1: inst_block50000013, type: type(inst5000003F)}
// CHECK:STDOUT: inst5000003F: {kind: FunctionType, arg0: function50000003, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000040: {kind: StructValue, arg0: inst_block_empty, type: type(inst5000003F)}
// CHECK:STDOUT: inst50000041: {kind: PatternType, arg0: inst50000023, type: type(TypeType)}
// CHECK:STDOUT: inst50000042: {kind: ValueParamPattern, arg0: name1, type: type(inst50000041)}
// CHECK:STDOUT: inst50000043: {kind: ValueParamPattern, arg0: name1, type: type(inst50000041)}
// CHECK:STDOUT: inst50000044: {kind: WrapperBindingPattern, arg0: entity_name50000002, arg1: inst50000042, type: type(inst50000041)}
// CHECK:STDOUT: inst50000045: {kind: WrapperBindingPattern, arg0: entity_name50000000, arg1: inst50000043, type: type(inst50000041)}
// CHECK:STDOUT: inst50000046: {kind: WrapperBinding, arg0: entity_name50000002, arg1: inst50000047, type: type(inst50000023)}
// CHECK:STDOUT: inst50000047: {kind: ValueParam, arg0: call_param0, arg1: name1, type: type(inst50000023)}
// CHECK:STDOUT: inst50000048: {kind: FunctionDecl, arg0: function50000004, arg1: inst_block50000019, type: type(inst50000049)}
// CHECK:STDOUT: inst50000049: {kind: FunctionType, arg0: function50000004, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst5000004A: {kind: StructValue, arg0: inst_block_empty, type: type(inst50000049)}
// CHECK:STDOUT: inst5000004B: {kind: ValueAsRef, arg0: inst50000039, type: type(inst50000015)}
// CHECK:STDOUT: inst5000004C: {kind: AddrOf, arg0: inst5000004B, type: type(inst50000023)}
// CHECK:STDOUT: inst5000004D: {kind: Call, arg0: inst50000048, arg1: inst_block5000001B, type: type(inst50000021)}
// CHECK:STDOUT: inst5000004E: {kind: NameRef, arg0: name(Cpp), arg1: inst50000012, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst5000004F: {kind: NameRef, arg0: name3, arg1: inst5000002D, type: type(inst5000002C)}
// CHECK:STDOUT: inst50000050: {kind: NameRef, arg0: name(Cpp), arg1: inst50000012, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000051: {kind: RefBindingPattern, arg0: entity_name50000003, type: type(inst50000041)}
// CHECK:STDOUT: inst50000052: {kind: RefBindingPattern, arg0: entity_name50000003, type: type(inst50000041)}
// CHECK:STDOUT: inst50000053: {kind: VarPattern, arg0: inst50000051, type: type(inst50000041)}
// CHECK:STDOUT: inst50000054: {kind: VarPattern, arg0: inst50000052, type: type(inst50000041)}
// CHECK:STDOUT: inst50000055: {kind: VarStorage, arg0: inst50000053, type: type(inst50000023)}
// CHECK:STDOUT: inst50000056: {kind: NameRef, arg0: name4, arg1: inst50000055, type: type(inst50000023)}
// CHECK:STDOUT: inst50000057: {kind: AcquireValue, arg0: inst50000056, type: type(inst50000023)}
// CHECK:STDOUT: inst50000058: {kind: Deref, arg0: inst50000057, type: type(inst50000015)}
// CHECK:STDOUT: inst50000059: {kind: AcquireValue, arg0: inst50000058, type: type(inst50000015)}
// CHECK:STDOUT: inst5000005A: {kind: ValueAsRef, arg0: inst50000059, type: type(inst50000015)}
// CHECK:STDOUT: inst5000005B: {kind: AddrOf, arg0: inst5000005A, type: type(inst50000023)}
// CHECK:STDOUT: inst5000005C: {kind: Call, arg0: inst50000048, arg1: inst_block5000001D, type: type(inst50000021)}
// CHECK:STDOUT: inst5000005D: {kind: Return}
// CHECK:STDOUT: bundles: {}
// CHECK:STDOUT: constant_values:
// CHECK:STDOUT: values:
@@ -291,165 +292,166 @@ fn G(x: Cpp.X) {
// CHECK:STDOUT: 'inst(NamespaceType)': concrete_constant(inst(NamespaceType))
// CHECK:STDOUT: 'inst(RequireSpecificDefinitionType)': concrete_constant(inst(RequireSpecificDefinitionType))
// CHECK:STDOUT: 'inst(SpecificFunctionType)': concrete_constant(inst(SpecificFunctionType))
// CHECK:STDOUT: 'inst(UnspecifiedValueType)': concrete_constant(inst(UnspecifiedValueType))
// CHECK:STDOUT: 'inst(VtableType)': concrete_constant(inst(VtableType))
// CHECK:STDOUT: 'inst(WitnessType)': concrete_constant(inst(WitnessType))
// CHECK:STDOUT: instF: concrete_constant(instF)
// CHECK:STDOUT: inst50000011: concrete_constant(inst50000011)
// CHECK:STDOUT: inst50000012: concrete_constant(inst50000011)
// CHECK:STDOUT: inst50000013: concrete_constant(inst50000014)
// CHECK:STDOUT: inst50000014: concrete_constant(inst50000014)
// CHECK:STDOUT: inst50000015: concrete_constant(inst50000014)
// CHECK:STDOUT: inst50000016: concrete_constant(inst50000016)
// CHECK:STDOUT: inst50000017: concrete_constant(inst50000018)
// CHECK:STDOUT: inst50000018: concrete_constant(inst50000018)
// CHECK:STDOUT: inst50000019: concrete_constant(inst5000001A)
// CHECK:STDOUT: inst5000001A: concrete_constant(inst5000001A)
// CHECK:STDOUT: inst5000001D: concrete_constant(inst50000014)
// CHECK:STDOUT: inst5000001E: concrete_constant(inst50000021)
// CHECK:STDOUT: inst5000001F: concrete_constant(inst5000001F)
// CHECK:STDOUT: inst10: concrete_constant(inst10)
// CHECK:STDOUT: inst50000012: concrete_constant(inst50000012)
// CHECK:STDOUT: inst50000013: concrete_constant(inst50000012)
// CHECK:STDOUT: inst50000014: concrete_constant(inst50000015)
// CHECK:STDOUT: inst50000015: concrete_constant(inst50000015)
// CHECK:STDOUT: inst50000016: concrete_constant(inst50000015)
// CHECK:STDOUT: inst50000017: concrete_constant(inst50000017)
// CHECK:STDOUT: inst50000018: concrete_constant(inst50000019)
// CHECK:STDOUT: inst50000019: concrete_constant(inst50000019)
// CHECK:STDOUT: inst5000001A: concrete_constant(inst5000001B)
// CHECK:STDOUT: inst5000001B: concrete_constant(inst5000001B)
// CHECK:STDOUT: inst5000001E: concrete_constant(inst50000015)
// CHECK:STDOUT: inst5000001F: concrete_constant(inst50000022)
// CHECK:STDOUT: inst50000020: concrete_constant(inst50000020)
// CHECK:STDOUT: inst50000021: concrete_constant(inst50000021)
// CHECK:STDOUT: inst50000022: concrete_constant(inst50000022)
// CHECK:STDOUT: inst50000023: concrete_constant(inst50000023)
// CHECK:STDOUT: inst50000024: concrete_constant(inst50000024)
// CHECK:STDOUT: inst50000025: concrete_constant(inst50000026)
// CHECK:STDOUT: inst50000026: concrete_constant(inst50000026)
// CHECK:STDOUT: inst50000027: concrete_constant(inst50000028)
// CHECK:STDOUT: inst50000028: concrete_constant(inst50000028)
// CHECK:STDOUT: inst50000025: concrete_constant(inst50000025)
// CHECK:STDOUT: inst50000026: concrete_constant(inst50000027)
// CHECK:STDOUT: inst50000027: concrete_constant(inst50000027)
// CHECK:STDOUT: inst50000028: concrete_constant(inst50000029)
// CHECK:STDOUT: inst50000029: concrete_constant(inst50000029)
// CHECK:STDOUT: inst5000002A: concrete_constant(inst50000011)
// CHECK:STDOUT: inst5000002B: concrete_constant(inst5000002B)
// CHECK:STDOUT: inst5000002C: concrete_constant(inst5000002D)
// CHECK:STDOUT: inst5000002D: concrete_constant(inst5000002D)
// CHECK:STDOUT: inst5000002E: concrete_constant(inst5000002D)
// CHECK:STDOUT: inst5000002F: concrete_constant(inst50000031)
// CHECK:STDOUT: inst50000030: concrete_constant(inst50000030)
// CHECK:STDOUT: inst5000002A: concrete_constant(inst5000002A)
// CHECK:STDOUT: inst5000002B: concrete_constant(inst50000012)
// CHECK:STDOUT: inst5000002C: concrete_constant(inst5000002C)
// CHECK:STDOUT: inst5000002D: concrete_constant(inst5000002E)
// CHECK:STDOUT: inst5000002E: concrete_constant(inst5000002E)
// CHECK:STDOUT: inst5000002F: concrete_constant(inst5000002E)
// CHECK:STDOUT: inst50000030: concrete_constant(inst50000032)
// CHECK:STDOUT: inst50000031: concrete_constant(inst50000031)
// CHECK:STDOUT: inst50000032: concrete_constant(inst50000034)
// CHECK:STDOUT: inst50000033: concrete_constant(inst50000033)
// CHECK:STDOUT: inst50000032: concrete_constant(inst50000032)
// CHECK:STDOUT: inst50000033: concrete_constant(inst50000035)
// CHECK:STDOUT: inst50000034: concrete_constant(inst50000034)
// CHECK:STDOUT: inst50000036: concrete_constant(inst50000011)
// CHECK:STDOUT: inst50000037: concrete_constant(inst5000002D)
// CHECK:STDOUT: inst50000039: concrete_constant(inst50000018)
// CHECK:STDOUT: inst5000003A: concrete_constant(inst5000001A)
// CHECK:STDOUT: inst5000003D: concrete_constant(inst5000003F)
// CHECK:STDOUT: inst5000003E: concrete_constant(inst5000003E)
// CHECK:STDOUT: inst50000035: concrete_constant(inst50000035)
// CHECK:STDOUT: inst50000037: concrete_constant(inst50000012)
// CHECK:STDOUT: inst50000038: concrete_constant(inst5000002E)
// CHECK:STDOUT: inst5000003A: concrete_constant(inst50000019)
// CHECK:STDOUT: inst5000003B: concrete_constant(inst5000001B)
// CHECK:STDOUT: inst5000003E: concrete_constant(inst50000040)
// CHECK:STDOUT: inst5000003F: concrete_constant(inst5000003F)
// CHECK:STDOUT: inst50000040: concrete_constant(inst50000040)
// CHECK:STDOUT: inst50000041: concrete_constant(inst50000042)
// CHECK:STDOUT: inst50000042: concrete_constant(inst50000042)
// CHECK:STDOUT: inst50000043: concrete_constant(inst50000044)
// CHECK:STDOUT: inst50000044: concrete_constant(inst50000044)
// CHECK:STDOUT: inst50000047: concrete_constant(inst50000049)
// CHECK:STDOUT: inst50000048: concrete_constant(inst50000048)
// CHECK:STDOUT: inst50000041: concrete_constant(inst50000041)
// CHECK:STDOUT: inst50000042: concrete_constant(inst50000043)
// CHECK:STDOUT: inst50000043: concrete_constant(inst50000043)
// CHECK:STDOUT: inst50000044: concrete_constant(inst50000045)
// CHECK:STDOUT: inst50000045: concrete_constant(inst50000045)
// CHECK:STDOUT: inst50000048: concrete_constant(inst5000004A)
// CHECK:STDOUT: inst50000049: concrete_constant(inst50000049)
// CHECK:STDOUT: inst5000004D: concrete_constant(inst50000011)
// CHECK:STDOUT: inst5000004E: concrete_constant(inst5000002D)
// CHECK:STDOUT: inst5000004F: concrete_constant(inst50000011)
// CHECK:STDOUT: inst50000050: concrete_constant(inst50000051)
// CHECK:STDOUT: inst50000051: concrete_constant(inst50000051)
// CHECK:STDOUT: inst50000052: concrete_constant(inst50000053)
// CHECK:STDOUT: inst50000053: concrete_constant(inst50000053)
// CHECK:STDOUT: inst5000004A: concrete_constant(inst5000004A)
// CHECK:STDOUT: inst5000004E: concrete_constant(inst50000012)
// CHECK:STDOUT: inst5000004F: concrete_constant(inst5000002E)
// CHECK:STDOUT: inst50000050: concrete_constant(inst50000012)
// CHECK:STDOUT: inst50000051: concrete_constant(inst50000052)
// CHECK:STDOUT: inst50000052: concrete_constant(inst50000052)
// CHECK:STDOUT: inst50000053: concrete_constant(inst50000054)
// CHECK:STDOUT: inst50000054: concrete_constant(inst50000054)
// CHECK:STDOUT: inst50000055: concrete_constant(inst50000054)
// CHECK:STDOUT: inst50000055: concrete_constant(inst50000055)
// CHECK:STDOUT: inst50000056: concrete_constant(inst50000055)
// CHECK:STDOUT: symbolic_constants: {}
// CHECK:STDOUT: inst_blocks:
// CHECK:STDOUT: inst_block_empty: {}
// CHECK:STDOUT: exports:
// CHECK:STDOUT: 0: inst5000001E
// CHECK:STDOUT: 0: inst5000001F
// CHECK:STDOUT: generated: {}
// CHECK:STDOUT: imports:
// CHECK:STDOUT: 0: inst50000011
// CHECK:STDOUT: 1: inst50000013
// CHECK:STDOUT: 2: inst5000002C
// CHECK:STDOUT: 3: inst5000002F
// CHECK:STDOUT: 4: inst50000032
// CHECK:STDOUT: 5: inst5000003D
// CHECK:STDOUT: 6: inst50000047
// CHECK:STDOUT: 7: inst50000050
// CHECK:STDOUT: 8: inst50000052
// CHECK:STDOUT: 9: inst50000054
// CHECK:STDOUT: 0: inst50000012
// CHECK:STDOUT: 1: inst50000014
// CHECK:STDOUT: 2: inst5000002D
// CHECK:STDOUT: 3: inst50000030
// CHECK:STDOUT: 4: inst50000033
// CHECK:STDOUT: 5: inst5000003E
// CHECK:STDOUT: 6: inst50000048
// CHECK:STDOUT: 7: inst50000051
// CHECK:STDOUT: 8: inst50000053
// CHECK:STDOUT: 9: inst50000055
// CHECK:STDOUT: global_init: {}
// CHECK:STDOUT: inst_block50000005:
// CHECK:STDOUT: 0: inst50000012
// CHECK:STDOUT: 1: inst50000015
// CHECK:STDOUT: 0: inst50000013
// CHECK:STDOUT: 1: inst50000016
// CHECK:STDOUT: inst_block50000006:
// CHECK:STDOUT: 0: inst50000019
// CHECK:STDOUT: 0: inst5000001A
// CHECK:STDOUT: inst_block50000007:
// CHECK:STDOUT: 0: inst50000017
// CHECK:STDOUT: 0: inst50000018
// CHECK:STDOUT: inst_block50000008:
// CHECK:STDOUT: 0: inst5000001C
// CHECK:STDOUT: 0: inst5000001D
// CHECK:STDOUT: inst_block50000009:
// CHECK:STDOUT: 0: inst50000017
// CHECK:STDOUT: 1: inst50000019
// CHECK:STDOUT: 0: inst50000018
// CHECK:STDOUT: 1: inst5000001A
// CHECK:STDOUT: inst_block5000000A:
// CHECK:STDOUT: 0: inst5000001C
// CHECK:STDOUT: 1: inst5000001D
// CHECK:STDOUT: 2: inst5000001B
// CHECK:STDOUT: 0: inst5000001D
// CHECK:STDOUT: 1: inst5000001E
// CHECK:STDOUT: 2: inst5000001C
// CHECK:STDOUT: inst_block5000000B:
// CHECK:STDOUT: 0: inst5000002A
// CHECK:STDOUT: 1: inst5000002E
// CHECK:STDOUT: 2: inst50000035
// CHECK:STDOUT: 3: inst50000036
// CHECK:STDOUT: 4: inst50000037
// CHECK:STDOUT: 5: inst50000038
// CHECK:STDOUT: 6: inst5000004A
// CHECK:STDOUT: 7: inst5000004B
// CHECK:STDOUT: 8: inst5000004C
// CHECK:STDOUT: 9: inst5000004D
// CHECK:STDOUT: 10: inst5000004E
// CHECK:STDOUT: 11: inst5000004F
// CHECK:STDOUT: 12: inst50000055
// CHECK:STDOUT: 13: inst50000056
// CHECK:STDOUT: 14: inst50000057
// CHECK:STDOUT: 15: inst50000058
// CHECK:STDOUT: 16: inst50000059
// CHECK:STDOUT: 17: inst5000005A
// CHECK:STDOUT: 18: inst5000005B
// CHECK:STDOUT: 19: inst5000005C
// CHECK:STDOUT: 0: inst5000002B
// CHECK:STDOUT: 1: inst5000002F
// CHECK:STDOUT: 2: inst50000036
// CHECK:STDOUT: 3: inst50000037
// CHECK:STDOUT: 4: inst50000038
// CHECK:STDOUT: 5: inst50000039
// CHECK:STDOUT: 6: inst5000004B
// CHECK:STDOUT: 7: inst5000004C
// CHECK:STDOUT: 8: inst5000004D
// CHECK:STDOUT: 9: inst5000004E
// CHECK:STDOUT: 10: inst5000004F
// CHECK:STDOUT: 11: inst50000050
// CHECK:STDOUT: 12: inst50000056
// CHECK:STDOUT: 13: inst50000057
// CHECK:STDOUT: 14: inst50000058
// CHECK:STDOUT: 15: inst50000059
// CHECK:STDOUT: 16: inst5000005A
// CHECK:STDOUT: 17: inst5000005B
// CHECK:STDOUT: 18: inst5000005C
// CHECK:STDOUT: 19: inst5000005D
// CHECK:STDOUT: inst_block5000000C: {}
// CHECK:STDOUT: inst_block5000000D:
// CHECK:STDOUT: 0: inst50000024
// CHECK:STDOUT: 1: inst50000025
// CHECK:STDOUT: 2: inst50000027
// CHECK:STDOUT: 0: inst50000025
// CHECK:STDOUT: 1: inst50000026
// CHECK:STDOUT: 2: inst50000028
// CHECK:STDOUT: inst_block5000000E: {}
// CHECK:STDOUT: inst_block5000000F:
// CHECK:STDOUT: 0: inst5000003A
// CHECK:STDOUT: 0: inst5000003B
// CHECK:STDOUT: inst_block50000010:
// CHECK:STDOUT: 0: inst50000039
// CHECK:STDOUT: 0: inst5000003A
// CHECK:STDOUT: inst_block50000011:
// CHECK:STDOUT: 0: inst5000003C
// CHECK:STDOUT: 0: inst5000003D
// CHECK:STDOUT: inst_block50000012:
// CHECK:STDOUT: 0: inst50000039
// CHECK:STDOUT: 1: inst5000003A
// CHECK:STDOUT: inst_block50000013:
// CHECK:STDOUT: 0: inst5000003C
// CHECK:STDOUT: 0: inst5000003A
// CHECK:STDOUT: 1: inst5000003B
// CHECK:STDOUT: inst_block50000013:
// CHECK:STDOUT: 0: inst5000003D
// CHECK:STDOUT: 1: inst5000003C
// CHECK:STDOUT: inst_block50000014: {}
// CHECK:STDOUT: inst_block50000015:
// CHECK:STDOUT: 0: inst50000043
// CHECK:STDOUT: 0: inst50000044
// CHECK:STDOUT: inst_block50000016:
// CHECK:STDOUT: 0: inst50000041
// CHECK:STDOUT: 0: inst50000042
// CHECK:STDOUT: inst_block50000017:
// CHECK:STDOUT: 0: inst50000046
// CHECK:STDOUT: 0: inst50000047
// CHECK:STDOUT: inst_block50000018:
// CHECK:STDOUT: 0: inst50000041
// CHECK:STDOUT: 1: inst50000043
// CHECK:STDOUT: 0: inst50000042
// CHECK:STDOUT: 1: inst50000044
// CHECK:STDOUT: inst_block50000019:
// CHECK:STDOUT: 0: inst50000046
// CHECK:STDOUT: 1: inst50000045
// CHECK:STDOUT: 0: inst50000047
// CHECK:STDOUT: 1: inst50000046
// CHECK:STDOUT: inst_block5000001A:
// CHECK:STDOUT: 0: inst50000038
// CHECK:STDOUT: 0: inst50000039
// CHECK:STDOUT: inst_block5000001B:
// CHECK:STDOUT: 0: inst5000004B
// CHECK:STDOUT: 0: inst5000004C
// CHECK:STDOUT: inst_block5000001C:
// CHECK:STDOUT: 0: inst50000058
// CHECK:STDOUT: 0: inst50000059
// CHECK:STDOUT: inst_block5000001D:
// CHECK:STDOUT: 0: inst5000005A
// CHECK:STDOUT: 0: inst5000005B
// CHECK:STDOUT: inst_block5000001E:
// CHECK:STDOUT: 0: instF
// CHECK:STDOUT: 1: inst50000010
// CHECK:STDOUT: 2: inst5000001E
// CHECK:STDOUT: 0: inst10
// CHECK:STDOUT: 1: inst50000011
// CHECK:STDOUT: 2: inst5000001F
// CHECK:STDOUT: value_stores:
// CHECK:STDOUT: shared_values:
// CHECK:STDOUT: ints: {}
+62 -62
View File
@@ -39,7 +39,7 @@ fn B() {
// CHECK:STDOUT: clang_decls: {}
// CHECK:STDOUT: clang_decl_signatures: {}
// CHECK:STDOUT: name_scopes:
// CHECK:STDOUT: name_scope0: {inst: instF, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {name0: inst50000010}}
// CHECK:STDOUT: name_scope0: {inst: inst10, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {name0: inst50000011}}
// CHECK:STDOUT: entity_names: {}
// CHECK:STDOUT: functions:
// CHECK:STDOUT: function50000000: {name: name0, parent_scope: name_scope0, call_param_patterns_id: inst_block_empty, call_params_id: inst_block_empty, body: [inst_block50000006]}
@@ -78,46 +78,46 @@ fn B() {
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst50000011)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000012)}
// CHECK:STDOUT: 'type(inst50000012)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000013)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst50000012)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000012)}
// CHECK:STDOUT: 'type(inst50000013)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000013)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: declared_facet_types: {}
// CHECK:STDOUT: insts:
// CHECK:STDOUT: instF: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000010: {kind: FunctionDecl, arg0: function50000000, arg1: inst_block_empty, type: type(inst50000011)}
// CHECK:STDOUT: inst50000011: {kind: FunctionType, arg0: function50000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000012: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
// CHECK:STDOUT: inst50000013: {kind: StructValue, arg0: inst_block_empty, type: type(inst50000011)}
// CHECK:STDOUT: inst50000014: {kind: Return}
// CHECK:STDOUT: inst10: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000011: {kind: FunctionDecl, arg0: function50000000, arg1: inst_block_empty, type: type(inst50000012)}
// CHECK:STDOUT: inst50000012: {kind: FunctionType, arg0: function50000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000013: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
// CHECK:STDOUT: inst50000014: {kind: StructValue, arg0: inst_block_empty, type: type(inst50000012)}
// CHECK:STDOUT: inst50000015: {kind: Return}
// CHECK:STDOUT: bundles: {}
// CHECK:STDOUT: constant_values:
// CHECK:STDOUT: values:
// CHECK:STDOUT: instF: concrete_constant(instF)
// CHECK:STDOUT: inst50000010: concrete_constant(inst50000013)
// CHECK:STDOUT: inst50000011: concrete_constant(inst50000011)
// CHECK:STDOUT: inst10: concrete_constant(inst10)
// CHECK:STDOUT: inst50000011: concrete_constant(inst50000014)
// CHECK:STDOUT: inst50000012: concrete_constant(inst50000012)
// CHECK:STDOUT: inst50000013: concrete_constant(inst50000013)
// CHECK:STDOUT: inst50000014: concrete_constant(inst50000014)
// CHECK:STDOUT: symbolic_constants: {}
// CHECK:STDOUT: inst_blocks:
// CHECK:STDOUT: inst_block_empty: {}
// CHECK:STDOUT: exports:
// CHECK:STDOUT: 0: inst50000010
// CHECK:STDOUT: 0: inst50000011
// CHECK:STDOUT: generated: {}
// CHECK:STDOUT: imports: {}
// CHECK:STDOUT: global_init: {}
// CHECK:STDOUT: inst_block50000005: {}
// CHECK:STDOUT: inst_block50000006:
// CHECK:STDOUT: 0: inst50000014
// CHECK:STDOUT: 0: inst50000015
// CHECK:STDOUT: inst_block50000007:
// CHECK:STDOUT: 0: instF
// CHECK:STDOUT: 1: inst50000010
// CHECK:STDOUT: 0: inst10
// CHECK:STDOUT: 1: inst50000011
// CHECK:STDOUT: value_stores:
// CHECK:STDOUT: shared_values:
// CHECK:STDOUT: ints: {}
@@ -136,15 +136,15 @@ fn B() {
// CHECK:STDOUT: import_irs:
// CHECK:STDOUT: 'import_ir(ApiForImpl)': {decl_id: inst<none>, is_export: false}
// CHECK:STDOUT: 'import_ir(Cpp)': {decl_id: inst<none>, is_export: false}
// CHECK:STDOUT: import_ir70000002: {decl_id: inst70000010, is_export: false}
// CHECK:STDOUT: import_ir70000002: {decl_id: inst70000011, is_export: false}
// CHECK:STDOUT: import_ir_insts:
// CHECK:STDOUT: import_ir_inst0: {ir_id: import_ir70000002, inst_id: inst50000010}
// CHECK:STDOUT: import_ir_inst1: {ir_id: import_ir70000002, inst_id: inst50000010}
// CHECK:STDOUT: import_ir_inst0: {ir_id: import_ir70000002, inst_id: inst50000011}
// CHECK:STDOUT: import_ir_inst1: {ir_id: import_ir70000002, inst_id: inst50000011}
// CHECK:STDOUT: clang_decls: {}
// CHECK:STDOUT: clang_decl_signatures: {}
// CHECK:STDOUT: name_scopes:
// CHECK:STDOUT: name_scope0: {inst: instF, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {name1: inst70000011, name0: inst70000012}}
// CHECK:STDOUT: name_scope70000001: {inst: inst70000011, parent_scope: name_scope0, has_error: false, extended_scopes: [], names: {name1: inst70000017}}
// CHECK:STDOUT: name_scope0: {inst: inst10, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {name1: inst70000012, name0: inst70000013}}
// CHECK:STDOUT: name_scope70000001: {inst: inst70000012, parent_scope: name_scope0, has_error: false, extended_scopes: [], names: {name1: inst70000018}}
// CHECK:STDOUT: entity_names:
// CHECK:STDOUT: entity_name70000000: {name: name1, parent_scope: name_scope70000001, index: -1, is_template: 0, is_unused: 0, form: inst<none>}
// CHECK:STDOUT: functions:
@@ -185,69 +185,69 @@ fn B() {
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst70000013)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst70000014)}
// CHECK:STDOUT: 'type(inst70000014)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst70000015)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst70000014)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst70000014)}
// CHECK:STDOUT: 'type(inst70000015)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst70000015)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: declared_facet_types: {}
// CHECK:STDOUT: insts:
// CHECK:STDOUT: instF: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000010: {kind: ImportDecl, arg0: name1}
// CHECK:STDOUT: inst70000011: {kind: Namespace, arg0: name_scope70000001, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000012: {kind: FunctionDecl, arg0: function70000000, arg1: inst_block_empty, type: type(inst70000013)}
// CHECK:STDOUT: inst70000013: {kind: FunctionType, arg0: function70000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst70000014: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
// CHECK:STDOUT: inst70000015: {kind: StructValue, arg0: inst_block_empty, type: type(inst70000013)}
// CHECK:STDOUT: inst70000016: {kind: NameRef, arg0: name1, arg1: inst70000011, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000017: {kind: ImportRefLoaded, arg0: import_ir_inst0, arg1: entity_name70000000, type: type(inst70000019)}
// CHECK:STDOUT: inst70000018: {kind: FunctionDecl, arg0: function70000001, arg1: inst_block_empty, type: type(inst70000019)}
// CHECK:STDOUT: inst70000019: {kind: FunctionType, arg0: function70000001, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst7000001A: {kind: StructValue, arg0: inst_block_empty, type: type(inst70000019)}
// CHECK:STDOUT: inst7000001B: {kind: NameRef, arg0: name1, arg1: inst70000017, type: type(inst70000019)}
// CHECK:STDOUT: inst7000001C: {kind: Call, arg0: inst7000001B, arg1: inst_block_empty, type: type(inst70000014)}
// CHECK:STDOUT: inst7000001D: {kind: Return}
// CHECK:STDOUT: inst10: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000011: {kind: ImportDecl, arg0: name1}
// CHECK:STDOUT: inst70000012: {kind: Namespace, arg0: name_scope70000001, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000013: {kind: FunctionDecl, arg0: function70000000, arg1: inst_block_empty, type: type(inst70000014)}
// CHECK:STDOUT: inst70000014: {kind: FunctionType, arg0: function70000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst70000015: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
// CHECK:STDOUT: inst70000016: {kind: StructValue, arg0: inst_block_empty, type: type(inst70000014)}
// CHECK:STDOUT: inst70000017: {kind: NameRef, arg0: name1, arg1: inst70000012, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000018: {kind: ImportRefLoaded, arg0: import_ir_inst0, arg1: entity_name70000000, type: type(inst7000001A)}
// CHECK:STDOUT: inst70000019: {kind: FunctionDecl, arg0: function70000001, arg1: inst_block_empty, type: type(inst7000001A)}
// CHECK:STDOUT: inst7000001A: {kind: FunctionType, arg0: function70000001, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst7000001B: {kind: StructValue, arg0: inst_block_empty, type: type(inst7000001A)}
// CHECK:STDOUT: inst7000001C: {kind: NameRef, arg0: name1, arg1: inst70000018, type: type(inst7000001A)}
// CHECK:STDOUT: inst7000001D: {kind: Call, arg0: inst7000001C, arg1: inst_block_empty, type: type(inst70000015)}
// CHECK:STDOUT: inst7000001E: {kind: Return}
// CHECK:STDOUT: bundles: {}
// CHECK:STDOUT: constant_values:
// CHECK:STDOUT: values:
// CHECK:STDOUT: instF: concrete_constant(instF)
// CHECK:STDOUT: inst70000011: concrete_constant(inst70000011)
// CHECK:STDOUT: inst70000012: concrete_constant(inst70000015)
// CHECK:STDOUT: inst70000013: concrete_constant(inst70000013)
// CHECK:STDOUT: inst10: concrete_constant(inst10)
// CHECK:STDOUT: inst70000012: concrete_constant(inst70000012)
// CHECK:STDOUT: inst70000013: concrete_constant(inst70000016)
// CHECK:STDOUT: inst70000014: concrete_constant(inst70000014)
// CHECK:STDOUT: inst70000015: concrete_constant(inst70000015)
// CHECK:STDOUT: inst70000016: concrete_constant(inst70000011)
// CHECK:STDOUT: inst70000017: concrete_constant(inst7000001A)
// CHECK:STDOUT: inst70000018: concrete_constant(inst7000001A)
// CHECK:STDOUT: inst70000019: concrete_constant(inst70000019)
// CHECK:STDOUT: inst70000016: concrete_constant(inst70000016)
// CHECK:STDOUT: inst70000017: concrete_constant(inst70000012)
// CHECK:STDOUT: inst70000018: concrete_constant(inst7000001B)
// CHECK:STDOUT: inst70000019: concrete_constant(inst7000001B)
// CHECK:STDOUT: inst7000001A: concrete_constant(inst7000001A)
// CHECK:STDOUT: inst7000001B: concrete_constant(inst7000001A)
// CHECK:STDOUT: inst7000001B: concrete_constant(inst7000001B)
// CHECK:STDOUT: inst7000001C: concrete_constant(inst7000001B)
// CHECK:STDOUT: symbolic_constants: {}
// CHECK:STDOUT: inst_blocks:
// CHECK:STDOUT: inst_block_empty: {}
// CHECK:STDOUT: exports:
// CHECK:STDOUT: 0: inst70000012
// CHECK:STDOUT: 0: inst70000013
// CHECK:STDOUT: generated: {}
// CHECK:STDOUT: imports:
// CHECK:STDOUT: 0: inst70000011
// CHECK:STDOUT: 1: inst70000017
// CHECK:STDOUT: 2: inst70000018
// CHECK:STDOUT: 0: inst70000012
// CHECK:STDOUT: 1: inst70000018
// CHECK:STDOUT: 2: inst70000019
// CHECK:STDOUT: global_init: {}
// CHECK:STDOUT: inst_block70000005: {}
// CHECK:STDOUT: inst_block70000006:
// CHECK:STDOUT: 0: inst70000016
// CHECK:STDOUT: 1: inst7000001B
// CHECK:STDOUT: 2: inst7000001C
// CHECK:STDOUT: 3: inst7000001D
// CHECK:STDOUT: 0: inst70000017
// CHECK:STDOUT: 1: inst7000001C
// CHECK:STDOUT: 2: inst7000001D
// CHECK:STDOUT: 3: inst7000001E
// CHECK:STDOUT: inst_block70000007:
// CHECK:STDOUT: 0: instF
// CHECK:STDOUT: 1: inst70000010
// CHECK:STDOUT: 2: inst70000012
// CHECK:STDOUT: 0: inst10
// CHECK:STDOUT: 1: inst70000011
// CHECK:STDOUT: 2: inst70000013
// CHECK:STDOUT: value_stores:
// CHECK:STDOUT: shared_values:
// CHECK:STDOUT: ints: {}
@@ -39,7 +39,7 @@ fn B() {
// CHECK:STDOUT: clang_decls: {}
// CHECK:STDOUT: clang_decl_signatures: {}
// CHECK:STDOUT: name_scopes:
// CHECK:STDOUT: name_scope0: {inst: instF, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {name0: inst50000010}}
// CHECK:STDOUT: name_scope0: {inst: inst10, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {name0: inst50000011}}
// CHECK:STDOUT: entity_names: {}
// CHECK:STDOUT: functions:
// CHECK:STDOUT: function50000000: {name: name0, parent_scope: name_scope0, call_param_patterns_id: inst_block_empty, call_params_id: inst_block_empty, body: [inst_block50000006]}
@@ -78,46 +78,46 @@ fn B() {
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst50000011)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000012)}
// CHECK:STDOUT: 'type(inst50000012)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000013)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst50000012)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000012)}
// CHECK:STDOUT: 'type(inst50000013)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000013)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: declared_facet_types: {}
// CHECK:STDOUT: insts:
// CHECK:STDOUT: instF: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000010: {kind: FunctionDecl, arg0: function50000000, arg1: inst_block_empty, type: type(inst50000011)}
// CHECK:STDOUT: inst50000011: {kind: FunctionType, arg0: function50000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000012: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
// CHECK:STDOUT: inst50000013: {kind: StructValue, arg0: inst_block_empty, type: type(inst50000011)}
// CHECK:STDOUT: inst50000014: {kind: Return}
// CHECK:STDOUT: inst10: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000011: {kind: FunctionDecl, arg0: function50000000, arg1: inst_block_empty, type: type(inst50000012)}
// CHECK:STDOUT: inst50000012: {kind: FunctionType, arg0: function50000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000013: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
// CHECK:STDOUT: inst50000014: {kind: StructValue, arg0: inst_block_empty, type: type(inst50000012)}
// CHECK:STDOUT: inst50000015: {kind: Return}
// CHECK:STDOUT: bundles: {}
// CHECK:STDOUT: constant_values:
// CHECK:STDOUT: values:
// CHECK:STDOUT: instF: concrete_constant(instF)
// CHECK:STDOUT: inst50000010: concrete_constant(inst50000013)
// CHECK:STDOUT: inst50000011: concrete_constant(inst50000011)
// CHECK:STDOUT: inst10: concrete_constant(inst10)
// CHECK:STDOUT: inst50000011: concrete_constant(inst50000014)
// CHECK:STDOUT: inst50000012: concrete_constant(inst50000012)
// CHECK:STDOUT: inst50000013: concrete_constant(inst50000013)
// CHECK:STDOUT: inst50000014: concrete_constant(inst50000014)
// CHECK:STDOUT: symbolic_constants: {}
// CHECK:STDOUT: inst_blocks:
// CHECK:STDOUT: inst_block_empty: {}
// CHECK:STDOUT: exports:
// CHECK:STDOUT: 0: inst50000010
// CHECK:STDOUT: 0: inst50000011
// CHECK:STDOUT: generated: {}
// CHECK:STDOUT: imports: {}
// CHECK:STDOUT: global_init: {}
// CHECK:STDOUT: inst_block50000005: {}
// CHECK:STDOUT: inst_block50000006:
// CHECK:STDOUT: 0: inst50000014
// CHECK:STDOUT: 0: inst50000015
// CHECK:STDOUT: inst_block50000007:
// CHECK:STDOUT: 0: instF
// CHECK:STDOUT: 1: inst50000010
// CHECK:STDOUT: 0: inst10
// CHECK:STDOUT: 1: inst50000011
// CHECK:STDOUT: value_stores:
// CHECK:STDOUT: shared_values:
// CHECK:STDOUT: ints: {}
@@ -155,15 +155,15 @@ fn B() {
// CHECK:STDOUT: import_irs:
// CHECK:STDOUT: 'import_ir(ApiForImpl)': {decl_id: inst<none>, is_export: false}
// CHECK:STDOUT: 'import_ir(Cpp)': {decl_id: inst<none>, is_export: false}
// CHECK:STDOUT: import_ir70000002: {decl_id: inst70000010, is_export: false}
// CHECK:STDOUT: import_ir70000002: {decl_id: inst70000011, is_export: false}
// CHECK:STDOUT: import_ir_insts:
// CHECK:STDOUT: import_ir_inst0: {ir_id: import_ir70000002, inst_id: inst50000010}
// CHECK:STDOUT: import_ir_inst1: {ir_id: import_ir70000002, inst_id: inst50000010}
// CHECK:STDOUT: import_ir_inst0: {ir_id: import_ir70000002, inst_id: inst50000011}
// CHECK:STDOUT: import_ir_inst1: {ir_id: import_ir70000002, inst_id: inst50000011}
// CHECK:STDOUT: clang_decls: {}
// CHECK:STDOUT: clang_decl_signatures: {}
// CHECK:STDOUT: name_scopes:
// CHECK:STDOUT: name_scope0: {inst: instF, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {name1: inst70000011, name0: inst70000012}}
// CHECK:STDOUT: name_scope70000001: {inst: inst70000011, parent_scope: name_scope0, has_error: false, extended_scopes: [], names: {name1: inst70000017}}
// CHECK:STDOUT: name_scope0: {inst: inst10, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {name1: inst70000012, name0: inst70000013}}
// CHECK:STDOUT: name_scope70000001: {inst: inst70000012, parent_scope: name_scope0, has_error: false, extended_scopes: [], names: {name1: inst70000018}}
// CHECK:STDOUT: entity_names:
// CHECK:STDOUT: entity_name70000000: {name: name1, parent_scope: name_scope70000001, index: -1, is_template: 0, is_unused: 0, form: inst<none>}
// CHECK:STDOUT: functions:
@@ -204,69 +204,69 @@ fn B() {
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst70000013)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst70000014)}
// CHECK:STDOUT: 'type(inst70000014)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst70000015)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst70000014)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst70000014)}
// CHECK:STDOUT: 'type(inst70000015)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst70000015)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: declared_facet_types: {}
// CHECK:STDOUT: insts:
// CHECK:STDOUT: instF: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000010: {kind: ImportDecl, arg0: name1}
// CHECK:STDOUT: inst70000011: {kind: Namespace, arg0: name_scope70000001, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000012: {kind: FunctionDecl, arg0: function70000000, arg1: inst_block_empty, type: type(inst70000013)}
// CHECK:STDOUT: inst70000013: {kind: FunctionType, arg0: function70000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst70000014: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
// CHECK:STDOUT: inst70000015: {kind: StructValue, arg0: inst_block_empty, type: type(inst70000013)}
// CHECK:STDOUT: inst70000016: {kind: NameRef, arg0: name1, arg1: inst70000011, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000017: {kind: ImportRefLoaded, arg0: import_ir_inst0, arg1: entity_name70000000, type: type(inst70000019)}
// CHECK:STDOUT: inst70000018: {kind: FunctionDecl, arg0: function70000001, arg1: inst_block_empty, type: type(inst70000019)}
// CHECK:STDOUT: inst70000019: {kind: FunctionType, arg0: function70000001, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst7000001A: {kind: StructValue, arg0: inst_block_empty, type: type(inst70000019)}
// CHECK:STDOUT: inst7000001B: {kind: NameRef, arg0: name1, arg1: inst70000017, type: type(inst70000019)}
// CHECK:STDOUT: inst7000001C: {kind: Call, arg0: inst7000001B, arg1: inst_block_empty, type: type(inst70000014)}
// CHECK:STDOUT: inst7000001D: {kind: Return}
// CHECK:STDOUT: inst10: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000011: {kind: ImportDecl, arg0: name1}
// CHECK:STDOUT: inst70000012: {kind: Namespace, arg0: name_scope70000001, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000013: {kind: FunctionDecl, arg0: function70000000, arg1: inst_block_empty, type: type(inst70000014)}
// CHECK:STDOUT: inst70000014: {kind: FunctionType, arg0: function70000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst70000015: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
// CHECK:STDOUT: inst70000016: {kind: StructValue, arg0: inst_block_empty, type: type(inst70000014)}
// CHECK:STDOUT: inst70000017: {kind: NameRef, arg0: name1, arg1: inst70000012, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst70000018: {kind: ImportRefLoaded, arg0: import_ir_inst0, arg1: entity_name70000000, type: type(inst7000001A)}
// CHECK:STDOUT: inst70000019: {kind: FunctionDecl, arg0: function70000001, arg1: inst_block_empty, type: type(inst7000001A)}
// CHECK:STDOUT: inst7000001A: {kind: FunctionType, arg0: function70000001, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst7000001B: {kind: StructValue, arg0: inst_block_empty, type: type(inst7000001A)}
// CHECK:STDOUT: inst7000001C: {kind: NameRef, arg0: name1, arg1: inst70000018, type: type(inst7000001A)}
// CHECK:STDOUT: inst7000001D: {kind: Call, arg0: inst7000001C, arg1: inst_block_empty, type: type(inst70000015)}
// CHECK:STDOUT: inst7000001E: {kind: Return}
// CHECK:STDOUT: bundles: {}
// CHECK:STDOUT: constant_values:
// CHECK:STDOUT: values:
// CHECK:STDOUT: instF: concrete_constant(instF)
// CHECK:STDOUT: inst70000011: concrete_constant(inst70000011)
// CHECK:STDOUT: inst70000012: concrete_constant(inst70000015)
// CHECK:STDOUT: inst70000013: concrete_constant(inst70000013)
// CHECK:STDOUT: inst10: concrete_constant(inst10)
// CHECK:STDOUT: inst70000012: concrete_constant(inst70000012)
// CHECK:STDOUT: inst70000013: concrete_constant(inst70000016)
// CHECK:STDOUT: inst70000014: concrete_constant(inst70000014)
// CHECK:STDOUT: inst70000015: concrete_constant(inst70000015)
// CHECK:STDOUT: inst70000016: concrete_constant(inst70000011)
// CHECK:STDOUT: inst70000017: concrete_constant(inst7000001A)
// CHECK:STDOUT: inst70000018: concrete_constant(inst7000001A)
// CHECK:STDOUT: inst70000019: concrete_constant(inst70000019)
// CHECK:STDOUT: inst70000016: concrete_constant(inst70000016)
// CHECK:STDOUT: inst70000017: concrete_constant(inst70000012)
// CHECK:STDOUT: inst70000018: concrete_constant(inst7000001B)
// CHECK:STDOUT: inst70000019: concrete_constant(inst7000001B)
// CHECK:STDOUT: inst7000001A: concrete_constant(inst7000001A)
// CHECK:STDOUT: inst7000001B: concrete_constant(inst7000001A)
// CHECK:STDOUT: inst7000001B: concrete_constant(inst7000001B)
// CHECK:STDOUT: inst7000001C: concrete_constant(inst7000001B)
// CHECK:STDOUT: symbolic_constants: {}
// CHECK:STDOUT: inst_blocks:
// CHECK:STDOUT: inst_block_empty: {}
// CHECK:STDOUT: exports:
// CHECK:STDOUT: 0: inst70000012
// CHECK:STDOUT: 0: inst70000013
// CHECK:STDOUT: generated: {}
// CHECK:STDOUT: imports:
// CHECK:STDOUT: 0: inst70000011
// CHECK:STDOUT: 1: inst70000017
// CHECK:STDOUT: 2: inst70000018
// CHECK:STDOUT: 0: inst70000012
// CHECK:STDOUT: 1: inst70000018
// CHECK:STDOUT: 2: inst70000019
// CHECK:STDOUT: global_init: {}
// CHECK:STDOUT: inst_block70000005: {}
// CHECK:STDOUT: inst_block70000006:
// CHECK:STDOUT: 0: inst70000016
// CHECK:STDOUT: 1: inst7000001B
// CHECK:STDOUT: 2: inst7000001C
// CHECK:STDOUT: 3: inst7000001D
// CHECK:STDOUT: 0: inst70000017
// CHECK:STDOUT: 1: inst7000001C
// CHECK:STDOUT: 2: inst7000001D
// CHECK:STDOUT: 3: inst7000001E
// CHECK:STDOUT: inst_block70000007:
// CHECK:STDOUT: 0: instF
// CHECK:STDOUT: 1: inst70000010
// CHECK:STDOUT: 2: inst70000012
// CHECK:STDOUT: 0: inst10
// CHECK:STDOUT: 1: inst70000011
// CHECK:STDOUT: 2: inst70000013
// CHECK:STDOUT: value_stores:
// CHECK:STDOUT: shared_values:
// CHECK:STDOUT: ints: {}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -30,11 +30,11 @@ fn Foo(n: ()) -> ((), ()) {
// CHECK:STDOUT: clang_decls: {}
// CHECK:STDOUT: clang_decl_signatures: {}
// CHECK:STDOUT: name_scopes:
// CHECK:STDOUT: name_scope0: {inst: instF, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {name0: inst5000002E}}
// CHECK:STDOUT: name_scope0: {inst: inst10, parent_scope: name_scope<none>, has_error: false, extended_scopes: [], names: {name0: inst5000002F}}
// CHECK:STDOUT: entity_names:
// CHECK:STDOUT: entity_name50000000: {name: name1, parent_scope: name_scope<none>, index: -1, is_template: 0, is_unused: 0, form: inst<none>}
// CHECK:STDOUT: functions:
// CHECK:STDOUT: function50000000: {name: name0, parent_scope: name_scope0, call_param_patterns_id: inst_block5000000B, call_params_id: inst_block5000000C, return_type_inst_id: inst50000022, return_form_inst_id: inst50000023, return_pattern_id: inst50000028, body: [inst_block5000000F]}
// CHECK:STDOUT: function50000000: {name: name0, parent_scope: name_scope0, call_param_patterns_id: inst_block5000000B, call_params_id: inst_block5000000C, return_type_inst_id: inst50000023, return_form_inst_id: inst50000024, return_pattern_id: inst50000029, body: [inst_block5000000F]}
// CHECK:STDOUT: classes: {}
// CHECK:STDOUT: interfaces: {}
// CHECK:STDOUT: associated_constants: {}
@@ -70,191 +70,191 @@ fn Foo(n: ()) -> ((), ()) {
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst50000010)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000010)}
// CHECK:STDOUT: 'type(inst50000011)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000011)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst5000001F)':
// CHECK:STDOUT: value_repr: {kind: copy, type: type(inst5000001F)}
// CHECK:STDOUT: 'type(inst50000020)':
// CHECK:STDOUT: value_repr: {kind: copy, type: type(inst50000020)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 8
// CHECK:STDOUT: alignment: 8
// CHECK:STDOUT: 'type(inst5000001C)':
// CHECK:STDOUT: value_repr: {kind: pointer, type: type(inst5000001F)}
// CHECK:STDOUT: 'type(inst5000001D)':
// CHECK:STDOUT: value_repr: {kind: pointer, type: type(inst50000020)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: 'type(inst5000002F)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000010)}
// CHECK:STDOUT: 'type(inst50000030)':
// CHECK:STDOUT: value_repr: {kind: none, type: type(inst50000011)}
// CHECK:STDOUT: object_layout:
// CHECK:STDOUT: size: 0
// CHECK:STDOUT: alignment: 1
// CHECK:STDOUT: declared_facet_types: {}
// CHECK:STDOUT: insts:
// CHECK:STDOUT: instF: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000010: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
// CHECK:STDOUT: inst50000011: {kind: TupleLiteral, arg0: inst_block_empty, type: type(inst50000010)}
// CHECK:STDOUT: inst50000012: {kind: TupleValue, arg0: inst_block_empty, type: type(inst50000010)}
// CHECK:STDOUT: inst50000013: {kind: Converted, arg0: inst50000011, arg1: inst50000010, type: type(TypeType)}
// CHECK:STDOUT: inst50000014: {kind: PatternType, arg0: inst50000010, type: type(TypeType)}
// CHECK:STDOUT: inst50000015: {kind: ValueParamPattern, arg0: name1, type: type(inst50000014)}
// CHECK:STDOUT: inst50000016: {kind: ValueParamPattern, arg0: name1, type: type(inst50000014)}
// CHECK:STDOUT: inst50000017: {kind: WrapperBindingPattern, arg0: entity_name50000000, arg1: inst50000015, type: type(inst50000014)}
// CHECK:STDOUT: inst50000018: {kind: WrapperBindingPattern, arg0: entity_name50000000, arg1: inst50000016, type: type(inst50000014)}
// CHECK:STDOUT: inst50000019: {kind: WrapperBinding, arg0: entity_name50000000, arg1: inst5000002A, type: type(inst50000010)}
// CHECK:STDOUT: inst5000001A: {kind: TupleLiteral, arg0: inst_block_empty, type: type(inst50000010)}
// CHECK:STDOUT: inst5000001B: {kind: TupleLiteral, arg0: inst_block_empty, type: type(inst50000010)}
// CHECK:STDOUT: inst5000001C: {kind: TupleType, arg0: inst_block50000008, type: type(TypeType)}
// CHECK:STDOUT: inst5000001D: {kind: TupleLiteral, arg0: inst_block50000007, type: type(inst5000001C)}
// CHECK:STDOUT: inst5000001E: {kind: TupleValue, arg0: inst_block50000009, type: type(inst5000001C)}
// CHECK:STDOUT: inst5000001F: {kind: PointerType, arg0: inst5000001C, type: type(TypeType)}
// CHECK:STDOUT: inst50000020: {kind: Converted, arg0: inst50000012, arg1: inst50000010, type: type(TypeType)}
// CHECK:STDOUT: inst50000021: {kind: Converted, arg0: inst50000012, arg1: inst50000010, type: type(TypeType)}
// CHECK:STDOUT: inst50000022: {kind: Converted, arg0: inst5000001D, arg1: inst5000001C, type: type(TypeType)}
// CHECK:STDOUT: inst50000023: {kind: InitForm, arg0: inst50000022, type: type(inst(FormType))}
// CHECK:STDOUT: inst50000024: {kind: InitForm, arg0: inst5000001C, type: type(inst(FormType))}
// CHECK:STDOUT: inst50000025: {kind: PatternType, arg0: inst5000001C, type: type(TypeType)}
// CHECK:STDOUT: inst50000026: {kind: OutParamPattern, arg0: name(ReturnSlot), type: type(inst50000025)}
// CHECK:STDOUT: inst50000027: {kind: OutParamPattern, arg0: name(ReturnSlot), type: type(inst50000025)}
// CHECK:STDOUT: inst50000028: {kind: ReturnSlotPattern, arg0: inst50000026, arg1: inst50000022, type: type(inst50000025)}
// CHECK:STDOUT: inst50000029: {kind: ReturnSlotPattern, arg0: inst50000027, arg1: inst5000001C, type: type(inst50000025)}
// CHECK:STDOUT: inst5000002A: {kind: ValueParam, arg0: call_param0, arg1: name1, type: type(inst50000010)}
// CHECK:STDOUT: inst5000002B: {kind: SpliceBlock, arg0: inst_block50000005, arg1: inst50000013, type: type(TypeType)}
// CHECK:STDOUT: inst5000002C: {kind: OutParam, arg0: call_param1, arg1: name(ReturnSlot), type: type(inst5000001C)}
// CHECK:STDOUT: inst5000002D: {kind: ReturnSlot, arg0: inst5000001C, arg1: inst5000002C, type: type(inst5000001C)}
// CHECK:STDOUT: inst5000002E: {kind: FunctionDecl, arg0: function50000000, arg1: inst_block5000000E, type: type(inst5000002F)}
// CHECK:STDOUT: inst5000002F: {kind: FunctionType, arg0: function50000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000030: {kind: StructValue, arg0: inst_block_empty, type: type(inst5000002F)}
// CHECK:STDOUT: inst50000031: {kind: NameRef, arg0: name1, arg1: inst50000019, type: type(inst50000010)}
// CHECK:STDOUT: inst50000032: {kind: TupleLiteral, arg0: inst_block_empty, type: type(inst50000010)}
// CHECK:STDOUT: inst50000033: {kind: TupleLiteral, arg0: inst_block50000010, type: type(inst5000001C)}
// CHECK:STDOUT: inst50000034: {kind: TupleAccess, arg0: inst5000002C, arg1: element0, type: type(inst50000010)}
// CHECK:STDOUT: inst50000035: {kind: TupleInit, arg0: inst_block_empty, arg1: inst50000034, type: type(inst50000010)}
// CHECK:STDOUT: inst50000036: {kind: Converted, arg0: inst50000031, arg1: inst50000035, type: type(inst50000010)}
// CHECK:STDOUT: inst50000037: {kind: InPlaceInit, arg0: inst50000036, arg1: inst50000034, type: type(inst50000010)}
// CHECK:STDOUT: inst50000038: {kind: TupleAccess, arg0: inst5000002C, arg1: element1, type: type(inst50000010)}
// CHECK:STDOUT: inst50000039: {kind: TupleInit, arg0: inst_block_empty, arg1: inst50000038, type: type(inst50000010)}
// CHECK:STDOUT: inst5000003A: {kind: Converted, arg0: inst50000032, arg1: inst50000039, type: type(inst50000010)}
// CHECK:STDOUT: inst5000003B: {kind: InPlaceInit, arg0: inst5000003A, arg1: inst50000038, type: type(inst50000010)}
// CHECK:STDOUT: inst5000003C: {kind: TupleInit, arg0: inst_block50000011, arg1: inst5000002C, type: type(inst5000001C)}
// CHECK:STDOUT: inst5000003D: {kind: Converted, arg0: inst50000033, arg1: inst5000003C, type: type(inst5000001C)}
// CHECK:STDOUT: inst5000003E: {kind: ReturnExpr, arg0: inst5000003D, arg1: inst5000002C}
// CHECK:STDOUT: inst10: {kind: Namespace, arg0: name_scope0, type: type(inst(NamespaceType))}
// CHECK:STDOUT: inst50000011: {kind: TupleType, arg0: inst_block_empty, type: type(TypeType)}
// CHECK:STDOUT: inst50000012: {kind: TupleLiteral, arg0: inst_block_empty, type: type(inst50000011)}
// CHECK:STDOUT: inst50000013: {kind: TupleValue, arg0: inst_block_empty, type: type(inst50000011)}
// CHECK:STDOUT: inst50000014: {kind: Converted, arg0: inst50000012, arg1: inst50000011, type: type(TypeType)}
// CHECK:STDOUT: inst50000015: {kind: PatternType, arg0: inst50000011, type: type(TypeType)}
// CHECK:STDOUT: inst50000016: {kind: ValueParamPattern, arg0: name1, type: type(inst50000015)}
// CHECK:STDOUT: inst50000017: {kind: ValueParamPattern, arg0: name1, type: type(inst50000015)}
// CHECK:STDOUT: inst50000018: {kind: WrapperBindingPattern, arg0: entity_name50000000, arg1: inst50000016, type: type(inst50000015)}
// CHECK:STDOUT: inst50000019: {kind: WrapperBindingPattern, arg0: entity_name50000000, arg1: inst50000017, type: type(inst50000015)}
// CHECK:STDOUT: inst5000001A: {kind: WrapperBinding, arg0: entity_name50000000, arg1: inst5000002B, type: type(inst50000011)}
// CHECK:STDOUT: inst5000001B: {kind: TupleLiteral, arg0: inst_block_empty, type: type(inst50000011)}
// CHECK:STDOUT: inst5000001C: {kind: TupleLiteral, arg0: inst_block_empty, type: type(inst50000011)}
// CHECK:STDOUT: inst5000001D: {kind: TupleType, arg0: inst_block50000008, type: type(TypeType)}
// CHECK:STDOUT: inst5000001E: {kind: TupleLiteral, arg0: inst_block50000007, type: type(inst5000001D)}
// CHECK:STDOUT: inst5000001F: {kind: TupleValue, arg0: inst_block50000009, type: type(inst5000001D)}
// CHECK:STDOUT: inst50000020: {kind: PointerType, arg0: inst5000001D, type: type(TypeType)}
// CHECK:STDOUT: inst50000021: {kind: Converted, arg0: inst50000013, arg1: inst50000011, type: type(TypeType)}
// CHECK:STDOUT: inst50000022: {kind: Converted, arg0: inst50000013, arg1: inst50000011, type: type(TypeType)}
// CHECK:STDOUT: inst50000023: {kind: Converted, arg0: inst5000001E, arg1: inst5000001D, type: type(TypeType)}
// CHECK:STDOUT: inst50000024: {kind: InitForm, arg0: inst50000023, type: type(inst(FormType))}
// CHECK:STDOUT: inst50000025: {kind: InitForm, arg0: inst5000001D, type: type(inst(FormType))}
// CHECK:STDOUT: inst50000026: {kind: PatternType, arg0: inst5000001D, type: type(TypeType)}
// CHECK:STDOUT: inst50000027: {kind: OutParamPattern, arg0: name(ReturnSlot), type: type(inst50000026)}
// CHECK:STDOUT: inst50000028: {kind: OutParamPattern, arg0: name(ReturnSlot), type: type(inst50000026)}
// CHECK:STDOUT: inst50000029: {kind: ReturnSlotPattern, arg0: inst50000027, arg1: inst50000023, type: type(inst50000026)}
// CHECK:STDOUT: inst5000002A: {kind: ReturnSlotPattern, arg0: inst50000028, arg1: inst5000001D, type: type(inst50000026)}
// CHECK:STDOUT: inst5000002B: {kind: ValueParam, arg0: call_param0, arg1: name1, type: type(inst50000011)}
// CHECK:STDOUT: inst5000002C: {kind: SpliceBlock, arg0: inst_block50000005, arg1: inst50000014, type: type(TypeType)}
// CHECK:STDOUT: inst5000002D: {kind: OutParam, arg0: call_param1, arg1: name(ReturnSlot), type: type(inst5000001D)}
// CHECK:STDOUT: inst5000002E: {kind: ReturnSlot, arg0: inst5000001D, arg1: inst5000002D, type: type(inst5000001D)}
// CHECK:STDOUT: inst5000002F: {kind: FunctionDecl, arg0: function50000000, arg1: inst_block5000000E, type: type(inst50000030)}
// CHECK:STDOUT: inst50000030: {kind: FunctionType, arg0: function50000000, arg1: specific<none>, type: type(TypeType)}
// CHECK:STDOUT: inst50000031: {kind: StructValue, arg0: inst_block_empty, type: type(inst50000030)}
// CHECK:STDOUT: inst50000032: {kind: NameRef, arg0: name1, arg1: inst5000001A, type: type(inst50000011)}
// CHECK:STDOUT: inst50000033: {kind: TupleLiteral, arg0: inst_block_empty, type: type(inst50000011)}
// CHECK:STDOUT: inst50000034: {kind: TupleLiteral, arg0: inst_block50000010, type: type(inst5000001D)}
// CHECK:STDOUT: inst50000035: {kind: TupleAccess, arg0: inst5000002D, arg1: element0, type: type(inst50000011)}
// CHECK:STDOUT: inst50000036: {kind: TupleInit, arg0: inst_block_empty, arg1: inst50000035, type: type(inst50000011)}
// CHECK:STDOUT: inst50000037: {kind: Converted, arg0: inst50000032, arg1: inst50000036, type: type(inst50000011)}
// CHECK:STDOUT: inst50000038: {kind: InPlaceInit, arg0: inst50000037, arg1: inst50000035, type: type(inst50000011)}
// CHECK:STDOUT: inst50000039: {kind: TupleAccess, arg0: inst5000002D, arg1: element1, type: type(inst50000011)}
// CHECK:STDOUT: inst5000003A: {kind: TupleInit, arg0: inst_block_empty, arg1: inst50000039, type: type(inst50000011)}
// CHECK:STDOUT: inst5000003B: {kind: Converted, arg0: inst50000033, arg1: inst5000003A, type: type(inst50000011)}
// CHECK:STDOUT: inst5000003C: {kind: InPlaceInit, arg0: inst5000003B, arg1: inst50000039, type: type(inst50000011)}
// CHECK:STDOUT: inst5000003D: {kind: TupleInit, arg0: inst_block50000011, arg1: inst5000002D, type: type(inst5000001D)}
// CHECK:STDOUT: inst5000003E: {kind: Converted, arg0: inst50000034, arg1: inst5000003D, type: type(inst5000001D)}
// CHECK:STDOUT: inst5000003F: {kind: ReturnExpr, arg0: inst5000003E, arg1: inst5000002D}
// CHECK:STDOUT: bundles: {}
// CHECK:STDOUT: constant_values:
// CHECK:STDOUT: values:
// CHECK:STDOUT: instF: concrete_constant(instF)
// CHECK:STDOUT: inst50000010: concrete_constant(inst50000010)
// CHECK:STDOUT: inst50000011: concrete_constant(inst50000012)
// CHECK:STDOUT: inst50000012: concrete_constant(inst50000012)
// CHECK:STDOUT: inst50000013: concrete_constant(inst50000010)
// CHECK:STDOUT: inst50000014: concrete_constant(inst50000014)
// CHECK:STDOUT: inst50000015: concrete_constant(inst50000016)
// CHECK:STDOUT: inst50000016: concrete_constant(inst50000016)
// CHECK:STDOUT: inst50000017: concrete_constant(inst50000018)
// CHECK:STDOUT: inst50000018: concrete_constant(inst50000018)
// CHECK:STDOUT: inst5000001A: concrete_constant(inst50000012)
// CHECK:STDOUT: inst5000001B: concrete_constant(inst50000012)
// CHECK:STDOUT: inst5000001C: concrete_constant(inst5000001C)
// CHECK:STDOUT: inst5000001D: concrete_constant(inst5000001E)
// CHECK:STDOUT: inst5000001E: concrete_constant(inst5000001E)
// CHECK:STDOUT: inst10: concrete_constant(inst10)
// CHECK:STDOUT: inst50000011: concrete_constant(inst50000011)
// CHECK:STDOUT: inst50000012: concrete_constant(inst50000013)
// CHECK:STDOUT: inst50000013: concrete_constant(inst50000013)
// CHECK:STDOUT: inst50000014: concrete_constant(inst50000011)
// CHECK:STDOUT: inst50000015: concrete_constant(inst50000015)
// CHECK:STDOUT: inst50000016: concrete_constant(inst50000017)
// CHECK:STDOUT: inst50000017: concrete_constant(inst50000017)
// CHECK:STDOUT: inst50000018: concrete_constant(inst50000019)
// CHECK:STDOUT: inst50000019: concrete_constant(inst50000019)
// CHECK:STDOUT: inst5000001B: concrete_constant(inst50000013)
// CHECK:STDOUT: inst5000001C: concrete_constant(inst50000013)
// CHECK:STDOUT: inst5000001D: concrete_constant(inst5000001D)
// CHECK:STDOUT: inst5000001E: concrete_constant(inst5000001F)
// CHECK:STDOUT: inst5000001F: concrete_constant(inst5000001F)
// CHECK:STDOUT: inst50000020: concrete_constant(inst50000010)
// CHECK:STDOUT: inst50000021: concrete_constant(inst50000010)
// CHECK:STDOUT: inst50000022: concrete_constant(inst5000001C)
// CHECK:STDOUT: inst50000023: concrete_constant(inst50000024)
// CHECK:STDOUT: inst50000024: concrete_constant(inst50000024)
// CHECK:STDOUT: inst50000020: concrete_constant(inst50000020)
// CHECK:STDOUT: inst50000021: concrete_constant(inst50000011)
// CHECK:STDOUT: inst50000022: concrete_constant(inst50000011)
// CHECK:STDOUT: inst50000023: concrete_constant(inst5000001D)
// CHECK:STDOUT: inst50000024: concrete_constant(inst50000025)
// CHECK:STDOUT: inst50000025: concrete_constant(inst50000025)
// CHECK:STDOUT: inst50000026: concrete_constant(inst50000027)
// CHECK:STDOUT: inst50000027: concrete_constant(inst50000027)
// CHECK:STDOUT: inst50000028: concrete_constant(inst50000029)
// CHECK:STDOUT: inst50000029: concrete_constant(inst50000029)
// CHECK:STDOUT: inst5000002B: concrete_constant(inst50000010)
// CHECK:STDOUT: inst5000002E: concrete_constant(inst50000030)
// CHECK:STDOUT: inst5000002F: concrete_constant(inst5000002F)
// CHECK:STDOUT: inst50000026: concrete_constant(inst50000026)
// CHECK:STDOUT: inst50000027: concrete_constant(inst50000028)
// CHECK:STDOUT: inst50000028: concrete_constant(inst50000028)
// CHECK:STDOUT: inst50000029: concrete_constant(inst5000002A)
// CHECK:STDOUT: inst5000002A: concrete_constant(inst5000002A)
// CHECK:STDOUT: inst5000002C: concrete_constant(inst50000011)
// CHECK:STDOUT: inst5000002F: concrete_constant(inst50000031)
// CHECK:STDOUT: inst50000030: concrete_constant(inst50000030)
// CHECK:STDOUT: inst50000032: concrete_constant(inst50000012)
// CHECK:STDOUT: inst50000035: concrete_constant(inst50000012)
// CHECK:STDOUT: inst50000036: concrete_constant(inst50000012)
// CHECK:STDOUT: inst50000037: concrete_constant(inst50000012)
// CHECK:STDOUT: inst50000039: concrete_constant(inst50000012)
// CHECK:STDOUT: inst5000003A: concrete_constant(inst50000012)
// CHECK:STDOUT: inst5000003B: concrete_constant(inst50000012)
// CHECK:STDOUT: inst5000003C: concrete_constant(inst5000001E)
// CHECK:STDOUT: inst5000003D: concrete_constant(inst5000001E)
// CHECK:STDOUT: inst50000031: concrete_constant(inst50000031)
// CHECK:STDOUT: inst50000033: concrete_constant(inst50000013)
// CHECK:STDOUT: inst50000036: concrete_constant(inst50000013)
// CHECK:STDOUT: inst50000037: concrete_constant(inst50000013)
// CHECK:STDOUT: inst50000038: concrete_constant(inst50000013)
// CHECK:STDOUT: inst5000003A: concrete_constant(inst50000013)
// CHECK:STDOUT: inst5000003B: concrete_constant(inst50000013)
// CHECK:STDOUT: inst5000003C: concrete_constant(inst50000013)
// CHECK:STDOUT: inst5000003D: concrete_constant(inst5000001F)
// CHECK:STDOUT: inst5000003E: concrete_constant(inst5000001F)
// CHECK:STDOUT: symbolic_constants: {}
// CHECK:STDOUT: inst_blocks:
// CHECK:STDOUT: inst_block_empty: {}
// CHECK:STDOUT: exports:
// CHECK:STDOUT: 0: inst5000002E
// CHECK:STDOUT: 0: inst5000002F
// CHECK:STDOUT: generated: {}
// CHECK:STDOUT: imports: {}
// CHECK:STDOUT: global_init: {}
// CHECK:STDOUT: inst_block50000005:
// CHECK:STDOUT: 0: inst50000011
// CHECK:STDOUT: 1: inst50000013
// CHECK:STDOUT: inst_block50000006:
// CHECK:STDOUT: 0: inst50000017
// CHECK:STDOUT: inst_block50000007:
// CHECK:STDOUT: 0: inst5000001A
// CHECK:STDOUT: 1: inst5000001B
// CHECK:STDOUT: inst_block50000008:
// CHECK:STDOUT: 0: inst50000010
// CHECK:STDOUT: 1: inst50000010
// CHECK:STDOUT: inst_block50000009:
// CHECK:STDOUT: 0: inst50000012
// CHECK:STDOUT: 1: inst50000012
// CHECK:STDOUT: 1: inst50000014
// CHECK:STDOUT: inst_block50000006:
// CHECK:STDOUT: 0: inst50000018
// CHECK:STDOUT: inst_block50000007:
// CHECK:STDOUT: 0: inst5000001B
// CHECK:STDOUT: 1: inst5000001C
// CHECK:STDOUT: inst_block50000008:
// CHECK:STDOUT: 0: inst50000011
// CHECK:STDOUT: 1: inst50000011
// CHECK:STDOUT: inst_block50000009:
// CHECK:STDOUT: 0: inst50000013
// CHECK:STDOUT: 1: inst50000013
// CHECK:STDOUT: inst_block5000000A:
// CHECK:STDOUT: 0: inst50000020
// CHECK:STDOUT: 1: inst50000021
// CHECK:STDOUT: 0: inst50000021
// CHECK:STDOUT: 1: inst50000022
// CHECK:STDOUT: inst_block5000000B:
// CHECK:STDOUT: 0: inst50000015
// CHECK:STDOUT: 1: inst50000026
// CHECK:STDOUT: 0: inst50000016
// CHECK:STDOUT: 1: inst50000027
// CHECK:STDOUT: inst_block5000000C:
// CHECK:STDOUT: 0: inst5000002A
// CHECK:STDOUT: 1: inst5000002C
// CHECK:STDOUT: 0: inst5000002B
// CHECK:STDOUT: 1: inst5000002D
// CHECK:STDOUT: inst_block5000000D:
// CHECK:STDOUT: 0: inst50000015
// CHECK:STDOUT: 1: inst50000017
// CHECK:STDOUT: 2: inst50000026
// CHECK:STDOUT: 3: inst50000028
// CHECK:STDOUT: 0: inst50000016
// CHECK:STDOUT: 1: inst50000018
// CHECK:STDOUT: 2: inst50000027
// CHECK:STDOUT: 3: inst50000029
// CHECK:STDOUT: inst_block5000000E:
// CHECK:STDOUT: 0: inst5000001A
// CHECK:STDOUT: 1: inst5000001B
// CHECK:STDOUT: 2: inst5000001D
// CHECK:STDOUT: 3: inst50000020
// CHECK:STDOUT: 4: inst50000021
// CHECK:STDOUT: 5: inst50000022
// CHECK:STDOUT: 6: inst50000023
// CHECK:STDOUT: 7: inst5000002A
// CHECK:STDOUT: 8: inst5000002B
// CHECK:STDOUT: 9: inst50000019
// CHECK:STDOUT: 10: inst5000002C
// CHECK:STDOUT: 11: inst5000002D
// CHECK:STDOUT: 0: inst5000001B
// CHECK:STDOUT: 1: inst5000001C
// CHECK:STDOUT: 2: inst5000001E
// CHECK:STDOUT: 3: inst50000021
// CHECK:STDOUT: 4: inst50000022
// CHECK:STDOUT: 5: inst50000023
// CHECK:STDOUT: 6: inst50000024
// CHECK:STDOUT: 7: inst5000002B
// CHECK:STDOUT: 8: inst5000002C
// CHECK:STDOUT: 9: inst5000001A
// CHECK:STDOUT: 10: inst5000002D
// CHECK:STDOUT: 11: inst5000002E
// CHECK:STDOUT: inst_block5000000F:
// CHECK:STDOUT: 0: inst50000031
// CHECK:STDOUT: 1: inst50000032
// CHECK:STDOUT: 2: inst50000033
// CHECK:STDOUT: 3: inst50000034
// CHECK:STDOUT: 4: inst50000035
// CHECK:STDOUT: 5: inst50000036
// CHECK:STDOUT: 6: inst50000037
// CHECK:STDOUT: 7: inst50000038
// CHECK:STDOUT: 8: inst50000039
// CHECK:STDOUT: 9: inst5000003A
// CHECK:STDOUT: 10: inst5000003B
// CHECK:STDOUT: 11: inst5000003C
// CHECK:STDOUT: 12: inst5000003D
// CHECK:STDOUT: 13: inst5000003E
// CHECK:STDOUT: 0: inst50000032
// CHECK:STDOUT: 1: inst50000033
// CHECK:STDOUT: 2: inst50000034
// CHECK:STDOUT: 3: inst50000035
// CHECK:STDOUT: 4: inst50000036
// CHECK:STDOUT: 5: inst50000037
// CHECK:STDOUT: 6: inst50000038
// CHECK:STDOUT: 7: inst50000039
// CHECK:STDOUT: 8: inst5000003A
// CHECK:STDOUT: 9: inst5000003B
// CHECK:STDOUT: 10: inst5000003C
// CHECK:STDOUT: 11: inst5000003D
// CHECK:STDOUT: 12: inst5000003E
// CHECK:STDOUT: 13: inst5000003F
// CHECK:STDOUT: inst_block50000010:
// CHECK:STDOUT: 0: inst50000031
// CHECK:STDOUT: 1: inst50000032
// CHECK:STDOUT: 0: inst50000032
// CHECK:STDOUT: 1: inst50000033
// CHECK:STDOUT: inst_block50000011:
// CHECK:STDOUT: 0: inst50000037
// CHECK:STDOUT: 1: inst5000003B
// CHECK:STDOUT: 0: inst50000038
// CHECK:STDOUT: 1: inst5000003C
// CHECK:STDOUT: inst_block50000012:
// CHECK:STDOUT: 0: instF
// CHECK:STDOUT: 1: inst5000002E
// CHECK:STDOUT: 0: inst10
// CHECK:STDOUT: 1: inst5000002F
// CHECK:STDOUT: value_stores:
// CHECK:STDOUT: shared_values:
// CHECK:STDOUT: ints: {}