Home
last modified time | relevance | path

Searched refs:field_decl (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/objc/
H A Dobjc-encoding.cc71 static void encode_field (tree field_decl, int curtype, int format);
813 encode_field (tree field_decl, int curtype, int format) in encode_field() argument
818 if (TREE_CODE (field_decl) != FIELD_DECL || TREE_STATIC (field_decl)) in encode_field()
824 if (DECL_BIT_FIELD_TYPE (field_decl)) in encode_field()
826 int size = tree_to_uhwi (DECL_SIZE (field_decl)); in encode_field()
831 encode_gnu_bitfield (int_bit_position (field_decl), in encode_field()
832 DECL_BIT_FIELD_TYPE (field_decl), size); in encode_field()
835 encode_type (TREE_TYPE (field_decl), curtype, format); in encode_field()
839 encode_field_decl (tree field_decl) in encode_field_decl() argument
843 encode_field (field_decl, in encode_field_decl()
H A Dobjc-runtime-shared-support.cc525 build_ivar_list_initializer (tree type, tree field_decl) in build_ivar_list_initializer() argument
529 for (; field_decl; field_decl = DECL_CHAIN (field_decl)) in build_ivar_list_initializer()
530 if (TREE_CODE (field_decl) == FIELD_DECL) in build_ivar_list_initializer()
536 if (DECL_NAME (field_decl)) in build_ivar_list_initializer()
538 add_objc_string (DECL_NAME (field_decl), in build_ivar_list_initializer()
546 id = add_objc_string (encode_field_decl (field_decl), in build_ivar_list_initializer()
551 CONSTRUCTOR_APPEND_ELT (ivar, NULL_TREE, byte_position (field_decl)); in build_ivar_list_initializer()
H A Dobjc-next-runtime-abi-02.cc1392 create_ivar_offset_name (char *buf, tree class_name, tree field_decl) in create_ivar_offset_name() argument
1394 tree fname = DECL_NAME (field_decl); in create_ivar_offset_name()
3010 ivar_offset_ref (tree class_name, tree field_decl) in ivar_offset_ref() argument
3017 create_ivar_offset_name (buf, class_name, field_decl); in ivar_offset_ref()
3033 global_var = (TREE_PUBLIC (field_decl) || TREE_PROTECTED (field_decl)); in ivar_offset_ref()
3043 e.offset = byte_position (field_decl); in ivar_offset_ref()
3054 build_v2_ivar_list_initializer (tree class_name, tree type, tree field_decl) in build_v2_ivar_list_initializer() argument
3065 if (!DECL_NAME (field_decl)) in build_v2_ivar_list_initializer()
3067 field_decl = DECL_CHAIN (field_decl); in build_v2_ivar_list_initializer()
3076 field_decl), 0)); in build_v2_ivar_list_initializer()
[all …]
H A Dobjc-encoding.h46 extern tree encode_field_decl (tree field_decl);
H A Dobjc-act.cc3210 tree field_decl = objc_get_class_ivars (constant_string_id); in check_string_class_template() local
3217 if (!AT_LEAST_AS_LARGE_AS (field_decl, ptr_type_node)) in check_string_class_template()
3220 field_decl = DECL_CHAIN (field_decl); in check_string_class_template()
3221 if (!AT_LEAST_AS_LARGE_AS (field_decl, ptr_type_node)) in check_string_class_template()
3224 field_decl = DECL_CHAIN (field_decl); in check_string_class_template()
3225 return AT_LEAST_AS_LARGE_AS (field_decl, unsigned_type_node); in check_string_class_template()
6362 printable_ivar_name (tree field_decl) in printable_ivar_name() argument
6364 if (DECL_NAME (field_decl)) in printable_ivar_name()
6365 return identifier_to_locale (IDENTIFIER_POINTER (DECL_NAME (field_decl))); in printable_ivar_name()
6377 tree field_decl) in add_instance_variable() argument
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/objc/
H A Dobjc-encoding.c71 static void encode_field (tree field_decl, int curtype, int format);
813 encode_field (tree field_decl, int curtype, int format) in encode_field() argument
818 if (TREE_CODE (field_decl) != FIELD_DECL || TREE_STATIC (field_decl)) in encode_field()
824 if (DECL_BIT_FIELD_TYPE (field_decl)) in encode_field()
826 int size = tree_to_uhwi (DECL_SIZE (field_decl)); in encode_field()
831 encode_gnu_bitfield (int_bit_position (field_decl), in encode_field()
832 DECL_BIT_FIELD_TYPE (field_decl), size); in encode_field()
835 encode_type (TREE_TYPE (field_decl), curtype, format); in encode_field()
839 encode_field_decl (tree field_decl) in encode_field_decl() argument
843 encode_field (field_decl, in encode_field_decl()
H A Dobjc-runtime-shared-support.c525 build_ivar_list_initializer (tree type, tree field_decl) in build_ivar_list_initializer() argument
529 for (; field_decl; field_decl = DECL_CHAIN (field_decl)) in build_ivar_list_initializer()
530 if (TREE_CODE (field_decl) == FIELD_DECL) in build_ivar_list_initializer()
536 if (DECL_NAME (field_decl)) in build_ivar_list_initializer()
538 add_objc_string (DECL_NAME (field_decl), in build_ivar_list_initializer()
546 id = add_objc_string (encode_field_decl (field_decl), in build_ivar_list_initializer()
551 CONSTRUCTOR_APPEND_ELT (ivar, NULL_TREE, byte_position (field_decl)); in build_ivar_list_initializer()
H A Dobjc-next-runtime-abi-02.c1390 create_ivar_offset_name (char *buf, tree class_name, tree field_decl) in create_ivar_offset_name() argument
1392 tree fname = DECL_NAME (field_decl); in create_ivar_offset_name()
2998 ivar_offset_ref (tree class_name, tree field_decl) in ivar_offset_ref() argument
3005 create_ivar_offset_name (buf, class_name, field_decl); in ivar_offset_ref()
3021 global_var = (TREE_PUBLIC (field_decl) || TREE_PROTECTED (field_decl)); in ivar_offset_ref()
3031 e.offset = byte_position (field_decl); in ivar_offset_ref()
3042 build_v2_ivar_list_initializer (tree class_name, tree type, tree field_decl) in build_v2_ivar_list_initializer() argument
3053 if (!DECL_NAME (field_decl)) in build_v2_ivar_list_initializer()
3055 field_decl = DECL_CHAIN (field_decl); in build_v2_ivar_list_initializer()
3064 field_decl), 0)); in build_v2_ivar_list_initializer()
[all …]
H A Dobjc-encoding.h46 extern tree encode_field_decl (tree field_decl);
H A Dobjc-act.c3134 tree field_decl = objc_get_class_ivars (constant_string_id); in check_string_class_template() local
3141 if (!AT_LEAST_AS_LARGE_AS (field_decl, ptr_type_node)) in check_string_class_template()
3144 field_decl = DECL_CHAIN (field_decl); in check_string_class_template()
3145 if (!AT_LEAST_AS_LARGE_AS (field_decl, ptr_type_node)) in check_string_class_template()
3148 field_decl = DECL_CHAIN (field_decl); in check_string_class_template()
3149 return AT_LEAST_AS_LARGE_AS (field_decl, unsigned_type_node); in check_string_class_template()
6276 printable_ivar_name (tree field_decl) in printable_ivar_name() argument
6278 if (DECL_NAME (field_decl)) in printable_ivar_name()
6279 return identifier_to_locale (IDENTIFIER_POINTER (DECL_NAME (field_decl))); in printable_ivar_name()
6291 tree field_decl) in add_instance_variable() argument
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dsearch.cc1679 field_access_p (tree component_ref, tree field_decl, tree field_type) in field_access_p() argument
1693 if (TREE_OPERAND (component_ref, 1) != field_decl) in field_access_p()
1717 direct_accessor_p (tree init_expr, tree field_decl, tree field_type) in direct_accessor_p() argument
1724 if (!field_access_p (component_ref, field_decl, field_type)) in direct_accessor_p()
1749 reference_accessor_p (tree init_expr, tree field_decl, tree field_type, in reference_accessor_p() argument
1763 if (!field_access_p (component_ref, field_decl, field_type)) in reference_accessor_p()
1777 field_accessor_p (tree fn, tree field_decl, bool const_p) in field_accessor_p() argument
1783 if (TREE_CODE (field_decl) != FIELD_DECL) in field_accessor_p()
1816 tree field_type = TREE_TYPE (field_decl); in field_accessor_p()
1818 return direct_accessor_p (init_expr, field_decl, field_type); in field_accessor_p()
[all …]
H A Dmodule.cc6008 WT (t->field_decl.offset); in core_vals()
6009 WT (t->field_decl.bit_field_type); in core_vals()
6010 WT (t->field_decl.qualifier); /* bitfield unit. */ in core_vals()
6011 WT (t->field_decl.bit_offset); in core_vals()
6012 WT (t->field_decl.fcontext); in core_vals()
6511 RT (t->field_decl.offset); in core_vals()
6512 RT (t->field_decl.bit_field_type); in core_vals()
6513 RT (t->field_decl.qualifier); in core_vals()
6514 RT (t->field_decl.bit_offset); in core_vals()
6515 RT (t->field_decl.fcontext); in core_vals()
H A Dsemantics.cc9750 tree field_decl = (*i).first; in finish_omp_target_clauses() local
9769 if (TREE_CODE (TREE_TYPE (field_decl)) == REFERENCE_TYPE) in finish_omp_target_clauses()
9800 else if (TREE_CODE (TREE_TYPE (field_decl)) == POINTER_TYPE) in finish_omp_target_clauses()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dsearch.c1663 field_access_p (tree component_ref, tree field_decl, tree field_type) in field_access_p() argument
1677 if (TREE_OPERAND (component_ref, 1) != field_decl) in field_access_p()
1701 direct_accessor_p (tree init_expr, tree field_decl, tree field_type) in direct_accessor_p() argument
1708 if (!field_access_p (component_ref, field_decl, field_type)) in direct_accessor_p()
1733 reference_accessor_p (tree init_expr, tree field_decl, tree field_type, in reference_accessor_p() argument
1747 if (!field_access_p (component_ref, field_decl, field_type)) in reference_accessor_p()
1761 field_accessor_p (tree fn, tree field_decl, bool const_p) in field_accessor_p() argument
1767 if (TREE_CODE (field_decl) != FIELD_DECL) in field_accessor_p()
1800 tree field_type = TREE_TYPE (field_decl); in field_accessor_p()
1802 return direct_accessor_p (init_expr, field_decl, field_type); in field_accessor_p()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dlto-streamer.h1275 DEFINE_DECL_STREAM_FUNCS (FIELD_DECL, field_decl)
H A Dtree-core.h1990 struct tree_field_decl GTY ((tag ("TS_FIELD_DECL"))) field_decl;
H A Dtree.h2710 #define DECL_FIELD_OFFSET(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.offset)
2717 (FIELD_DECL_CHECK (NODE)->field_decl.bit_offset)
2723 (FIELD_DECL_CHECK (NODE)->field_decl.bit_field_type)
2728 (FIELD_DECL_CHECK (NODE)->field_decl.qualifier)
2732 #define DECL_QUALIFIER(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.qualifier)
2748 #define DECL_FCONTEXT(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.fcontext)
H A Dtree.def363 DEFTREECODE (FIELD_DECL, "field_decl", tcc_declaration, 0)
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-core.h2062 struct tree_field_decl GTY ((tag ("TS_FIELD_DECL"))) field_decl;
H A Dtree.h2851 #define DECL_FIELD_OFFSET(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.offset)
2858 (FIELD_DECL_CHECK (NODE)->field_decl.bit_offset)
2864 (FIELD_DECL_CHECK (NODE)->field_decl.bit_field_type)
2869 (FIELD_DECL_CHECK (NODE)->field_decl.qualifier)
2873 #define DECL_QUALIFIER(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.qualifier)
2889 #define DECL_FCONTEXT(NODE) (FIELD_DECL_CHECK (NODE)->field_decl.fcontext)
H A Dtree.def369 DEFTREECODE (FIELD_DECL, "field_decl", tcc_declaration, 0)
/netbsd-src/external/gpl3/gcc/dist/contrib/gcc-changelog/
H A Dtest_patches.txt151 === 0814-sra-Avoid-totally-scalarizing-overallping-field_decl.patch ===
/netbsd-src/external/gpl3/gcc.old/dist/contrib/gcc-changelog/
H A Dtest_patches.txt151 === 0814-sra-Avoid-totally-scalarizing-overallping-field_decl.patch ===