Lines Matching refs:fld

777   tree fld;  in type_internals_preclude_sra_p_1()  local
789 for (fld = TYPE_FIELDS (type); fld; fld = DECL_CHAIN (fld)) in type_internals_preclude_sra_p_1()
790 if (TREE_CODE (fld) == FIELD_DECL) in type_internals_preclude_sra_p_1()
792 if (TREE_CODE (fld) == FUNCTION_DECL) in type_internals_preclude_sra_p_1()
794 tree ft = TREE_TYPE (fld); in type_internals_preclude_sra_p_1()
796 if (TREE_THIS_VOLATILE (fld)) in type_internals_preclude_sra_p_1()
801 if (!DECL_FIELD_OFFSET (fld)) in type_internals_preclude_sra_p_1()
806 if (!DECL_SIZE (fld)) in type_internals_preclude_sra_p_1()
811 if (!tree_fits_uhwi_p (DECL_FIELD_OFFSET (fld))) in type_internals_preclude_sra_p_1()
816 if (!tree_fits_uhwi_p (DECL_SIZE (fld))) in type_internals_preclude_sra_p_1()
821 if (!tree_fits_shwi_p (bit_position (fld))) in type_internals_preclude_sra_p_1()
827 && int_bit_position (fld) % BITS_PER_UNIT != 0) in type_internals_preclude_sra_p_1()
998 for (tree fld = TYPE_FIELDS (type); fld; fld = DECL_CHAIN (fld)) in scalarizable_type_p() local
999 if (TREE_CODE (fld) == FIELD_DECL) in scalarizable_type_p()
1001 tree ft = TREE_TYPE (fld); in scalarizable_type_p()
1003 if (zerop (DECL_SIZE (fld))) in scalarizable_type_p()
1006 HOST_WIDE_INT pos = int_bit_position (fld); in scalarizable_type_p()
1014 if (DECL_BIT_FIELD (fld)) in scalarizable_type_p()
1736 tree t, exp_type, fld = TREE_OPERAND (model->expr, 1); in build_ref_for_model() local
1738 offset -= int_bit_position (fld); in build_ref_for_model()
1744 return fold_build3_loc (loc, COMPONENT_REF, TREE_TYPE (fld), t, fld, in build_ref_for_model()
1816 tree fld; in build_user_friendly_ref_for_offset() local
1829 for (fld = TYPE_FIELDS (type); fld; fld = DECL_CHAIN (fld)) in build_user_friendly_ref_for_offset()
1834 if (TREE_CODE (fld) != FIELD_DECL) in build_user_friendly_ref_for_offset()
1837 tr_pos = bit_position (fld); in build_user_friendly_ref_for_offset()
1842 tr_size = DECL_SIZE (fld); in build_user_friendly_ref_for_offset()
1854 expr = build3 (COMPONENT_REF, TREE_TYPE (fld), *res, fld, in build_user_friendly_ref_for_offset()
1857 if (build_user_friendly_ref_for_offset (expr_ptr, TREE_TYPE (fld), in build_user_friendly_ref_for_offset()
3182 tree fld = TYPE_FIELDS (outer); in access_and_field_type_match_p() local
3183 while (fld) in access_and_field_type_match_p()
3185 if (TREE_CODE (fld) == FIELD_DECL) in access_and_field_type_match_p()
3187 if (!zerop (DECL_FIELD_OFFSET (fld))) in access_and_field_type_match_p()
3189 if (TYPE_MAIN_VARIANT (TREE_TYPE (fld)) == inner) in access_and_field_type_match_p()
3191 if (TREE_CODE (TREE_TYPE (fld)) == RECORD_TYPE) in access_and_field_type_match_p()
3192 fld = TYPE_FIELDS (TREE_TYPE (fld)); in access_and_field_type_match_p()
3197 fld = DECL_CHAIN (fld); in access_and_field_type_match_p()
3317 for (tree fld = TYPE_FIELDS (root->type); fld; fld = DECL_CHAIN (fld)) in totally_scalarize_subtree() local
3318 if (TREE_CODE (fld) == FIELD_DECL) in totally_scalarize_subtree()
3320 tree ft = TREE_TYPE (fld); in totally_scalarize_subtree()
3321 HOST_WIDE_INT fsize = tree_to_uhwi (DECL_SIZE (fld)); in totally_scalarize_subtree()
3325 HOST_WIDE_INT pos = root->offset + int_bit_position (fld); in totally_scalarize_subtree()
3347 tree nref = build3 (COMPONENT_REF, ft, root->expr, fld, NULL_TREE); in totally_scalarize_subtree()