Home
last modified time | relevance | path

Searched refs:enum_type (Results 1 – 25 of 62) sorted by relevance

123

/netbsd-src/external/gpl3/gcc/dist/libcc1/
H A Dlibcc1plugin.cc468 tree enum_type = convert_in (enum_type_in); in plugin_build_add_enum_constant() local
470 gcc_assert (TREE_CODE (enum_type) == ENUMERAL_TYPE); in plugin_build_add_enum_constant()
472 cst = build_int_cst (enum_type, value); in plugin_build_add_enum_constant()
476 get_identifier (name), enum_type); in plugin_build_add_enum_constant()
480 cons = tree_cons (DECL_NAME (decl), cst, TYPE_VALUES (enum_type)); in plugin_build_add_enum_constant()
481 TYPE_VALUES (enum_type) = cons; in plugin_build_add_enum_constant()
490 tree enum_type = convert_in (enum_type_in); in plugin_finish_enum_type() local
493 iter = TYPE_VALUES (enum_type); in plugin_finish_enum_type()
505 TYPE_MIN_VALUE (enum_type) = minnode; in plugin_finish_enum_type()
506 TYPE_MAX_VALUE (enum_type) = maxnode; in plugin_finish_enum_type()
[all …]
H A Dlibcp1plugin.cc1800 tree enum_type = convert_in (enum_type_in); in plugin_build_enum_constant() local
1802 gcc_assert (TREE_CODE (enum_type) == ENUMERAL_TYPE); in plugin_build_enum_constant()
1804 build_enumerator (get_identifier (name), build_int_cst (enum_type, value), in plugin_build_enum_constant()
1805 enum_type, NULL_TREE, BUILTINS_LOCATION); in plugin_build_enum_constant()
1807 return convert_out (TREE_VALUE (TYPE_VALUES (enum_type))); in plugin_build_enum_constant()
1814 tree enum_type = convert_in (enum_type_in); in plugin_finish_enum_type() local
1816 finish_enum_value_list (enum_type); in plugin_finish_enum_type()
1817 finish_enum (enum_type); in plugin_finish_enum_type()
/netbsd-src/external/gpl3/gcc.old/dist/libcc1/
H A Dlibcc1plugin.cc623 tree enum_type = convert_in (enum_type_in); in plugin_build_add_enum_constant() local
625 gcc_assert (TREE_CODE (enum_type) == ENUMERAL_TYPE); in plugin_build_add_enum_constant()
627 cst = build_int_cst (enum_type, value); in plugin_build_add_enum_constant()
631 get_identifier (name), enum_type); in plugin_build_add_enum_constant()
635 cons = tree_cons (DECL_NAME (decl), cst, TYPE_VALUES (enum_type)); in plugin_build_add_enum_constant()
636 TYPE_VALUES (enum_type) = cons; in plugin_build_add_enum_constant()
645 tree enum_type = convert_in (enum_type_in); in plugin_finish_enum_type() local
648 iter = TYPE_VALUES (enum_type); in plugin_finish_enum_type()
660 TYPE_MIN_VALUE (enum_type) = minnode; in plugin_finish_enum_type()
661 TYPE_MAX_VALUE (enum_type) = maxnode; in plugin_finish_enum_type()
[all …]
H A Dlibcp1plugin.cc1956 tree enum_type = convert_in (enum_type_in); in plugin_build_enum_constant() local
1958 gcc_assert (TREE_CODE (enum_type) == ENUMERAL_TYPE); in plugin_build_enum_constant()
1960 build_enumerator (get_identifier (name), build_int_cst (enum_type, value), in plugin_build_enum_constant()
1961 enum_type, NULL_TREE, BUILTINS_LOCATION); in plugin_build_enum_constant()
1963 return convert_out (TREE_VALUE (TYPE_VALUES (enum_type))); in plugin_build_enum_constant()
1970 tree enum_type = convert_in (enum_type_in); in plugin_finish_enum_type() local
1972 finish_enum_value_list (enum_type); in plugin_finish_enum_type()
1973 finish_enum (enum_type); in plugin_finish_enum_type()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dread-md.h61 struct enum_type *parent_enum;
77 struct enum_type { struct
199 struct enum_type *lookup_enum_type (const char *name);
406 extern struct enum_type *lookup_enum_type (const char *);
H A Dgenenums.c34 struct enum_type *def; in print_enum_type()
37 def = (struct enum_type *) *slot; in print_enum_type()
H A Dgenconstants.c54 struct enum_type *def; in print_enum_type()
58 def = (struct enum_type *) *slot; in print_enum_type()
H A Dread-md.c815 struct enum_type *parent_enum) in add_constant()
906 struct enum_type *def; in handle_enum()
915 def = (struct enum_type *) *slot; in handle_enum()
922 def = XNEW (struct enum_type); in handle_enum()
967 struct enum_type *
970 return (struct enum_type *) htab_find (m_enum_types, &name); in lookup_enum_type()
H A Dopt-functions.awk219 return enum_type[en] " "
245 return enum_type[en] " "
H A Dlanghooks.c817 lhd_enum_underlying_base_type (const_tree enum_type) in lhd_enum_underlying_base_type() argument
819 return lang_hooks.types.type_for_size (TYPE_PRECISION (enum_type), in lhd_enum_underlying_base_type()
820 TYPE_UNSIGNED (enum_type)); in lhd_enum_underlying_base_type()
H A Dopt-read.awk88 enum_type[name] = type
H A Doptc-gen.awk129 type = enum_type[name]
168 print " sizeof (" enum_type[name] "),"
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dread-md.h61 struct enum_type *parent_enum;
77 struct enum_type { struct
199 struct enum_type *lookup_enum_type (const char *name);
406 extern struct enum_type *lookup_enum_type (const char *);
H A Dgenenums.cc34 struct enum_type *def; in print_enum_type()
37 def = (struct enum_type *) *slot; in print_enum_type()
H A Dgenconstants.cc54 struct enum_type *def; in print_enum_type()
58 def = (struct enum_type *) *slot; in print_enum_type()
H A Dread-md.cc815 struct enum_type *parent_enum) in add_constant()
907 struct enum_type *def; in handle_enum()
916 def = (struct enum_type *) *slot; in handle_enum()
923 def = XNEW (struct enum_type); in handle_enum()
980 struct enum_type *
983 return (struct enum_type *) htab_find (m_enum_types, &name); in lookup_enum_type()
H A Dopt-functions.awk242 return enum_type[en] " "
268 return enum_type[en] " "
H A Dopt-read.awk89 enum_type[name] = type
H A Dlanghooks.cc867 lhd_enum_underlying_base_type (const_tree enum_type) in lhd_enum_underlying_base_type() argument
869 return lang_hooks.types.type_for_size (TYPE_PRECISION (enum_type), in lhd_enum_underlying_base_type()
870 TYPE_UNSIGNED (enum_type)); in lhd_enum_underlying_base_type()
H A Doptc-gen.awk178 type = enum_type[name]
217 print " sizeof (" enum_type[name] "),"
/netbsd-src/external/mit/isl/dist/interface/
H A Dgenerator.cc228 const EnumType *enum_type = return_type->getAs<EnumType>(); in add_type_subclasses() local
229 EnumDecl *decl = enum_type->getDecl(); in add_type_subclasses()
283 const EnumType *enum_type; in handled_sets_enum() local
296 enum_type = param->getType()->getAs<EnumType>(); in handled_sets_enum()
297 if (!enum_type) in handled_sets_enum()
299 decl = enum_type->getDecl(); in handled_sets_enum()
/netbsd-src/external/apache2/llvm/dist/clang/bindings/python/tests/cindex/
H A Dtest_cursor.py342 enum_type = enum.enum_type
343 self.assertIn(enum_type.kind, (TypeKind.UINT, TypeKind.INT))
351 self.assertEqual(enum.enum_type.kind, TypeKind.LONGLONG)
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gdb-scripts/
H A Dprettyprinters.py365 enum_type = gdb.lookup_type(info_name + '::MaskAndShiftConstants')
366 enum_dict = gdb.types.make_enum_dict(enum_type)
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Ddebug.h205 bool (*enum_type) member
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Ddebug.h205 bool (*enum_type) member

123