Home
last modified time | relevance | path

Searched refs:ecf_flags (Results 1 – 20 of 20) sorted by relevance

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dipa-modref.cc297 remove_useless_eaf_flags (int eaf_flags, int ecf_flags, bool returns_void) in remove_useless_eaf_flags() argument
299 if (ecf_flags & (ECF_CONST | ECF_NOVOPS)) in remove_useless_eaf_flags()
301 else if (ecf_flags & ECF_PURE) in remove_useless_eaf_flags()
303 else if ((ecf_flags & ECF_NORETURN) || returns_void) in remove_useless_eaf_flags()
311 eaf_flags_useful_p (vec <eaf_flags_t> &flags, int ecf_flags) in eaf_flags_useful_p() argument
314 if (remove_useless_eaf_flags (flags[i], ecf_flags, false)) in eaf_flags_useful_p()
323 modref_summary::useful_p (int ecf_flags, bool check_flags) in useful_p() argument
327 if (check_flags && eaf_flags_useful_p (arg_flags, ecf_flags)) in useful_p()
330 if (check_flags && remove_useless_eaf_flags (retslot_flags, ecf_flags, false)) in useful_p()
333 && remove_useless_eaf_flags (static_chain_flags, ecf_flags, false)) in useful_p()
[all …]
Dcalls.cc379 int old_inhibit_defer_pop, rtx call_fusage, int ecf_flags, in emit_call_1() argument
390 if (!(ecf_flags & ECF_SIBCALL)) in emit_call_1()
429 if (ecf_flags & ECF_SIBCALL) in emit_call_1()
490 if (ecf_flags & ECF_CONST) in emit_call_1()
494 if (ecf_flags & ECF_PURE) in emit_call_1()
498 if (ecf_flags & ECF_LOOPING_CONST_OR_PURE) in emit_call_1()
502 make_reg_eh_region_note (call_insn, ecf_flags, 0); in emit_call_1()
504 if (ecf_flags & ECF_NORETURN) in emit_call_1()
507 if (ecf_flags & ECF_RETURNS_TWICE) in emit_call_1()
513 SIBLING_CALL_P (call_insn) = ((ecf_flags & ECF_SIBCALL) != 0); in emit_call_1()
[all …]
Dlto-cgraph.cc280 int flags = edge->indirect_info->ecf_flags; in lto_output_edge()
1462 int ecf_flags = 0; in input_edge() local
1500 ecf_flags |= ECF_CONST; in input_edge()
1502 ecf_flags |= ECF_PURE; in input_edge()
1504 ecf_flags |= ECF_NORETURN; in input_edge()
1506 ecf_flags |= ECF_MALLOC; in input_edge()
1508 ecf_flags |= ECF_NOTHROW; in input_edge()
1510 ecf_flags |= ECF_RETURNS_TWICE; in input_edge()
1511 edge->indirect_info->ecf_flags = ecf_flags; in input_edge()
Dipa-modref.h70 bool useful_p (int ecf_flags, bool check_flags = true);
Dexcept.h271 extern void make_reg_eh_region_note (rtx_insn *insn, int ecf_flags, int lp_nr);
Dipa-inline.cc1853 int ecf_flags = flags_from_decl_or_type (target->decl); in speculation_useful_p() local
1854 if (ecf_flags & ECF_CONST) in speculation_useful_p()
1857 ->ecf_flags & ECF_CONST)) in speculation_useful_p()
1860 else if (ecf_flags & ECF_PURE) in speculation_useful_p()
1863 ->ecf_flags & ECF_PURE)) in speculation_useful_p()
Dipa-reference.cc717 if (!(ie->indirect_info->ecf_flags & ECF_CONST)) in get_read_write_all_from_node()
723 && !(ie->indirect_info->ecf_flags & ECF_PURE)) in get_read_write_all_from_node()
Dcgraph.cc987 cgraph_node::create_indirect_edge (gcall *call_stmt, int ecf_flags, in create_indirect_edge() argument
999 edge->indirect_info->ecf_flags = ecf_flags; in create_indirect_edge()
2917 int flags = indirect_info->ecf_flags; in cannot_lead_to_return_p()
Dipa-pure-const.cc1705 ie->indirect_info->ecf_flags, in propagate_pure_const()
1923 && !(ie->indirect_info->ecf_flags & ECF_NOTHROW)) in propagate_nothrow()
Dcgraph.h1141 cgraph_edge *create_indirect_edge (gcall *call_stmt, int ecf_flags,
1668 int ecf_flags; in class() local
Dcgraphclones.cc119 indirect_info->ecf_flags, in clone()
Dexcept.cc1710 make_reg_eh_region_note (rtx_insn *insn, int ecf_flags, int lp_nr) in make_reg_eh_region_note() argument
1713 if (ecf_flags & ECF_NOTHROW) in make_reg_eh_region_note()
Dipa-icf.cc479 int e1_flags = e1->indirect_info->ecf_flags; in compare_edge_flags()
480 int e2_flags = e2->indirect_info->ecf_flags; in compare_edge_flags()
Dtree.cc9652 const char *library_name, int ecf_flags) in local_define_builtin() argument
9658 set_call_expr_flags (decl, ecf_flags); in local_define_builtin()
9672 int ecf_flags; in build_common_builtin_nodes() local
9885 ecf_flags = ECF_PURE | ECF_NOTHROW | ECF_LEAF; in build_common_builtin_nodes()
9888 ecf_flags |= ECF_TM_PURE; in build_common_builtin_nodes()
9890 "__builtin_eh_pointer", ecf_flags); in build_common_builtin_nodes()
DChangeLog-201031576 * cgraph.c (cgraph_create_indirect_edge): Take ecf_flags argument.
31579 * cgraph.h (cgraph_indirect_call_info): Add ecf_flags.
31599 * lto-cgraph.c (lto_output_edge): Output ecf_flags.
31600 (input_edge): Input ecf_flags.
DChangeLog-200024550 * calls.c (initialize_argument_informat): Add ecf_flags argument.
25002 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
DChangeLog-20216115 based on callee ecf_flags and fnspec; if the function does not
16974 (modref_merge_call_site_flags): Add caller and ecf_flags parameter;
DChangeLog-201431224 (struct cgraph_edge *create_indirect_edge (gimple call_stmt, int ecf_flags,
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Ddecl.cc5058 int ecf_flags) in build_library_fn() argument
5071 set_call_expr_flags (fn, ecf_flags); in build_library_fn()
5079 int ecf_flags) in build_cp_library_fn() argument
5081 tree fn = build_library_fn (name, operator_code, type, ecf_flags); in build_cp_library_fn()
5091 build_library_fn_ptr (const char* name, tree type, int ecf_flags) in build_library_fn_ptr() argument
5093 return build_library_fn (get_identifier (name), ERROR_MARK, type, ecf_flags); in build_library_fn_ptr()
5100 build_cp_library_fn_ptr (const char* name, tree type, int ecf_flags) in build_cp_library_fn_ptr() argument
5103 ecf_flags); in build_cp_library_fn_ptr()
5111 push_library_fn (tree name, tree type, tree raises, int ecf_flags) in push_library_fn() argument
5116 tree fn = build_library_fn (name, ERROR_MARK, type, ecf_flags); in push_library_fn()
[all …]
DChangeLog-20131480 (build_library_fn_1): Add ecf_flags argument; rename to ...
1482 (build_cp_library_fn): Take ecf_flags; do not copy NOTHROW flag.
1483 (build_library_fn_ptr): Take ecf_flags.
1494 (declare_nothrow_library_fn): Add ecf_flags parameter.