|
|
@@ -101,40 +101,40 @@ fn G() {
|
|
|
// CHECK:STDOUT: --- tuple_access.carbon
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: constants {
|
|
|
-// CHECK:STDOUT: %tuple.type: type = tuple_type (type) [template]
|
|
|
+// CHECK:STDOUT: %tuple.type: type = tuple_type (type) [concrete]
|
|
|
// CHECK:STDOUT: %T: %tuple.type = bind_symbolic_name T, 0 [symbolic]
|
|
|
// CHECK:STDOUT: %T.patt: %tuple.type = symbolic_binding_pattern T, 0 [symbolic]
|
|
|
-// CHECK:STDOUT: %HoldsType.type: type = generic_class_type @HoldsType [template]
|
|
|
-// CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [template]
|
|
|
-// CHECK:STDOUT: %HoldsType.generic: %HoldsType.type = struct_value () [template]
|
|
|
+// CHECK:STDOUT: %HoldsType.type: type = generic_class_type @HoldsType [concrete]
|
|
|
+// CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete]
|
|
|
+// CHECK:STDOUT: %HoldsType.generic: %HoldsType.type = struct_value () [concrete]
|
|
|
// CHECK:STDOUT: %HoldsType.cc9: type = class_type @HoldsType, @HoldsType(%T) [symbolic]
|
|
|
-// CHECK:STDOUT: %empty_struct_type: type = struct_type {} [template]
|
|
|
-// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [template]
|
|
|
-// CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [template]
|
|
|
+// CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete]
|
|
|
+// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [concrete]
|
|
|
+// CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete]
|
|
|
// CHECK:STDOUT: %tuple.elem0: type = tuple_access %T, element0 [symbolic]
|
|
|
-// CHECK:STDOUT: %F.type: type = fn_type @F [template]
|
|
|
-// CHECK:STDOUT: %F: %F.type = struct_value () [template]
|
|
|
+// CHECK:STDOUT: %F.type: type = fn_type @F [concrete]
|
|
|
+// CHECK:STDOUT: %F: %F.type = struct_value () [concrete]
|
|
|
// CHECK:STDOUT: %require_complete.514: <witness> = require_complete_type %HoldsType.cc9 [symbolic]
|
|
|
// CHECK:STDOUT: %require_complete.fec: <witness> = require_complete_type %tuple.elem0 [symbolic]
|
|
|
-// CHECK:STDOUT: %C: type = class_type @C [template]
|
|
|
-// CHECK:STDOUT: %G.type: type = fn_type @G [template]
|
|
|
-// CHECK:STDOUT: %G: %G.type = struct_value () [template]
|
|
|
-// CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%C) [template]
|
|
|
-// CHECK:STDOUT: %HoldsType.c09: type = class_type @HoldsType, @HoldsType(%tuple) [template]
|
|
|
-// CHECK:STDOUT: %HoldsType.val: %HoldsType.c09 = struct_value () [template]
|
|
|
-// CHECK:STDOUT: %F.specific_fn: <specific function> = specific_function %F, @F(%tuple) [template]
|
|
|
-// CHECK:STDOUT: %C.val: %C = struct_value () [template]
|
|
|
+// CHECK:STDOUT: %C: type = class_type @C [concrete]
|
|
|
+// CHECK:STDOUT: %G.type: type = fn_type @G [concrete]
|
|
|
+// CHECK:STDOUT: %G: %G.type = struct_value () [concrete]
|
|
|
+// CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%C) [concrete]
|
|
|
+// CHECK:STDOUT: %HoldsType.c09: type = class_type @HoldsType, @HoldsType(%tuple) [concrete]
|
|
|
+// CHECK:STDOUT: %HoldsType.val: %HoldsType.c09 = struct_value () [concrete]
|
|
|
+// CHECK:STDOUT: %F.specific_fn: <specific function> = specific_function %F, @F(%tuple) [concrete]
|
|
|
+// CHECK:STDOUT: %C.val: %C = struct_value () [concrete]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: imports {
|
|
|
-// CHECK:STDOUT: %Core: <namespace> = namespace file.%Core.import, [template] {
|
|
|
+// CHECK:STDOUT: %Core: <namespace> = namespace file.%Core.import, [concrete] {
|
|
|
// CHECK:STDOUT: import Core//prelude
|
|
|
// CHECK:STDOUT: import Core//prelude/...
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: file {
|
|
|
-// CHECK:STDOUT: package: <namespace> = namespace [template] {
|
|
|
+// CHECK:STDOUT: package: <namespace> = namespace [concrete] {
|
|
|
// CHECK:STDOUT: .Core = imports.%Core
|
|
|
// CHECK:STDOUT: .HoldsType = %HoldsType.decl
|
|
|
// CHECK:STDOUT: .F = %F.decl
|
|
|
@@ -142,18 +142,18 @@ fn G() {
|
|
|
// CHECK:STDOUT: .G = %G.decl
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %Core.import = import Core
|
|
|
-// CHECK:STDOUT: %HoldsType.decl: %HoldsType.type = class_decl @HoldsType [template = constants.%HoldsType.generic] {
|
|
|
+// CHECK:STDOUT: %HoldsType.decl: %HoldsType.type = class_decl @HoldsType [concrete = constants.%HoldsType.generic] {
|
|
|
// CHECK:STDOUT: %T.patt.loc4_17.1: %tuple.type = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc4_17.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: %T.param_patt: %tuple.type = value_param_pattern %T.patt.loc4_17.1, runtime_param<none> [symbolic = %T.patt.loc4_17.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %T.param: %tuple.type = value_param runtime_param<none>
|
|
|
-// CHECK:STDOUT: %.loc4_28.1: type = splice_block %.loc4_28.3 [template = constants.%tuple.type] {
|
|
|
+// CHECK:STDOUT: %.loc4_28.1: type = splice_block %.loc4_28.3 [concrete = constants.%tuple.type] {
|
|
|
// CHECK:STDOUT: %.loc4_28.2: %tuple.type = tuple_literal (type)
|
|
|
-// CHECK:STDOUT: %.loc4_28.3: type = converted %.loc4_28.2, constants.%tuple.type [template = constants.%tuple.type]
|
|
|
+// CHECK:STDOUT: %.loc4_28.3: type = converted %.loc4_28.2, constants.%tuple.type [concrete = constants.%tuple.type]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %T.loc4_17.1: %tuple.type = bind_symbolic_name T, 0, %T.param [symbolic = %T.loc4_17.2 (constants.%T)]
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [template = constants.%F] {
|
|
|
+// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {
|
|
|
// CHECK:STDOUT: %T.patt.loc8_6.1: %tuple.type = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc8_6.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: %T.param_patt: %tuple.type = value_param_pattern %T.patt.loc8_6.1, runtime_param<none> [symbolic = %T.patt.loc8_6.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: %x.patt: @F.%HoldsType.loc8_34.2 (%HoldsType.cc9) = binding_pattern x
|
|
|
@@ -162,14 +162,14 @@ fn G() {
|
|
|
// CHECK:STDOUT: %a.param_patt: @F.%tuple.elem0.loc8_41.2 (%tuple.elem0) = value_param_pattern %a.patt, runtime_param1
|
|
|
// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %T.param: %tuple.type = value_param runtime_param<none>
|
|
|
-// CHECK:STDOUT: %.loc8_17.1: type = splice_block %.loc8_17.3 [template = constants.%tuple.type] {
|
|
|
+// CHECK:STDOUT: %.loc8_17.1: type = splice_block %.loc8_17.3 [concrete = constants.%tuple.type] {
|
|
|
// CHECK:STDOUT: %.loc8_17.2: %tuple.type = tuple_literal (type)
|
|
|
-// CHECK:STDOUT: %.loc8_17.3: type = converted %.loc8_17.2, constants.%tuple.type [template = constants.%tuple.type]
|
|
|
+// CHECK:STDOUT: %.loc8_17.3: type = converted %.loc8_17.2, constants.%tuple.type [concrete = constants.%tuple.type]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %T.loc8_6.1: %tuple.type = bind_symbolic_name T, 0, %T.param [symbolic = %T.loc8_6.2 (constants.%T)]
|
|
|
// CHECK:STDOUT: %x.param: @F.%HoldsType.loc8_34.2 (%HoldsType.cc9) = value_param runtime_param0
|
|
|
// CHECK:STDOUT: %.loc8_34: type = splice_block %HoldsType.loc8_34.1 [symbolic = %HoldsType.loc8_34.2 (constants.%HoldsType.cc9)] {
|
|
|
-// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [template = constants.%HoldsType.generic]
|
|
|
+// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic]
|
|
|
// CHECK:STDOUT: %T.ref.loc8_33: %tuple.type = name_ref T, %T.loc8_6.1 [symbolic = %T.loc8_6.2 (constants.%T)]
|
|
|
// CHECK:STDOUT: %HoldsType.loc8_34.1: type = class_type @HoldsType, @HoldsType(constants.%T) [symbolic = %HoldsType.loc8_34.2 (constants.%HoldsType.cc9)]
|
|
|
// CHECK:STDOUT: }
|
|
|
@@ -177,13 +177,13 @@ fn G() {
|
|
|
// CHECK:STDOUT: %a.param: @F.%tuple.elem0.loc8_41.2 (%tuple.elem0) = value_param runtime_param1
|
|
|
// CHECK:STDOUT: %.loc8_41: type = splice_block %tuple.elem0.loc8_41.1 [symbolic = %tuple.elem0.loc8_41.2 (constants.%tuple.elem0)] {
|
|
|
// CHECK:STDOUT: %T.ref.loc8_40: %tuple.type = name_ref T, %T.loc8_6.1 [symbolic = %T.loc8_6.2 (constants.%T)]
|
|
|
-// CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [template = constants.%int_0]
|
|
|
+// CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0]
|
|
|
// CHECK:STDOUT: %tuple.elem0.loc8_41.1: type = tuple_access %T.ref.loc8_40, element0 [symbolic = %tuple.elem0.loc8_41.2 (constants.%tuple.elem0)]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %a: @F.%tuple.elem0.loc8_41.2 (%tuple.elem0) = bind_name a, %a.param
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %C.decl: type = class_decl @C [template = constants.%C] {} {}
|
|
|
-// CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [template = constants.%G] {} {}
|
|
|
+// CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {}
|
|
|
+// CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] {} {}
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: generic class @HoldsType(%T.loc4_17.1: %tuple.type) {
|
|
|
@@ -193,7 +193,7 @@ fn G() {
|
|
|
// CHECK:STDOUT: !definition:
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: class {
|
|
|
-// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [template = constants.%complete_type]
|
|
|
+// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [concrete = constants.%complete_type]
|
|
|
// CHECK:STDOUT: complete_type_witness = %complete_type
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !members:
|
|
|
@@ -202,7 +202,7 @@ fn G() {
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: class @C {
|
|
|
-// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [template = constants.%complete_type]
|
|
|
+// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [concrete = constants.%complete_type]
|
|
|
// CHECK:STDOUT: complete_type_witness = %complete_type
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !members:
|
|
|
@@ -227,23 +227,23 @@ fn G() {
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: fn @G() {
|
|
|
// CHECK:STDOUT: !entry:
|
|
|
-// CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [template = constants.%F]
|
|
|
+// CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F]
|
|
|
// CHECK:STDOUT: %.loc13_6.1: %empty_struct_type = struct_literal ()
|
|
|
-// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [template = constants.%HoldsType.generic]
|
|
|
-// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [template = constants.%C]
|
|
|
+// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic]
|
|
|
+// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C]
|
|
|
// CHECK:STDOUT: %.loc13_25: %tuple.type = tuple_literal (%C.ref)
|
|
|
-// CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%C.ref) [template = constants.%tuple]
|
|
|
-// CHECK:STDOUT: %.loc13_26: %tuple.type = converted %.loc13_25, %tuple [template = constants.%tuple]
|
|
|
-// CHECK:STDOUT: %HoldsType: type = class_type @HoldsType, @HoldsType(constants.%tuple) [template = constants.%HoldsType.c09]
|
|
|
+// CHECK:STDOUT: %tuple: %tuple.type = tuple_value (%C.ref) [concrete = constants.%tuple]
|
|
|
+// CHECK:STDOUT: %.loc13_26: %tuple.type = converted %.loc13_25, %tuple [concrete = constants.%tuple]
|
|
|
+// CHECK:STDOUT: %HoldsType: type = class_type @HoldsType, @HoldsType(constants.%tuple) [concrete = constants.%HoldsType.c09]
|
|
|
// CHECK:STDOUT: %.loc13_6.2: ref %HoldsType.c09 = temporary_storage
|
|
|
-// CHECK:STDOUT: %.loc13_6.3: init %HoldsType.c09 = class_init (), %.loc13_6.2 [template = constants.%HoldsType.val]
|
|
|
+// CHECK:STDOUT: %.loc13_6.3: init %HoldsType.c09 = class_init (), %.loc13_6.2 [concrete = constants.%HoldsType.val]
|
|
|
// CHECK:STDOUT: %.loc13_6.4: ref %HoldsType.c09 = temporary %.loc13_6.2, %.loc13_6.3
|
|
|
// CHECK:STDOUT: %.loc13_8.1: ref %HoldsType.c09 = converted %.loc13_6.1, %.loc13_6.4
|
|
|
// CHECK:STDOUT: %.loc13_30.1: %empty_struct_type = struct_literal ()
|
|
|
-// CHECK:STDOUT: %F.specific_fn: <specific function> = specific_function %F.ref, @F(constants.%tuple) [template = constants.%F.specific_fn]
|
|
|
+// CHECK:STDOUT: %F.specific_fn: <specific function> = specific_function %F.ref, @F(constants.%tuple) [concrete = constants.%F.specific_fn]
|
|
|
// CHECK:STDOUT: %.loc13_8.2: %HoldsType.c09 = bind_value %.loc13_8.1
|
|
|
// CHECK:STDOUT: %.loc13_30.2: ref %C = temporary_storage
|
|
|
-// CHECK:STDOUT: %.loc13_30.3: init %C = class_init (), %.loc13_30.2 [template = constants.%C.val]
|
|
|
+// CHECK:STDOUT: %.loc13_30.3: init %C = class_init (), %.loc13_30.2 [concrete = constants.%C.val]
|
|
|
// CHECK:STDOUT: %.loc13_30.4: ref %C = temporary %.loc13_30.2, %.loc13_30.3
|
|
|
// CHECK:STDOUT: %.loc13_30.5: ref %C = converted %.loc13_30.1, %.loc13_30.4
|
|
|
// CHECK:STDOUT: %.loc13_30.6: %C = bind_value %.loc13_30.5
|
|
|
@@ -288,39 +288,39 @@ fn G() {
|
|
|
// CHECK:STDOUT: --- struct_access.carbon
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: constants {
|
|
|
-// CHECK:STDOUT: %struct_type.t: type = struct_type {.t: type} [template]
|
|
|
+// CHECK:STDOUT: %struct_type.t: type = struct_type {.t: type} [concrete]
|
|
|
// CHECK:STDOUT: %T: %struct_type.t = bind_symbolic_name T, 0 [symbolic]
|
|
|
// CHECK:STDOUT: %T.patt: %struct_type.t = symbolic_binding_pattern T, 0 [symbolic]
|
|
|
-// CHECK:STDOUT: %HoldsType.type: type = generic_class_type @HoldsType [template]
|
|
|
-// CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [template]
|
|
|
-// CHECK:STDOUT: %HoldsType.generic: %HoldsType.type = struct_value () [template]
|
|
|
+// CHECK:STDOUT: %HoldsType.type: type = generic_class_type @HoldsType [concrete]
|
|
|
+// CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete]
|
|
|
+// CHECK:STDOUT: %HoldsType.generic: %HoldsType.type = struct_value () [concrete]
|
|
|
// CHECK:STDOUT: %HoldsType.843: type = class_type @HoldsType, @HoldsType(%T) [symbolic]
|
|
|
-// CHECK:STDOUT: %empty_struct_type: type = struct_type {} [template]
|
|
|
-// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [template]
|
|
|
+// CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete]
|
|
|
+// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [concrete]
|
|
|
// CHECK:STDOUT: %.20a: type = struct_access %T, element0 [symbolic]
|
|
|
-// CHECK:STDOUT: %F.type: type = fn_type @F [template]
|
|
|
-// CHECK:STDOUT: %F: %F.type = struct_value () [template]
|
|
|
+// CHECK:STDOUT: %F.type: type = fn_type @F [concrete]
|
|
|
+// CHECK:STDOUT: %F: %F.type = struct_value () [concrete]
|
|
|
// CHECK:STDOUT: %require_complete.b19: <witness> = require_complete_type %HoldsType.843 [symbolic]
|
|
|
// CHECK:STDOUT: %require_complete.1b9: <witness> = require_complete_type %.20a [symbolic]
|
|
|
-// CHECK:STDOUT: %C: type = class_type @C [template]
|
|
|
-// CHECK:STDOUT: %G.type: type = fn_type @G [template]
|
|
|
-// CHECK:STDOUT: %G: %G.type = struct_value () [template]
|
|
|
-// CHECK:STDOUT: %struct: %struct_type.t = struct_value (%C) [template]
|
|
|
-// CHECK:STDOUT: %HoldsType.705: type = class_type @HoldsType, @HoldsType(%struct) [template]
|
|
|
-// CHECK:STDOUT: %HoldsType.val: %HoldsType.705 = struct_value () [template]
|
|
|
-// CHECK:STDOUT: %F.specific_fn: <specific function> = specific_function %F, @F(%struct) [template]
|
|
|
-// CHECK:STDOUT: %C.val: %C = struct_value () [template]
|
|
|
+// CHECK:STDOUT: %C: type = class_type @C [concrete]
|
|
|
+// CHECK:STDOUT: %G.type: type = fn_type @G [concrete]
|
|
|
+// CHECK:STDOUT: %G: %G.type = struct_value () [concrete]
|
|
|
+// CHECK:STDOUT: %struct: %struct_type.t = struct_value (%C) [concrete]
|
|
|
+// CHECK:STDOUT: %HoldsType.705: type = class_type @HoldsType, @HoldsType(%struct) [concrete]
|
|
|
+// CHECK:STDOUT: %HoldsType.val: %HoldsType.705 = struct_value () [concrete]
|
|
|
+// CHECK:STDOUT: %F.specific_fn: <specific function> = specific_function %F, @F(%struct) [concrete]
|
|
|
+// CHECK:STDOUT: %C.val: %C = struct_value () [concrete]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: imports {
|
|
|
-// CHECK:STDOUT: %Core: <namespace> = namespace file.%Core.import, [template] {
|
|
|
+// CHECK:STDOUT: %Core: <namespace> = namespace file.%Core.import, [concrete] {
|
|
|
// CHECK:STDOUT: import Core//prelude
|
|
|
// CHECK:STDOUT: import Core//prelude/...
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: file {
|
|
|
-// CHECK:STDOUT: package: <namespace> = namespace [template] {
|
|
|
+// CHECK:STDOUT: package: <namespace> = namespace [concrete] {
|
|
|
// CHECK:STDOUT: .Core = imports.%Core
|
|
|
// CHECK:STDOUT: .HoldsType = %HoldsType.decl
|
|
|
// CHECK:STDOUT: .F = %F.decl
|
|
|
@@ -328,15 +328,15 @@ fn G() {
|
|
|
// CHECK:STDOUT: .G = %G.decl
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %Core.import = import Core
|
|
|
-// CHECK:STDOUT: %HoldsType.decl: %HoldsType.type = class_decl @HoldsType [template = constants.%HoldsType.generic] {
|
|
|
+// CHECK:STDOUT: %HoldsType.decl: %HoldsType.type = class_decl @HoldsType [concrete = constants.%HoldsType.generic] {
|
|
|
// CHECK:STDOUT: %T.patt.loc4_17.1: %struct_type.t = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc4_17.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: %T.param_patt: %struct_type.t = value_param_pattern %T.patt.loc4_17.1, runtime_param<none> [symbolic = %T.patt.loc4_17.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %T.param: %struct_type.t = value_param runtime_param<none>
|
|
|
-// CHECK:STDOUT: %struct_type.t: type = struct_type {.t: type} [template = constants.%struct_type.t]
|
|
|
+// CHECK:STDOUT: %struct_type.t: type = struct_type {.t: type} [concrete = constants.%struct_type.t]
|
|
|
// CHECK:STDOUT: %T.loc4_17.1: %struct_type.t = bind_symbolic_name T, 0, %T.param [symbolic = %T.loc4_17.2 (constants.%T)]
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [template = constants.%F] {
|
|
|
+// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {
|
|
|
// CHECK:STDOUT: %T.patt.loc8_6.1: %struct_type.t = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc8_6.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: %T.param_patt: %struct_type.t = value_param_pattern %T.patt.loc8_6.1, runtime_param<none> [symbolic = %T.patt.loc8_6.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: %x.patt: @F.%HoldsType.loc8_36.2 (%HoldsType.843) = binding_pattern x
|
|
|
@@ -345,11 +345,11 @@ fn G() {
|
|
|
// CHECK:STDOUT: %a.param_patt: @F.%.loc8_43.3 (%.20a) = value_param_pattern %a.patt, runtime_param1
|
|
|
// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %T.param: %struct_type.t = value_param runtime_param<none>
|
|
|
-// CHECK:STDOUT: %struct_type.t: type = struct_type {.t: type} [template = constants.%struct_type.t]
|
|
|
+// CHECK:STDOUT: %struct_type.t: type = struct_type {.t: type} [concrete = constants.%struct_type.t]
|
|
|
// CHECK:STDOUT: %T.loc8_6.1: %struct_type.t = bind_symbolic_name T, 0, %T.param [symbolic = %T.loc8_6.2 (constants.%T)]
|
|
|
// CHECK:STDOUT: %x.param: @F.%HoldsType.loc8_36.2 (%HoldsType.843) = value_param runtime_param0
|
|
|
// CHECK:STDOUT: %.loc8_36: type = splice_block %HoldsType.loc8_36.1 [symbolic = %HoldsType.loc8_36.2 (constants.%HoldsType.843)] {
|
|
|
-// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [template = constants.%HoldsType.generic]
|
|
|
+// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic]
|
|
|
// CHECK:STDOUT: %T.ref.loc8_35: %struct_type.t = name_ref T, %T.loc8_6.1 [symbolic = %T.loc8_6.2 (constants.%T)]
|
|
|
// CHECK:STDOUT: %HoldsType.loc8_36.1: type = class_type @HoldsType, @HoldsType(constants.%T) [symbolic = %HoldsType.loc8_36.2 (constants.%HoldsType.843)]
|
|
|
// CHECK:STDOUT: }
|
|
|
@@ -361,8 +361,8 @@ fn G() {
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %a: @F.%.loc8_43.3 (%.20a) = bind_name a, %a.param
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %C.decl: type = class_decl @C [template = constants.%C] {} {}
|
|
|
-// CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [template = constants.%G] {} {}
|
|
|
+// CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {}
|
|
|
+// CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] {} {}
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: generic class @HoldsType(%T.loc4_17.1: %struct_type.t) {
|
|
|
@@ -372,7 +372,7 @@ fn G() {
|
|
|
// CHECK:STDOUT: !definition:
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: class {
|
|
|
-// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [template = constants.%complete_type]
|
|
|
+// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [concrete = constants.%complete_type]
|
|
|
// CHECK:STDOUT: complete_type_witness = %complete_type
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !members:
|
|
|
@@ -381,7 +381,7 @@ fn G() {
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: class @C {
|
|
|
-// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [template = constants.%complete_type]
|
|
|
+// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [concrete = constants.%complete_type]
|
|
|
// CHECK:STDOUT: complete_type_witness = %complete_type
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !members:
|
|
|
@@ -406,23 +406,23 @@ fn G() {
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: fn @G() {
|
|
|
// CHECK:STDOUT: !entry:
|
|
|
-// CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [template = constants.%F]
|
|
|
+// CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F]
|
|
|
// CHECK:STDOUT: %.loc13_6.1: %empty_struct_type = struct_literal ()
|
|
|
-// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [template = constants.%HoldsType.generic]
|
|
|
-// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [template = constants.%C]
|
|
|
+// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic]
|
|
|
+// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C]
|
|
|
// CHECK:STDOUT: %.loc13_28: %struct_type.t = struct_literal (%C.ref)
|
|
|
-// CHECK:STDOUT: %struct: %struct_type.t = struct_value (%C.ref) [template = constants.%struct]
|
|
|
-// CHECK:STDOUT: %.loc13_29: %struct_type.t = converted %.loc13_28, %struct [template = constants.%struct]
|
|
|
-// CHECK:STDOUT: %HoldsType: type = class_type @HoldsType, @HoldsType(constants.%struct) [template = constants.%HoldsType.705]
|
|
|
+// CHECK:STDOUT: %struct: %struct_type.t = struct_value (%C.ref) [concrete = constants.%struct]
|
|
|
+// CHECK:STDOUT: %.loc13_29: %struct_type.t = converted %.loc13_28, %struct [concrete = constants.%struct]
|
|
|
+// CHECK:STDOUT: %HoldsType: type = class_type @HoldsType, @HoldsType(constants.%struct) [concrete = constants.%HoldsType.705]
|
|
|
// CHECK:STDOUT: %.loc13_6.2: ref %HoldsType.705 = temporary_storage
|
|
|
-// CHECK:STDOUT: %.loc13_6.3: init %HoldsType.705 = class_init (), %.loc13_6.2 [template = constants.%HoldsType.val]
|
|
|
+// CHECK:STDOUT: %.loc13_6.3: init %HoldsType.705 = class_init (), %.loc13_6.2 [concrete = constants.%HoldsType.val]
|
|
|
// CHECK:STDOUT: %.loc13_6.4: ref %HoldsType.705 = temporary %.loc13_6.2, %.loc13_6.3
|
|
|
// CHECK:STDOUT: %.loc13_8.1: ref %HoldsType.705 = converted %.loc13_6.1, %.loc13_6.4
|
|
|
// CHECK:STDOUT: %.loc13_33.1: %empty_struct_type = struct_literal ()
|
|
|
-// CHECK:STDOUT: %F.specific_fn: <specific function> = specific_function %F.ref, @F(constants.%struct) [template = constants.%F.specific_fn]
|
|
|
+// CHECK:STDOUT: %F.specific_fn: <specific function> = specific_function %F.ref, @F(constants.%struct) [concrete = constants.%F.specific_fn]
|
|
|
// CHECK:STDOUT: %.loc13_8.2: %HoldsType.705 = bind_value %.loc13_8.1
|
|
|
// CHECK:STDOUT: %.loc13_33.2: ref %C = temporary_storage
|
|
|
-// CHECK:STDOUT: %.loc13_33.3: init %C = class_init (), %.loc13_33.2 [template = constants.%C.val]
|
|
|
+// CHECK:STDOUT: %.loc13_33.3: init %C = class_init (), %.loc13_33.2 [concrete = constants.%C.val]
|
|
|
// CHECK:STDOUT: %.loc13_33.4: ref %C = temporary %.loc13_33.2, %.loc13_33.3
|
|
|
// CHECK:STDOUT: %.loc13_33.5: ref %C = converted %.loc13_33.1, %.loc13_33.4
|
|
|
// CHECK:STDOUT: %.loc13_33.6: %C = bind_value %.loc13_33.5
|
|
|
@@ -467,40 +467,40 @@ fn G() {
|
|
|
// CHECK:STDOUT: --- fail_todo_class_access.carbon
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: constants {
|
|
|
-// CHECK:STDOUT: %Class: type = class_type @Class [template]
|
|
|
-// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, type [template]
|
|
|
-// CHECK:STDOUT: %struct_type.t: type = struct_type {.t: type} [template]
|
|
|
-// CHECK:STDOUT: %complete_type.509: <witness> = complete_type_witness %struct_type.t [template]
|
|
|
+// CHECK:STDOUT: %Class: type = class_type @Class [concrete]
|
|
|
+// CHECK:STDOUT: %Class.elem: type = unbound_element_type %Class, type [concrete]
|
|
|
+// CHECK:STDOUT: %struct_type.t: type = struct_type {.t: type} [concrete]
|
|
|
+// CHECK:STDOUT: %complete_type.509: <witness> = complete_type_witness %struct_type.t [concrete]
|
|
|
// CHECK:STDOUT: %T: %Class = bind_symbolic_name T, 0 [symbolic]
|
|
|
// CHECK:STDOUT: %T.patt: %Class = symbolic_binding_pattern T, 0 [symbolic]
|
|
|
-// CHECK:STDOUT: %HoldsType.type: type = generic_class_type @HoldsType [template]
|
|
|
-// CHECK:STDOUT: %HoldsType.generic: %HoldsType.type = struct_value () [template]
|
|
|
+// CHECK:STDOUT: %HoldsType.type: type = generic_class_type @HoldsType [concrete]
|
|
|
+// CHECK:STDOUT: %HoldsType.generic: %HoldsType.type = struct_value () [concrete]
|
|
|
// CHECK:STDOUT: %HoldsType.f95cf2.1: type = class_type @HoldsType, @HoldsType(%T) [symbolic]
|
|
|
-// CHECK:STDOUT: %empty_struct_type: type = struct_type {} [template]
|
|
|
-// CHECK:STDOUT: %complete_type.357: <witness> = complete_type_witness %empty_struct_type [template]
|
|
|
+// CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete]
|
|
|
+// CHECK:STDOUT: %complete_type.357: <witness> = complete_type_witness %empty_struct_type [concrete]
|
|
|
// CHECK:STDOUT: %.2fe: ref type = class_element_access %T, element0 [symbolic]
|
|
|
-// CHECK:STDOUT: %F.type: type = fn_type @F [template]
|
|
|
-// CHECK:STDOUT: %F: %F.type = struct_value () [template]
|
|
|
+// CHECK:STDOUT: %F.type: type = fn_type @F [concrete]
|
|
|
+// CHECK:STDOUT: %F: %F.type = struct_value () [concrete]
|
|
|
// CHECK:STDOUT: %require_complete.8fa644.1: <witness> = require_complete_type %HoldsType.f95cf2.1 [symbolic]
|
|
|
-// CHECK:STDOUT: %C: type = class_type @C [template]
|
|
|
-// CHECK:STDOUT: %G.type: type = fn_type @G [template]
|
|
|
-// CHECK:STDOUT: %G: %G.type = struct_value () [template]
|
|
|
+// CHECK:STDOUT: %C: type = class_type @C [concrete]
|
|
|
+// CHECK:STDOUT: %G.type: type = fn_type @G [concrete]
|
|
|
+// CHECK:STDOUT: %G: %G.type = struct_value () [concrete]
|
|
|
// CHECK:STDOUT: %c: %Class = bind_symbolic_name c, 0 [symbolic]
|
|
|
// CHECK:STDOUT: %c.patt: %Class = symbolic_binding_pattern c, 0 [symbolic]
|
|
|
-// CHECK:STDOUT: %Class.val: %Class = struct_value (%C) [template]
|
|
|
+// CHECK:STDOUT: %Class.val: %Class = struct_value (%C) [concrete]
|
|
|
// CHECK:STDOUT: %HoldsType.f95cf2.2: type = class_type @HoldsType, @HoldsType(%c) [symbolic]
|
|
|
// CHECK:STDOUT: %HoldsType.val: %HoldsType.f95cf2.2 = struct_value () [symbolic]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: imports {
|
|
|
-// CHECK:STDOUT: %Core: <namespace> = namespace file.%Core.import, [template] {
|
|
|
+// CHECK:STDOUT: %Core: <namespace> = namespace file.%Core.import, [concrete] {
|
|
|
// CHECK:STDOUT: import Core//prelude
|
|
|
// CHECK:STDOUT: import Core//prelude/...
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: file {
|
|
|
-// CHECK:STDOUT: package: <namespace> = namespace [template] {
|
|
|
+// CHECK:STDOUT: package: <namespace> = namespace [concrete] {
|
|
|
// CHECK:STDOUT: .Core = imports.%Core
|
|
|
// CHECK:STDOUT: .Class = %Class.decl
|
|
|
// CHECK:STDOUT: .HoldsType = %HoldsType.decl
|
|
|
@@ -509,16 +509,16 @@ fn G() {
|
|
|
// CHECK:STDOUT: .G = %G.decl
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %Core.import = import Core
|
|
|
-// CHECK:STDOUT: %Class.decl: type = class_decl @Class [template = constants.%Class] {} {}
|
|
|
-// CHECK:STDOUT: %HoldsType.decl: %HoldsType.type = class_decl @HoldsType [template = constants.%HoldsType.generic] {
|
|
|
+// CHECK:STDOUT: %Class.decl: type = class_decl @Class [concrete = constants.%Class] {} {}
|
|
|
+// CHECK:STDOUT: %HoldsType.decl: %HoldsType.type = class_decl @HoldsType [concrete = constants.%HoldsType.generic] {
|
|
|
// CHECK:STDOUT: %T.patt.loc8_17.1: %Class = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc8_17.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: %T.param_patt: %Class = value_param_pattern %T.patt.loc8_17.1, runtime_param<none> [symbolic = %T.patt.loc8_17.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %T.param: %Class = value_param runtime_param<none>
|
|
|
-// CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [template = constants.%Class]
|
|
|
+// CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [concrete = constants.%Class]
|
|
|
// CHECK:STDOUT: %T.loc8_17.1: %Class = bind_symbolic_name T, 0, %T.param [symbolic = %T.loc8_17.2 (constants.%T)]
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [template = constants.%F] {
|
|
|
+// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {
|
|
|
// CHECK:STDOUT: %T.patt.loc21_6.1: %Class = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc21_6.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: %T.param_patt: %Class = value_param_pattern %T.patt.loc21_6.1, runtime_param<none> [symbolic = %T.patt.loc21_6.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: %x.patt: @F.%HoldsType.loc21_31.2 (%HoldsType.f95cf2.1) = binding_pattern x
|
|
|
@@ -527,35 +527,35 @@ fn G() {
|
|
|
// CHECK:STDOUT: %a.param_patt: <error> = value_param_pattern %a.patt, runtime_param1
|
|
|
// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %T.param: %Class = value_param runtime_param<none>
|
|
|
-// CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [template = constants.%Class]
|
|
|
+// CHECK:STDOUT: %Class.ref: type = name_ref Class, file.%Class.decl [concrete = constants.%Class]
|
|
|
// CHECK:STDOUT: %T.loc21_6.1: %Class = bind_symbolic_name T, 0, %T.param [symbolic = %T.loc21_6.2 (constants.%T)]
|
|
|
// CHECK:STDOUT: %x.param: @F.%HoldsType.loc21_31.2 (%HoldsType.f95cf2.1) = value_param runtime_param0
|
|
|
// CHECK:STDOUT: %.loc21_31: type = splice_block %HoldsType.loc21_31.1 [symbolic = %HoldsType.loc21_31.2 (constants.%HoldsType.f95cf2.1)] {
|
|
|
-// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [template = constants.%HoldsType.generic]
|
|
|
+// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic]
|
|
|
// CHECK:STDOUT: %T.ref.loc21_30: %Class = name_ref T, %T.loc21_6.1 [symbolic = %T.loc21_6.2 (constants.%T)]
|
|
|
// CHECK:STDOUT: %HoldsType.loc21_31.1: type = class_type @HoldsType, @HoldsType(constants.%T) [symbolic = %HoldsType.loc21_31.2 (constants.%HoldsType.f95cf2.1)]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %x: @F.%HoldsType.loc21_31.2 (%HoldsType.f95cf2.1) = bind_name x, %x.param
|
|
|
// CHECK:STDOUT: %a.param: <error> = value_param runtime_param1
|
|
|
-// CHECK:STDOUT: %.1: <error> = splice_block <error> [template = <error>] {
|
|
|
+// CHECK:STDOUT: %.1: <error> = splice_block <error> [concrete = <error>] {
|
|
|
// CHECK:STDOUT: %T.ref.loc21_37: %Class = name_ref T, %T.loc21_6.1 [symbolic = %T.loc21_6.2 (constants.%T)]
|
|
|
-// CHECK:STDOUT: %t.ref: %Class.elem = name_ref t, @Class.%.loc5_8 [template = @Class.%.loc5_8]
|
|
|
+// CHECK:STDOUT: %t.ref: %Class.elem = name_ref t, @Class.%.loc5_8 [concrete = @Class.%.loc5_8]
|
|
|
// CHECK:STDOUT: %.loc21_38.1: ref type = class_element_access %T.ref.loc21_37, element0 [symbolic = %.loc21_38.3 (constants.%.2fe)]
|
|
|
// CHECK:STDOUT: %.loc21_38.2: type = bind_value %.loc21_38.1
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %a: <error> = bind_name a, %a.param
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %C.decl: type = class_decl @C [template = constants.%C] {} {}
|
|
|
-// CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [template = constants.%G] {} {}
|
|
|
+// CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {}
|
|
|
+// CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] {} {}
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: class @Class {
|
|
|
-// CHECK:STDOUT: %.loc5_8: %Class.elem = field_decl t, element0 [template]
|
|
|
+// CHECK:STDOUT: %.loc5_8: %Class.elem = field_decl t, element0 [concrete]
|
|
|
// CHECK:STDOUT: name_binding_decl {
|
|
|
// CHECK:STDOUT: %.loc5_3: %Class.elem = var_pattern %.loc5_8
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %.var: ref %Class.elem = var <none>
|
|
|
-// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %struct_type.t [template = constants.%complete_type.509]
|
|
|
+// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %struct_type.t [concrete = constants.%complete_type.509]
|
|
|
// CHECK:STDOUT: complete_type_witness = %complete_type
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !members:
|
|
|
@@ -570,7 +570,7 @@ fn G() {
|
|
|
// CHECK:STDOUT: !definition:
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: class {
|
|
|
-// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [template = constants.%complete_type.357]
|
|
|
+// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [concrete = constants.%complete_type.357]
|
|
|
// CHECK:STDOUT: complete_type_witness = %complete_type
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !members:
|
|
|
@@ -579,7 +579,7 @@ fn G() {
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: class @C {
|
|
|
-// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [template = constants.%complete_type.357]
|
|
|
+// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [concrete = constants.%complete_type.357]
|
|
|
// CHECK:STDOUT: complete_type_witness = %complete_type
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !members:
|
|
|
@@ -606,20 +606,20 @@ fn G() {
|
|
|
// CHECK:STDOUT: name_binding_decl {
|
|
|
// CHECK:STDOUT: %c.patt: %Class = symbolic_binding_pattern c, 0 [symbolic = constants.%c.patt]
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [template = constants.%C]
|
|
|
+// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C]
|
|
|
// CHECK:STDOUT: %.loc26_26.1: %struct_type.t = struct_literal (%C.ref)
|
|
|
-// CHECK:STDOUT: %Class.ref.loc26_31: type = name_ref Class, file.%Class.decl [template = constants.%Class]
|
|
|
+// CHECK:STDOUT: %Class.ref.loc26_31: type = name_ref Class, file.%Class.decl [concrete = constants.%Class]
|
|
|
// CHECK:STDOUT: %.loc26_26.2: ref %Class = temporary_storage
|
|
|
// CHECK:STDOUT: %.loc26_26.3: ref type = class_element_access %.loc26_26.2, element0
|
|
|
-// CHECK:STDOUT: %.loc26_26.4: init type = initialize_from %C.ref to %.loc26_26.3 [template = constants.%C]
|
|
|
-// CHECK:STDOUT: %.loc26_26.5: init %Class = class_init (%.loc26_26.4), %.loc26_26.2 [template = constants.%Class.val]
|
|
|
+// CHECK:STDOUT: %.loc26_26.4: init type = initialize_from %C.ref to %.loc26_26.3 [concrete = constants.%C]
|
|
|
+// CHECK:STDOUT: %.loc26_26.5: init %Class = class_init (%.loc26_26.4), %.loc26_26.2 [concrete = constants.%Class.val]
|
|
|
// CHECK:STDOUT: %.loc26_26.6: ref %Class = temporary %.loc26_26.2, %.loc26_26.5
|
|
|
// CHECK:STDOUT: %.loc26_28: ref %Class = converted %.loc26_26.1, %.loc26_26.6
|
|
|
-// CHECK:STDOUT: %Class.ref.loc26_11: type = name_ref Class, file.%Class.decl [template = constants.%Class]
|
|
|
+// CHECK:STDOUT: %Class.ref.loc26_11: type = name_ref Class, file.%Class.decl [concrete = constants.%Class]
|
|
|
// CHECK:STDOUT: %c: %Class = bind_symbolic_name c, 0, %.loc26_28 [symbolic = constants.%c]
|
|
|
-// CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [template = constants.%F]
|
|
|
+// CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F]
|
|
|
// CHECK:STDOUT: %.loc27_6.1: %empty_struct_type = struct_literal ()
|
|
|
-// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [template = constants.%HoldsType.generic]
|
|
|
+// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic]
|
|
|
// CHECK:STDOUT: %c.ref: %Class = name_ref c, %c [symbolic = constants.%c]
|
|
|
// CHECK:STDOUT: %HoldsType: type = class_type @HoldsType, @HoldsType(constants.%c) [symbolic = constants.%HoldsType.f95cf2.2]
|
|
|
// CHECK:STDOUT: %.loc27_6.2: ref %HoldsType.f95cf2.2 = temporary_storage
|
|
|
@@ -656,40 +656,40 @@ fn G() {
|
|
|
// CHECK:STDOUT: --- fail_todo_array_index.carbon
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: constants {
|
|
|
-// CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [template]
|
|
|
-// CHECK:STDOUT: %array_type: type = array_type %int_1, type [template]
|
|
|
+// CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete]
|
|
|
+// CHECK:STDOUT: %array_type: type = array_type %int_1, type [concrete]
|
|
|
// CHECK:STDOUT: %T: %array_type = bind_symbolic_name T, 0 [symbolic]
|
|
|
// CHECK:STDOUT: %T.patt: %array_type = symbolic_binding_pattern T, 0 [symbolic]
|
|
|
-// CHECK:STDOUT: %HoldsType.type: type = generic_class_type @HoldsType [template]
|
|
|
-// CHECK:STDOUT: %HoldsType.generic: %HoldsType.type = struct_value () [template]
|
|
|
+// CHECK:STDOUT: %HoldsType.type: type = generic_class_type @HoldsType [concrete]
|
|
|
+// CHECK:STDOUT: %HoldsType.generic: %HoldsType.type = struct_value () [concrete]
|
|
|
// CHECK:STDOUT: %HoldsType: type = class_type @HoldsType, @HoldsType(%T) [symbolic]
|
|
|
-// CHECK:STDOUT: %empty_struct_type: type = struct_type {} [template]
|
|
|
-// CHECK:STDOUT: %complete_type.357: <witness> = complete_type_witness %empty_struct_type [template]
|
|
|
-// CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [template]
|
|
|
-// CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [template]
|
|
|
-// CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [template]
|
|
|
-// CHECK:STDOUT: %ImplicitAs.type.205: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [template]
|
|
|
-// CHECK:STDOUT: %Convert.type.1b6: type = fn_type @Convert.1, @ImplicitAs(%i32) [template]
|
|
|
-// CHECK:STDOUT: %impl_witness.d39: <witness> = impl_witness (imports.%Core.import_ref.a5b), @impl.1(%int_32) [template]
|
|
|
-// CHECK:STDOUT: %Convert.type.035: type = fn_type @Convert.2, @impl.1(%int_32) [template]
|
|
|
-// CHECK:STDOUT: %Convert.956: %Convert.type.035 = struct_value () [template]
|
|
|
-// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.205 = facet_value Core.IntLiteral, %impl_witness.d39 [template]
|
|
|
-// CHECK:STDOUT: %.a0b: type = fn_type_with_self_type %Convert.type.1b6, %ImplicitAs.facet [template]
|
|
|
-// CHECK:STDOUT: %Convert.bound: <bound method> = bound_method %int_0.5c6, %Convert.956 [template]
|
|
|
-// CHECK:STDOUT: %Convert.specific_fn: <specific function> = specific_function %Convert.bound, @Convert.2(%int_32) [template]
|
|
|
-// CHECK:STDOUT: %int_0.6a9: %i32 = int_value 0 [template]
|
|
|
-// CHECK:STDOUT: %F.type: type = fn_type @F [template]
|
|
|
-// CHECK:STDOUT: %F: %F.type = struct_value () [template]
|
|
|
+// CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete]
|
|
|
+// CHECK:STDOUT: %complete_type.357: <witness> = complete_type_witness %empty_struct_type [concrete]
|
|
|
+// CHECK:STDOUT: %int_0.5c6: Core.IntLiteral = int_value 0 [concrete]
|
|
|
+// CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete]
|
|
|
+// CHECK:STDOUT: %i32: type = class_type @Int, @Int(%int_32) [concrete]
|
|
|
+// CHECK:STDOUT: %ImplicitAs.type.205: type = facet_type <@ImplicitAs, @ImplicitAs(%i32)> [concrete]
|
|
|
+// CHECK:STDOUT: %Convert.type.1b6: type = fn_type @Convert.1, @ImplicitAs(%i32) [concrete]
|
|
|
+// CHECK:STDOUT: %impl_witness.d39: <witness> = impl_witness (imports.%Core.import_ref.a5b), @impl.1(%int_32) [concrete]
|
|
|
+// CHECK:STDOUT: %Convert.type.035: type = fn_type @Convert.2, @impl.1(%int_32) [concrete]
|
|
|
+// CHECK:STDOUT: %Convert.956: %Convert.type.035 = struct_value () [concrete]
|
|
|
+// CHECK:STDOUT: %ImplicitAs.facet: %ImplicitAs.type.205 = facet_value Core.IntLiteral, %impl_witness.d39 [concrete]
|
|
|
+// CHECK:STDOUT: %.a0b: type = fn_type_with_self_type %Convert.type.1b6, %ImplicitAs.facet [concrete]
|
|
|
+// CHECK:STDOUT: %Convert.bound: <bound method> = bound_method %int_0.5c6, %Convert.956 [concrete]
|
|
|
+// CHECK:STDOUT: %Convert.specific_fn: <specific function> = specific_function %Convert.bound, @Convert.2(%int_32) [concrete]
|
|
|
+// CHECK:STDOUT: %int_0.6a9: %i32 = int_value 0 [concrete]
|
|
|
+// CHECK:STDOUT: %F.type: type = fn_type @F [concrete]
|
|
|
+// CHECK:STDOUT: %F: %F.type = struct_value () [concrete]
|
|
|
// CHECK:STDOUT: %require_complete.640: <witness> = require_complete_type %HoldsType [symbolic]
|
|
|
-// CHECK:STDOUT: %C: type = class_type @C [template]
|
|
|
-// CHECK:STDOUT: %G.type: type = fn_type @G [template]
|
|
|
-// CHECK:STDOUT: %G: %G.type = struct_value () [template]
|
|
|
-// CHECK:STDOUT: %tuple.type: type = tuple_type (type) [template]
|
|
|
-// CHECK:STDOUT: %array: %array_type = tuple_value (%C) [template]
|
|
|
+// CHECK:STDOUT: %C: type = class_type @C [concrete]
|
|
|
+// CHECK:STDOUT: %G.type: type = fn_type @G [concrete]
|
|
|
+// CHECK:STDOUT: %G: %G.type = struct_value () [concrete]
|
|
|
+// CHECK:STDOUT: %tuple.type: type = tuple_type (type) [concrete]
|
|
|
+// CHECK:STDOUT: %array: %array_type = tuple_value (%C) [concrete]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: imports {
|
|
|
-// CHECK:STDOUT: %Core: <namespace> = namespace file.%Core.import, [template] {
|
|
|
+// CHECK:STDOUT: %Core: <namespace> = namespace file.%Core.import, [concrete] {
|
|
|
// CHECK:STDOUT: .Int = %Core.Int
|
|
|
// CHECK:STDOUT: .ImplicitAs = %Core.ImplicitAs
|
|
|
// CHECK:STDOUT: import Core//prelude
|
|
|
@@ -698,7 +698,7 @@ fn G() {
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: file {
|
|
|
-// CHECK:STDOUT: package: <namespace> = namespace [template] {
|
|
|
+// CHECK:STDOUT: package: <namespace> = namespace [concrete] {
|
|
|
// CHECK:STDOUT: .Core = imports.%Core
|
|
|
// CHECK:STDOUT: .HoldsType = %HoldsType.decl
|
|
|
// CHECK:STDOUT: .F = %F.decl
|
|
|
@@ -706,18 +706,18 @@ fn G() {
|
|
|
// CHECK:STDOUT: .G = %G.decl
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %Core.import = import Core
|
|
|
-// CHECK:STDOUT: %HoldsType.decl: %HoldsType.type = class_decl @HoldsType [template = constants.%HoldsType.generic] {
|
|
|
+// CHECK:STDOUT: %HoldsType.decl: %HoldsType.type = class_decl @HoldsType [concrete = constants.%HoldsType.generic] {
|
|
|
// CHECK:STDOUT: %T.patt.loc4_17.1: %array_type = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc4_17.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: %T.param_patt: %array_type = value_param_pattern %T.patt.loc4_17.1, runtime_param<none> [symbolic = %T.patt.loc4_17.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %T.param: %array_type = value_param runtime_param<none>
|
|
|
-// CHECK:STDOUT: %.loc4: type = splice_block %array_type [template = constants.%array_type] {
|
|
|
-// CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [template = constants.%int_1]
|
|
|
-// CHECK:STDOUT: %array_type: type = array_type %int_1, type [template = constants.%array_type]
|
|
|
+// CHECK:STDOUT: %.loc4: type = splice_block %array_type [concrete = constants.%array_type] {
|
|
|
+// CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1]
|
|
|
+// CHECK:STDOUT: %array_type: type = array_type %int_1, type [concrete = constants.%array_type]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %T.loc4_17.1: %array_type = bind_symbolic_name T, 0, %T.param [symbolic = %T.loc4_17.2 (constants.%T)]
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [template = constants.%F] {
|
|
|
+// CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {
|
|
|
// CHECK:STDOUT: %T.patt.loc12_6.1: %array_type = symbolic_binding_pattern T, 0 [symbolic = %T.patt.loc12_6.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: %T.param_patt: %array_type = value_param_pattern %T.patt.loc12_6.1, runtime_param<none> [symbolic = %T.patt.loc12_6.2 (constants.%T.patt)]
|
|
|
// CHECK:STDOUT: %x.patt: @F.%HoldsType.loc12_35.2 (%HoldsType) = binding_pattern x
|
|
|
@@ -726,38 +726,38 @@ fn G() {
|
|
|
// CHECK:STDOUT: %a.param_patt: <error> = value_param_pattern %a.patt, runtime_param1
|
|
|
// CHECK:STDOUT: } {
|
|
|
// CHECK:STDOUT: %T.param: %array_type = value_param runtime_param<none>
|
|
|
-// CHECK:STDOUT: %.loc12_18: type = splice_block %array_type [template = constants.%array_type] {
|
|
|
-// CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [template = constants.%int_1]
|
|
|
-// CHECK:STDOUT: %array_type: type = array_type %int_1, type [template = constants.%array_type]
|
|
|
+// CHECK:STDOUT: %.loc12_18: type = splice_block %array_type [concrete = constants.%array_type] {
|
|
|
+// CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1]
|
|
|
+// CHECK:STDOUT: %array_type: type = array_type %int_1, type [concrete = constants.%array_type]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %T.loc12_6.1: %array_type = bind_symbolic_name T, 0, %T.param [symbolic = %T.loc12_6.2 (constants.%T)]
|
|
|
// CHECK:STDOUT: %x.param: @F.%HoldsType.loc12_35.2 (%HoldsType) = value_param runtime_param0
|
|
|
// CHECK:STDOUT: %.loc12_35: type = splice_block %HoldsType.loc12_35.1 [symbolic = %HoldsType.loc12_35.2 (constants.%HoldsType)] {
|
|
|
-// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [template = constants.%HoldsType.generic]
|
|
|
+// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic]
|
|
|
// CHECK:STDOUT: %T.ref.loc12_34: %array_type = name_ref T, %T.loc12_6.1 [symbolic = %T.loc12_6.2 (constants.%T)]
|
|
|
// CHECK:STDOUT: %HoldsType.loc12_35.1: type = class_type @HoldsType, @HoldsType(constants.%T) [symbolic = %HoldsType.loc12_35.2 (constants.%HoldsType)]
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %x: @F.%HoldsType.loc12_35.2 (%HoldsType) = bind_name x, %x.param
|
|
|
// CHECK:STDOUT: %a.param: <error> = value_param runtime_param1
|
|
|
-// CHECK:STDOUT: %.1: <error> = splice_block <error> [template = <error>] {
|
|
|
+// CHECK:STDOUT: %.1: <error> = splice_block <error> [concrete = <error>] {
|
|
|
// CHECK:STDOUT: %T.ref.loc12_41: %array_type = name_ref T, %T.loc12_6.1 [symbolic = %T.loc12_6.2 (constants.%T)]
|
|
|
-// CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [template = constants.%int_0.5c6]
|
|
|
-// CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [template = constants.%int_32]
|
|
|
-// CHECK:STDOUT: %i32: type = class_type @Int, @Int(constants.%int_32) [template = constants.%i32]
|
|
|
-// CHECK:STDOUT: %impl.elem0: %.a0b = impl_witness_access constants.%impl_witness.d39, element0 [template = constants.%Convert.956]
|
|
|
-// CHECK:STDOUT: %bound_method: <bound method> = bound_method %int_0, %impl.elem0 [template = constants.%Convert.bound]
|
|
|
-// CHECK:STDOUT: %specific_fn: <specific function> = specific_function %bound_method, @Convert.2(constants.%int_32) [template = constants.%Convert.specific_fn]
|
|
|
-// CHECK:STDOUT: %int.convert_checked: init %i32 = call %specific_fn(%int_0) [template = constants.%int_0.6a9]
|
|
|
-// CHECK:STDOUT: %.loc12_43.1: %i32 = value_of_initializer %int.convert_checked [template = constants.%int_0.6a9]
|
|
|
-// CHECK:STDOUT: %.loc12_43.2: %i32 = converted %int_0, %.loc12_43.1 [template = constants.%int_0.6a9]
|
|
|
+// CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6]
|
|
|
+// CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete = constants.%int_32]
|
|
|
+// CHECK:STDOUT: %i32: type = class_type @Int, @Int(constants.%int_32) [concrete = constants.%i32]
|
|
|
+// CHECK:STDOUT: %impl.elem0: %.a0b = impl_witness_access constants.%impl_witness.d39, element0 [concrete = constants.%Convert.956]
|
|
|
+// CHECK:STDOUT: %bound_method: <bound method> = bound_method %int_0, %impl.elem0 [concrete = constants.%Convert.bound]
|
|
|
+// CHECK:STDOUT: %specific_fn: <specific function> = specific_function %bound_method, @Convert.2(constants.%int_32) [concrete = constants.%Convert.specific_fn]
|
|
|
+// CHECK:STDOUT: %int.convert_checked: init %i32 = call %specific_fn(%int_0) [concrete = constants.%int_0.6a9]
|
|
|
+// CHECK:STDOUT: %.loc12_43.1: %i32 = value_of_initializer %int.convert_checked [concrete = constants.%int_0.6a9]
|
|
|
+// CHECK:STDOUT: %.loc12_43.2: %i32 = converted %int_0, %.loc12_43.1 [concrete = constants.%int_0.6a9]
|
|
|
// CHECK:STDOUT: %.loc12_44.1: ref %array_type = value_as_ref %T.ref.loc12_41
|
|
|
// CHECK:STDOUT: %.loc12_44.2: ref type = array_index %.loc12_44.1, %.loc12_43.2
|
|
|
// CHECK:STDOUT: %.loc12_44.3: type = bind_value %.loc12_44.2
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT: %a: <error> = bind_name a, %a.param
|
|
|
// CHECK:STDOUT: }
|
|
|
-// CHECK:STDOUT: %C.decl: type = class_decl @C [template = constants.%C] {} {}
|
|
|
-// CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [template = constants.%G] {} {}
|
|
|
+// CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {}
|
|
|
+// CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] {} {}
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: generic class @HoldsType(%T.loc4_17.1: %array_type) {
|
|
|
@@ -767,7 +767,7 @@ fn G() {
|
|
|
// CHECK:STDOUT: !definition:
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: class {
|
|
|
-// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [template = constants.%complete_type.357]
|
|
|
+// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [concrete = constants.%complete_type.357]
|
|
|
// CHECK:STDOUT: complete_type_witness = %complete_type
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !members:
|
|
|
@@ -776,7 +776,7 @@ fn G() {
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: class @C {
|
|
|
-// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [template = constants.%complete_type.357]
|
|
|
+// CHECK:STDOUT: %complete_type: <witness> = complete_type_witness %empty_struct_type [concrete = constants.%complete_type.357]
|
|
|
// CHECK:STDOUT: complete_type_witness = %complete_type
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !members:
|
|
|
@@ -799,19 +799,19 @@ fn G() {
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: fn @G() {
|
|
|
// CHECK:STDOUT: !entry:
|
|
|
-// CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [template = constants.%F]
|
|
|
+// CHECK:STDOUT: %F.ref: %F.type = name_ref F, file.%F.decl [concrete = constants.%F]
|
|
|
// CHECK:STDOUT: %.loc24_6: %empty_struct_type = struct_literal ()
|
|
|
-// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [template = constants.%HoldsType.generic]
|
|
|
-// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [template = constants.%C]
|
|
|
+// CHECK:STDOUT: %HoldsType.ref: %HoldsType.type = name_ref HoldsType, file.%HoldsType.decl [concrete = constants.%HoldsType.generic]
|
|
|
+// CHECK:STDOUT: %C.ref: type = name_ref C, file.%C.decl [concrete = constants.%C]
|
|
|
// CHECK:STDOUT: %.loc24_25.1: %tuple.type = tuple_literal (%C.ref)
|
|
|
-// CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [template = constants.%int_1]
|
|
|
-// CHECK:STDOUT: %array_type: type = array_type %int_1, type [template = constants.%array_type]
|
|
|
+// CHECK:STDOUT: %int_1: Core.IntLiteral = int_value 1 [concrete = constants.%int_1]
|
|
|
+// CHECK:STDOUT: %array_type: type = array_type %int_1, type [concrete = constants.%array_type]
|
|
|
// CHECK:STDOUT: %.loc24_25.2: ref %array_type = temporary_storage
|
|
|
-// CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [template = constants.%int_0.5c6]
|
|
|
+// CHECK:STDOUT: %int_0: Core.IntLiteral = int_value 0 [concrete = constants.%int_0.5c6]
|
|
|
// CHECK:STDOUT: %.loc24_25.3: ref type = array_index %.loc24_25.2, %int_0
|
|
|
-// CHECK:STDOUT: %.loc24_25.4: init type = initialize_from %C.ref to %.loc24_25.3 [template = constants.%C]
|
|
|
-// CHECK:STDOUT: %.loc24_25.5: init %array_type = array_init (%.loc24_25.4) to %.loc24_25.2 [template = constants.%array]
|
|
|
-// CHECK:STDOUT: %.loc24_27.1: init %array_type = converted %.loc24_25.1, %.loc24_25.5 [template = constants.%array]
|
|
|
+// CHECK:STDOUT: %.loc24_25.4: init type = initialize_from %C.ref to %.loc24_25.3 [concrete = constants.%C]
|
|
|
+// CHECK:STDOUT: %.loc24_25.5: init %array_type = array_init (%.loc24_25.4) to %.loc24_25.2 [concrete = constants.%array]
|
|
|
+// CHECK:STDOUT: %.loc24_27.1: init %array_type = converted %.loc24_25.1, %.loc24_25.5 [concrete = constants.%array]
|
|
|
// CHECK:STDOUT: %.loc24_27.2: ref %array_type = temporary %.loc24_25.2, %.loc24_27.1
|
|
|
// CHECK:STDOUT: %.loc24_27.3: %array_type = bind_value %.loc24_27.2
|
|
|
// CHECK:STDOUT: %.loc24_43: %empty_struct_type = struct_literal ()
|