Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A 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 …]
H A 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 …]
H A 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()
H A Dipa-modref.h70 bool useful_p (int ecf_flags, bool check_flags = true);
H A Dexcept.h271 extern void make_reg_eh_region_note (rtx_insn *insn, int ecf_flags, int lp_nr);
H A 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()
H A 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()
H A 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()
H A Dipa-pure-const.cc1705 ie->indirect_info->ecf_flags, in propagate_pure_const()
1923 && !(ie->indirect_info->ecf_flags & ECF_NOTHROW)) in propagate_nothrow()
H A Dcgraph.h1141 cgraph_edge *create_indirect_edge (gcall *call_stmt, int ecf_flags,
1668 int ecf_flags; in class() local
H A Dcgraphclones.cc119 indirect_info->ecf_flags, in clone()
H A 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()
H A 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()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dcalls.c376 int old_inhibit_defer_pop, rtx call_fusage, int ecf_flags, in emit_call_1() argument
387 if (!(ecf_flags & ECF_SIBCALL)) in emit_call_1()
426 if (ecf_flags & ECF_SIBCALL) in emit_call_1()
487 if (ecf_flags & ECF_CONST) in emit_call_1()
491 if (ecf_flags & ECF_PURE) in emit_call_1()
495 if (ecf_flags & ECF_LOOPING_CONST_OR_PURE) in emit_call_1()
499 make_reg_eh_region_note (call_insn, ecf_flags, 0); in emit_call_1()
501 if (ecf_flags & ECF_NORETURN) in emit_call_1()
504 if (ecf_flags & ECF_RETURNS_TWICE) in emit_call_1()
510 SIBLING_CALL_P (call_insn) = ((ecf_flags & ECF_SIBCALL) != 0); in emit_call_1()
[all …]
H A Dlto-cgraph.c276 int flags = edge->indirect_info->ecf_flags; in lto_output_edge()
1460 int ecf_flags = 0; in input_edge() local
1498 ecf_flags |= ECF_CONST; in input_edge()
1500 ecf_flags |= ECF_PURE; in input_edge()
1502 ecf_flags |= ECF_NORETURN; in input_edge()
1504 ecf_flags |= ECF_MALLOC; in input_edge()
1506 ecf_flags |= ECF_NOTHROW; in input_edge()
1508 ecf_flags |= ECF_RETURNS_TWICE; in input_edge()
1509 edge->indirect_info->ecf_flags = ecf_flags; in input_edge()
H A Dexcept.h271 extern void make_reg_eh_region_note (rtx_insn *insn, int ecf_flags, int lp_nr);
H A Dipa-inline.c1793 int ecf_flags = flags_from_decl_or_type (target->decl); in speculation_useful_p() local
1794 if (ecf_flags & ECF_CONST) in speculation_useful_p()
1797 ->ecf_flags & ECF_CONST)) in speculation_useful_p()
1800 else if (ecf_flags & ECF_PURE) in speculation_useful_p()
1803 ->ecf_flags & ECF_PURE)) in speculation_useful_p()
H A Dipa-reference.c717 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()
H A Dcgraph.c977 cgraph_node::create_indirect_edge (gcall *call_stmt, int ecf_flags, in create_indirect_edge() argument
989 edge->indirect_info->ecf_flags = ecf_flags; in create_indirect_edge()
2857 int flags = indirect_info->ecf_flags; in cannot_lead_to_return_p()
H A Dipa-pure-const.c1565 ie->indirect_info->ecf_flags, in propagate_pure_const()
1827 && !(ie->indirect_info->ecf_flags & ECF_NOTHROW)) in propagate_nothrow()
H A Dcgraph.h1189 cgraph_edge *create_indirect_edge (gcall *call_stmt, int ecf_flags,
1712 int ecf_flags; in class() local
H A Dcgraphclones.c117 indirect_info->ecf_flags, in clone()
H A Dexcept.c1709 make_reg_eh_region_note (rtx_insn *insn, int ecf_flags, int lp_nr) in make_reg_eh_region_note() argument
1712 if (ecf_flags & ECF_NOTHROW) in make_reg_eh_region_note()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Ddecl.c4768 int ecf_flags) in build_library_fn() argument
4781 set_call_expr_flags (fn, ecf_flags); in build_library_fn()
4789 int ecf_flags) in build_cp_library_fn() argument
4791 tree fn = build_library_fn (name, operator_code, type, ecf_flags); in build_cp_library_fn()
4801 build_library_fn_ptr (const char* name, tree type, int ecf_flags) in build_library_fn_ptr() argument
4803 return build_library_fn (get_identifier (name), ERROR_MARK, type, ecf_flags); in build_library_fn_ptr()
4810 build_cp_library_fn_ptr (const char* name, tree type, int ecf_flags) in build_cp_library_fn_ptr() argument
4813 ecf_flags); in build_cp_library_fn_ptr()
4821 push_library_fn (tree name, tree type, tree raises, int ecf_flags) in push_library_fn() argument
4828 fn = build_library_fn (name, ERROR_MARK, type, ecf_flags); in push_library_fn()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A 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 …]

12