|
|
@@ -88,6 +88,18 @@ fn F();
|
|
|
|
|
|
// CHECK:STDOUT: --- function.carbon
|
|
|
// CHECK:STDOUT:
|
|
|
+// CHECK:STDOUT: constants {
|
|
|
+// CHECK:STDOUT: %A.type: type = fn_type @A [concrete]
|
|
|
+// CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete]
|
|
|
+// CHECK:STDOUT: %A: %A.type = struct_value () [concrete]
|
|
|
+// CHECK:STDOUT: %pattern_type: type = pattern_type %empty_tuple.type [concrete]
|
|
|
+// CHECK:STDOUT: %B.type: type = fn_type @B [concrete]
|
|
|
+// CHECK:STDOUT: %B: %B.type = struct_value () [concrete]
|
|
|
+// CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete]
|
|
|
+// CHECK:STDOUT: %C.type: type = fn_type @C [concrete]
|
|
|
+// CHECK:STDOUT: %C: %C.type = struct_value () [concrete]
|
|
|
+// CHECK:STDOUT: }
|
|
|
+// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: file {
|
|
|
// CHECK:STDOUT: %C.decl: %C.type = fn_decl @C [concrete = constants.%C] {
|
|
|
// CHECK:STDOUT: %return.patt: %pattern_type = return_slot_pattern [concrete]
|
|
|
@@ -102,10 +114,12 @@ fn F();
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: fn @B() -> %empty_tuple.type {
|
|
|
// CHECK:STDOUT: !entry:
|
|
|
+// CHECK:STDOUT: <elided>
|
|
|
// CHECK:STDOUT: %b.ref.loc11: ref %empty_tuple.type = name_ref b, %b
|
|
|
// CHECK:STDOUT: %A.ref: %A.type = name_ref A, file.%A.decl [concrete = constants.%A]
|
|
|
// CHECK:STDOUT: %A.call: init %empty_tuple.type = call %A.ref()
|
|
|
// CHECK:STDOUT: assign %b.ref.loc11, %A.call
|
|
|
+// CHECK:STDOUT: <elided>
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: fn @C() -> %empty_tuple.type {
|
|
|
@@ -132,12 +146,23 @@ fn F();
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: --- class.carbon
|
|
|
// CHECK:STDOUT:
|
|
|
+// CHECK:STDOUT: constants {
|
|
|
+// CHECK:STDOUT: %A: type = class_type @A [concrete]
|
|
|
+// CHECK:STDOUT: %G.type: type = fn_type @G [concrete]
|
|
|
+// CHECK:STDOUT: %G: %G.type = struct_value () [concrete]
|
|
|
+// CHECK:STDOUT: %C: type = class_type @C [concrete]
|
|
|
+// CHECK:STDOUT: %I.type: type = fn_type @I [concrete]
|
|
|
+// CHECK:STDOUT: %I: %I.type = struct_value () [concrete]
|
|
|
+// CHECK:STDOUT: }
|
|
|
+// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: file {
|
|
|
// CHECK:STDOUT: %C.decl: type = class_decl @C [concrete = constants.%C] {} {}
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: class @A {
|
|
|
+// CHECK:STDOUT: <elided>
|
|
|
// CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] {} {}
|
|
|
+// CHECK:STDOUT: <elided>
|
|
|
// CHECK:STDOUT: complete_type_witness = %complete_type
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !members:
|
|
|
@@ -148,6 +173,7 @@ fn F();
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: class @C {
|
|
|
// CHECK:STDOUT: %I.decl: %I.type = fn_decl @I [concrete = constants.%I] {} {}
|
|
|
+// CHECK:STDOUT: <elided>
|
|
|
// CHECK:STDOUT: complete_type_witness = %complete_type
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: !members:
|
|
|
@@ -162,22 +188,33 @@ fn F();
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: --- call_params.carbon
|
|
|
// CHECK:STDOUT:
|
|
|
-// CHECK:STDOUT: file {}
|
|
|
+// CHECK:STDOUT: constants {
|
|
|
+// CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete]
|
|
|
+// CHECK:STDOUT: %A.type: type = fn_type @A [concrete]
|
|
|
+// CHECK:STDOUT: %A: %A.type = struct_value () [concrete]
|
|
|
+// CHECK:STDOUT: %C.type: type = fn_type @C [concrete]
|
|
|
+// CHECK:STDOUT: %C: %C.type = struct_value () [concrete]
|
|
|
+// CHECK:STDOUT: %empty_tuple: %empty_tuple.type = tuple_value () [concrete]
|
|
|
+// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: fn @G() {
|
|
|
// CHECK:STDOUT: !entry:
|
|
|
+// CHECK:STDOUT: <elided>
|
|
|
// CHECK:STDOUT: %A.ref: %A.type = name_ref A, file.%A.decl [concrete = constants.%A]
|
|
|
// CHECK:STDOUT: %A.call: init %empty_tuple.type = call %A.ref()
|
|
|
+// CHECK:STDOUT: <elided>
|
|
|
// CHECK:STDOUT: %C.ref: %C.type = name_ref C, file.%C.decl [concrete = constants.%C]
|
|
|
// CHECK:STDOUT: %C.call: init %empty_tuple.type = call %C.ref()
|
|
|
// CHECK:STDOUT: %.loc13_7.1: ref %empty_tuple.type = temporary_storage
|
|
|
// CHECK:STDOUT: %.loc13_7.2: ref %empty_tuple.type = temporary %.loc13_7.1, %A.call
|
|
|
// CHECK:STDOUT: %tuple.loc13: %empty_tuple.type = tuple_value () [concrete = constants.%empty_tuple]
|
|
|
// CHECK:STDOUT: %.loc13_7.3: %empty_tuple.type = converted %A.call, %tuple.loc13 [concrete = constants.%empty_tuple]
|
|
|
+// CHECK:STDOUT: <elided>
|
|
|
// CHECK:STDOUT: %.loc17_7.1: ref %empty_tuple.type = temporary_storage
|
|
|
// CHECK:STDOUT: %.loc17_7.2: ref %empty_tuple.type = temporary %.loc17_7.1, %C.call
|
|
|
// CHECK:STDOUT: %tuple.loc17: %empty_tuple.type = tuple_value () [concrete = constants.%empty_tuple]
|
|
|
// CHECK:STDOUT: %.loc17_7.3: %empty_tuple.type = converted %C.call, %tuple.loc17 [concrete = constants.%empty_tuple]
|
|
|
+// CHECK:STDOUT: <elided>
|
|
|
// CHECK:STDOUT: }
|
|
|
// CHECK:STDOUT:
|
|
|
// CHECK:STDOUT: --- file_without_ranges.carbon
|