Home
last modified time | relevance | path

Searched refs:attr_access (Results 1 – 17 of 17) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dattribs.h255 struct attr_access struct
321 attr_access::from_mode_char (char c) in from_mode_char() argument
339 struct attr_access;
340 typedef hash_map<rdwr_access_hash, attr_access> rdwr_map;
343 extern attr_access *get_parm_access (rdwr_map &, tree,
H A Dattribs.cc2252 attr_access acc = { }; in init_attr_rdwr_indices()
2373 attr_access *
2396 attr_access::to_internal_string () const in to_internal_string()
2406 attr_access::to_external_string () const in to_external_string()
2422 attr_access::vla_bounds (unsigned *nunspec) const in vla_bounds()
2442 attr_access::free_lang_data (tree attrs) in free_lang_data()
2476 constexpr char attr_access::mode_chars[];
2477 constexpr char attr_access::mode_names[][11];
2486 attr_access::array_as_string (tree type) const in array_as_string()
H A Dtree-ssa-uninit.cc418 const attr_access* access = rdwr_idx.get (argno); in maybe_warn_read_write_only()
808 const attr_access* access = rdwr_idx.get (argno - 1); in maybe_warn_pass_by_reference()
881 attr_access ptr_access = { }; in maybe_warn_pass_by_reference()
H A Dgimple-ssa-warn-access.cc3295 append_attrname (const std::pair<int, attr_access> &access, in append_attrname()
3332 std::pair<int, attr_access> access = *it; in maybe_check_access_sizes()
3623 if (attr_access *access = rdwr_idx.get (i)) in check_call_access()
H A Dtree-object-size.cc1491 const attr_access *access = get_parm_access (rdwr_idx, parm, fndecl); in parm_object_size()
H A Dpointer-query.cc563 attr_access *access = get_parm_access (rdwr_idx, var); in gimple_parm_array_size()
H A DChangeLog-202011669 * attribs.c (attr_access::array_as_string): Avoid assuming a VLA
11675 * attribs.c (attr_access::array_as_string): Avoid modifying a shared
12789 (attr_access::to_internal_string): Define new member function.
12790 (attr_access::to_external_string): Define new member function.
12791 (attr_access::vla_bounds): Define new member function.
12792 * attribs.h (struct attr_access): Declare new members.
12793 (attr_access::from_mode_char): Define new member function.
14148 * attribs.h (struct attr_access): Same.
20453 (attr_access): Add 'none'.
20460 (append_attrname): Handle attr_access::none.
H A DChangeLog-202124293 (attr_access::vla_bounds): Also handle VLA bounds.
28329 * attribs.c (attr_access::array_as_string): Avoid dereferencing
31929 * attribs.c (attr_access::free_lang_data): Clear attribute arg spec
32107 (attr_access::free_lang_data): Remove a spurious test.
33153 * attribs.c (attr_access::free_lang_data): Define new function.
33154 * attribs.h (attr_access::free_lang_data): Declare new function.
H A DChangeLog-20192910 * attribs.h (struct attr_access): New.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dattribs.h225 struct attr_access struct
H A Dcalls.c1873 typedef hash_map<rdwr_access_hash, attr_access> rdwr_map;
1899 attr_access acc = { }; in init_attr_rdwr_indices()
1955 append_attrname (const std::pair<int, attr_access> &access, in append_attrname()
1963 = (access.second.mode == attr_access::read_only in append_attrname()
1965 : (access.second.mode == attr_access::write_only in append_attrname()
1995 std::pair<int, attr_access> access = *it; in maybe_warn_rdwr_sizes()
2108 if (access.second.mode == attr_access::write_only) in maybe_warn_rdwr_sizes()
2123 if (access.second.mode == attr_access::read_only) in maybe_warn_rdwr_sizes()
2523 if (attr_access *access = rdwr_idx.get (argpos)) in initialize_argument_information()
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-attribs.cc4628 const attr_access* const newa = new_idxs.get (argpos); in append_access_attr()
4639 const attr_access* const cura = cur_idxs.get (argpos); in append_access_attr()
4758 const attr_access* const pa = cura->size ? cura : newa; in append_access_attr()
4785 attr_access merged = *newa; in append_access_attr()
4931 sizeof attr_access::mode_names / sizeof *attr_access::mode_names; in handle_access_attribute()
4934 if (!strncmp (ps, attr_access::mode_names[imode], in handle_access_attribute()
4935 strlen (attr_access::mode_names[imode]))) in handle_access_attribute()
5103 const char code = attr_access::mode_chars[mode]; in handle_access_attribute()
5213 attr_access::mode_chars[access_deferred], in build_attr_access_from_parms()
5217 attr_access::mode_chars[access_deferred], in build_attr_access_from_parms()
H A Dc-warn.cc3353 attr_access spec = { }; in warn_parm_ptrarray_mismatch()
3425 attr_access ptr_spec = { }; in warn_parm_array_mismatch()
3453 attr_access *cura = cur_idx.get (parmpos); in warn_parm_array_mismatch()
3454 attr_access *newa = new_idx.get (parmpos); in warn_parm_array_mismatch()
H A DChangeLog2217 * c-attribs.c (append_access_attrs): Handle attr_access::none.
/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/
H A Dsm-taint.cc944 const attr_access* access = rdwr_idx.get (argno); in check_for_tainted_size_arg()
H A Dregion-model.cc1669 reason_attr_access (tree callee_fndecl, const attr_access &access) in reason_attr_access()
1733 const attr_access* access = rdwr_idx.get (argno); in check_external_function_for_access_attr()
1750 const attr_access &access, in check_external_function_for_access_attr()
1763 const attr_access &m_access; in check_external_function_for_access_attr()
/netbsd-src/external/gpl3/gcc/dist/gcc/c/
H A Dc-decl.cc12292 attr_access::free_lang_data (attrs); in free_attr_access_data()
12301 attr_access::free_lang_data (attrs); in free_attr_access_data()