@@ -4,7 +4,6 @@ Exceptions.
44See https://edgcpp.org/LICENSE.txt for license information.
55SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66*/
7-
87/*
98
109ifc_map.h -- Types for IFC-based modules.
@@ -950,6 +949,21 @@ struct an_ifc_encoded_edg_extension_type_offset : Implicit_numeric_entry<
950949}; /* an_ifc_encoded_edg_extension_type_offset */
951950
952951
952+ enum an_ifc_encoded_edg_float_type_sort_0_44 : uint32_t;
953+ using an_ifc_encoded_edg_float_type_sort_storage = uint32_t;
954+
955+
956+ /*
957+ The universal representation for an IFC EncodedEdgFloatTypeSort.
958+ */
959+ struct an_ifc_encoded_edg_float_type_sort : Implicit_numeric_entry<
960+ an_ifc_encoded_edg_float_type_sort_storage> {
961+ using storage_type = an_ifc_encoded_edg_float_type_sort_storage;
962+ using base_type = Implicit_numeric_entry<storage_type>;
963+ using base_type::Implicit_numeric_entry;
964+ }; /* an_ifc_encoded_edg_float_type_sort */
965+
966+
953967enum an_ifc_encoded_edg_heap_complex_token_offset_0_43 : uint32_t;
954968using an_ifc_encoded_edg_heap_complex_token_offset_storage = uint32_t;
955969
@@ -3242,6 +3256,28 @@ enum an_ifc_edg_expr_sort : uint32_t {
32423256}; /* an_ifc_edg_expr_sort */
32433257
32443258
3259+ enum an_ifc_edg_float_type_sort_0_44 : uint32_t {
3260+ ifc_0_44_efts_float16 = 0,
3261+ ifc_0_44_efts_fp16 = 1,
3262+ ifc_0_44_efts_float32x = 2,
3263+ ifc_0_44_efts_float64x = 3,
3264+ ifc_0_44_efts_float80 = 4,
3265+ ifc_0_44_efts_float128 = 5,
3266+ ifc_0_44_efts_std_bfloat16 = 6
3267+ }; /* an_ifc_edg_float_type_sort_0_44 */
3268+
3269+
3270+ enum an_ifc_edg_float_type_sort : uint32_t {
3271+ ifc_efts_float128,
3272+ ifc_efts_float16,
3273+ ifc_efts_float32x,
3274+ ifc_efts_float64x,
3275+ ifc_efts_float80,
3276+ ifc_efts_fp16,
3277+ ifc_efts_std_bfloat16
3278+ }; /* an_ifc_edg_float_type_sort */
3279+
3280+
32453281enum an_ifc_edg_template_argument_sort_0_43 : uint32_t {
32463282 ifc_0_43_etas_edg_template_argument_type = 0,
32473283 ifc_0_43_etas_edg_template_argument_non_type = 1,
@@ -3261,7 +3297,14 @@ enum an_ifc_edg_type_sort_0_43 : uint32_t {
32613297}; /* an_ifc_edg_type_sort_0_43 */
32623298
32633299
3300+ enum an_ifc_edg_type_sort_0_44 : uint32_t {
3301+ ifc_0_44_ets_edg_type_substituted = 0,
3302+ ifc_0_44_ets_edg_type_float = 1
3303+ }; /* an_ifc_edg_type_sort_0_44 */
3304+
3305+
32643306enum an_ifc_edg_type_sort : uint32_t {
3307+ ifc_ets_edg_type_float,
32653308 ifc_ets_edg_type_substituted
32663309}; /* an_ifc_edg_type_sort */
32673310
@@ -6011,6 +6054,7 @@ two instances are equivalent, return FALSE; otherwise return TRUE.
60116054
60126055
60136056enum an_ifc_edg_type_index_0_43 : uint32_t {};
6057+ enum an_ifc_edg_type_index_0_44 : uint32_t {};
60146058
60156059
60166060/*
@@ -10957,6 +11001,14 @@ struct an_ifc_edg_extension_expr :
1095711001 |-------|--------------|---------|------|
1095811002 | value | EdgTypeIndex | 0.43 | 4 |
1095911003 |-------|--------------|---------|------|
11004+
11005+ |---------------------------------------|
11006+ | EdgExtensionType - 0.44 (4 bytes) |
11007+ |-------|--------------|---------|------|
11008+ | Name | Type | Version | Size |
11009+ |-------|--------------|---------|------|
11010+ | value | EdgTypeIndex | 0.44 | 4 |
11011+ |-------|--------------|---------|------|
1096011012*/
1096111013enum an_ifc_edg_extension_type_part : uint8_t {};
1096211014using an_ifc_edg_extension_type_storage = an_ifc_edg_extension_type_part[4];
@@ -11437,6 +11489,36 @@ struct an_ifc_edg_trait_function_definition :
1143711489}; /* an_ifc_edg_trait_function_definition */
1143811490
1143911491
11492+ /*
11493+ |------------------------------------------|
11494+ | EdgTypeFloat - 0.44 (4 bytes) |
11495+ |------|------------------|---------|------|
11496+ | Name | Type | Version | Size |
11497+ |------|------------------|---------|------|
11498+ | kind | EdgFloatTypeSort | 0.44 | 4 |
11499+ |------|------------------|---------|------|
11500+ */
11501+ enum an_ifc_edg_type_float_part : uint8_t {};
11502+ using an_ifc_edg_type_float_storage = an_ifc_edg_type_float_part[4];
11503+ #if USE_MMAP_FOR_MODULES
11504+ using an_ifc_edg_type_float_bytes = const an_ifc_edg_type_float_storage*;
11505+ #else /* !USE_MMAP_FOR_MODULES */
11506+ using an_ifc_edg_type_float_bytes = an_ifc_edg_type_float_storage;
11507+ #endif /* USE_MMAP_FOR_MODULES */
11508+ /*
11509+ The universal representation of an IFC EdgTypeFloat node.
11510+
11511+ The representation is declared as a derived struct of Byte_buffer_entry rather
11512+ than simply an alias of the instantiation to improve the debugger experience.
11513+ */
11514+ struct an_ifc_edg_type_float :
11515+ Byte_buffer_entry<an_ifc_edg_type_float_storage> {
11516+ using storage_type = an_ifc_edg_type_float_storage;
11517+ using base_type = Byte_buffer_entry<storage_type>;
11518+ using base_type::Byte_buffer_entry;
11519+ }; /* an_ifc_edg_type_float */
11520+
11521+
1144011522/*
1144111523 |----------------------------------------------------------------|
1144211524 | EdgTypeSubstituted - 0.43 (12 bytes) |
@@ -23163,6 +23245,7 @@ enum an_ifc_partition_kind : uint32_t {
2316323245 ifc_pk_edg_token_complex_textual,
2316423246 ifc_pk_edg_trait_class_template_definition,
2316523247 ifc_pk_edg_trait_function_definition,
23248+ ifc_pk_edg_type_float,
2316623249 ifc_pk_edg_type_substitued,
2316723250 ifc_pk_msvc_trait_decl_attrs,
2316823251 ifc_pk_msvc_trait_named_function_parameters,
@@ -23485,7 +23568,7 @@ enum an_ifc_partition_kind : uint32_t {
2348523568}; /* an_ifc_partition_kind */
2348623569
2348723570
23488- #define IFC_PARTITION_COUNT 337
23571+ #define IFC_PARTITION_COUNT 338
2348923572
2349023573/*
2349123574A method for mapping partition names to an_ifc_partition_kind values. Used
@@ -23522,6 +23605,7 @@ EXTERN an_ifc_partition_map ifc_partition_map[IFC_PARTITION_COUNT]
2352223605 { ".edg.trait.class-template-definition",
2352323606 ifc_pk_edg_trait_class_template_definition },
2352423607 { ".edg.trait.function-definition", ifc_pk_edg_trait_function_definition },
23608+ { ".edg.type.float", ifc_pk_edg_type_float },
2352523609 { ".edg.type.substitued", ifc_pk_edg_type_substitued },
2352623610 { ".msvc.trait.decl-attrs", ifc_pk_msvc_trait_decl_attrs },
2352723611 { ".msvc.trait.named-function-parameters",
@@ -23865,3 +23949,9 @@ END_DISABLE_GCC_WARNING_MAYBE_UNITIALIZED
2386523949/* Conditionally close the "edg" namespace. */
2386623950END_EDG_NAMESPACE
2386723951
23952+ /*
23953+ Part of the EDG Compiler Project, under the Apache License v2.0 with LLVM
23954+ Exceptions.
23955+ See https://edgcpp.org/LICENSE.txt for license information.
23956+ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
23957+ */
0 commit comments