| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | cgraph.cc | 681 return (hashval_t) ((intptr_t)e->call_stmt >> 3); in hash() 687 cgraph_edge_hasher::hash (gimple *call_stmt) in hash() argument 691 return (hashval_t) ((intptr_t)call_stmt >> 3); in hash() 699 return x->call_stmt == y; in equal() 707 gimple *call = e->call_stmt; in cgraph_update_edge_in_call_site_hash() 722 (e->call_stmt, cgraph_edge_hasher::hash (e->call_stmt), INSERT); in cgraph_add_edge_to_call_site_hash() 728 || e->prev_callee->call_stmt != e->call_stmt)) in cgraph_add_edge_to_call_site_hash() 740 cgraph_node::get_edge (gimple *call_stmt) in get_edge() argument 747 (call_stmt, cgraph_edge_hasher::hash (call_stmt)); in get_edge() 756 if (e->call_stmt == call_stmt) in get_edge() [all …]
|
| H A D | cgraphbuild.cc | 318 if (gcall *call_stmt = dyn_cast <gcall *> (stmt)) in execute() local 320 decl = gimple_call_fndecl (call_stmt); in execute() 322 node->create_edge (cgraph_node::get_create (decl), call_stmt, bb->count); in execute() 323 else if (gimple_call_internal_p (call_stmt)) in execute() 326 node->create_indirect_edge (call_stmt, in execute() 327 gimple_call_flags (call_stmt), in execute() 412 if (gcall *call_stmt = dyn_cast <gcall *> (stmt)) in rebuild_edges() local 414 decl = gimple_call_fndecl (call_stmt); in rebuild_edges() 416 node->create_edge (cgraph_node::get_create (decl), call_stmt, in rebuild_edges() 418 else if (gimple_call_internal_p (call_stmt)) in rebuild_edges() [all …]
|
| H A D | cgraphclones.cc | 95 cgraph_edge::clone (cgraph_node *n, gcall *call_stmt, unsigned stmt_uid, in clone() argument 107 if (call_stmt && (decl = gimple_call_fndecl (call_stmt)) in clone() 114 new_edge = n->create_edge (callee, call_stmt, prof_count, true); in clone() 118 new_edge = n->create_indirect_edge (call_stmt, in clone() 126 new_edge = n->create_edge (callee, call_stmt, prof_count, true); in clone() 137 if (!call_stmt) in clone() 443 e->clone (new_node, e->call_stmt, e->lto_stmt_uid, new_node->count, old_count, in create_clone() 447 e->clone (new_node, e->call_stmt, e->lto_stmt_uid, in create_clone() 914 gimple_call_set_fndecl (e->call_stmt, new_version->decl); in update_call_expr() 915 maybe_clean_eh_stmt_fn (inner_function, e->call_stmt); in update_call_expr() [all …]
|
| H A D | gimple-walk.cc | 827 else if (gcall *call_stmt = dyn_cast <gcall *> (stmt)) in walk_stmt_load_store_addr_ops() local 831 tree arg = gimple_call_lhs (call_stmt); in walk_stmt_load_store_addr_ops() 840 for (i = 0; i < gimple_call_num_args (call_stmt); ++i) in walk_stmt_load_store_addr_ops() 842 tree arg = gimple_call_arg (call_stmt, i); in walk_stmt_load_store_addr_ops() 854 && gimple_call_chain (call_stmt) in walk_stmt_load_store_addr_ops() 855 && TREE_CODE (gimple_call_chain (call_stmt)) == ADDR_EXPR) in walk_stmt_load_store_addr_ops() 856 ret |= visit_addr (stmt, TREE_OPERAND (gimple_call_chain (call_stmt), 0), in walk_stmt_load_store_addr_ops() 857 gimple_call_chain (call_stmt), data); in walk_stmt_load_store_addr_ops() 859 && gimple_call_return_slot_opt_p (call_stmt) in walk_stmt_load_store_addr_ops() 860 && gimple_call_lhs (call_stmt) != NULL_TREE in walk_stmt_load_store_addr_ops() [all …]
|
| H A D | vtable-verify.cc | 669 gcall *call_stmt; in verify_bb_vtables() local 732 call_stmt = gimple_build_call in verify_bb_vtables() 748 call_stmt = gimple_build_call in verify_bb_vtables() 761 gimple_call_set_lhs (call_stmt, tmp0); in verify_bb_vtables() 762 update_stmt (call_stmt); in verify_bb_vtables() 771 if (use_stmt == call_stmt) in verify_bb_vtables() 785 gsi_insert_after (&gsi_vtbl_assign, call_stmt, in verify_bb_vtables()
|
| H A D | ipa-inline.cc | 232 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt, in report_inline_failed_reason() 241 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt, in report_inline_failed_reason() 645 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt, in can_early_inline_edge_p() 713 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt, in want_early_inline_function_p() 730 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt, in want_early_inline_function_p() 740 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt, in want_early_inline_function_p() 750 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt, in want_early_inline_function_p() 1074 dump_printf_loc (MSG_MISSED_OPTIMIZATION, edge->call_stmt, in want_inline_self_recursive_call_p() 1759 dump_printf_loc (MSG_NOTE, edge->call_stmt, in recursive_inlining() 2172 edge->call_stmt in inline_small_functions() [all …]
|
| H A D | tree-inline.cc | 1567 && (!id->call_stmt in remap_gimple_stmt() 1568 || gimple_call_lhs (id->call_stmt) != NULL_TREE) in remap_gimple_stmt() 1868 if (gcall *call_stmt = dyn_cast <gcall *> (copy)) in remap_gimple_stmt() local 1870 if (gimple_call_tail_p (call_stmt)) in remap_gimple_stmt() 1871 gimple_call_set_tail (call_stmt, false); in remap_gimple_stmt() 1872 if (gimple_call_from_thunk_p (call_stmt)) in remap_gimple_stmt() 1873 gimple_call_set_from_thunk (call_stmt, false); in remap_gimple_stmt() 1874 if (gimple_call_internal_p (call_stmt)) in remap_gimple_stmt() 1875 switch (gimple_call_internal_fn (call_stmt)) in remap_gimple_stmt() 2114 gcall *call_stmt; in copy_bb() local [all …]
|
| H A D | gimple-streamer-in.cc | 183 if (gcall *call_stmt = dyn_cast <gcall *> (stmt)) in input_gimple_stmt() local 185 if (gimple_call_internal_p (call_stmt)) in input_gimple_stmt() 187 (call_stmt, streamer_read_enum (ib, internal_fn, IFN_LAST)); in input_gimple_stmt() 189 gimple_call_set_fntype (call_stmt, stream_read_tree (ib, data_in)); in input_gimple_stmt()
|
| H A D | ipa-utils.cc | 532 if (gimple_bb (e->call_stmt)->index in ipa_merge_profiles() 533 != gimple_bb (e2->call_stmt)->index) in ipa_merge_profiles() 551 if (gimple_bb (e->call_stmt)->index in ipa_merge_profiles() 552 != gimple_bb (e2->call_stmt)->index) in ipa_merge_profiles() 672 e->count = gimple_bb (e->call_stmt)->count; in ipa_merge_profiles() 682 e->count = gimple_bb (e->call_stmt)->count; in ipa_merge_profiles() 692 e->count = gimple_bb (e->call_stmt)->count; in ipa_merge_profiles()
|
| H A D | tree-vect-slp-patterns.cc | 533 gcall *call_stmt = NULL; in build() local 551 call_stmt = gimple_build_call_internal_vec (this->m_ifn, args); in build() 552 tree var = make_temp_ssa_name (type, call_stmt, "slp_patt"); in build() 553 gimple_call_set_lhs (call_stmt, var); in build() 554 gimple_set_location (call_stmt, gimple_location (old_stmt)); in build() 555 gimple_call_set_nothrow (call_stmt, true); in build() 563 = vinfo->add_pattern_stmt (call_stmt, stmt_info); in build() 571 gimple_set_bb (call_stmt, gimple_bb (stmt_info->stmt)); in build()
|
| H A D | cgraph.h | 1135 gcall *call_stmt, profile_count count, 1141 cgraph_edge *create_indirect_edge (gcall *call_stmt, int ecf_flags, 1155 cgraph_edge *get_edge (gimple *call_stmt); 1770 && e->next_callee->call_stmt == e->call_stmt in next_speculative_call_target() 1786 && call_stmt == e2->call_stmt in speculative_call_indirect_edge() 1807 && ref->stmt == (gimple *)call_stmt in speculative_call_target_ref() 1856 cgraph_edge * clone (cgraph_node *n, gcall *call_stmt, unsigned stmt_uid, 1909 gcall *call_stmt; variable 2532 gcall *call_stmt, profile_count count,
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | cgraph.c | 673 return (hashval_t) ((intptr_t)e->call_stmt >> 3); in hash() 679 cgraph_edge_hasher::hash (gimple *call_stmt) in hash() argument 683 return (hashval_t) ((intptr_t)call_stmt >> 3); in hash() 691 return x->call_stmt == y; in equal() 699 gimple *call = e->call_stmt; in cgraph_update_edge_in_call_site_hash() 714 (e->call_stmt, cgraph_edge_hasher::hash (e->call_stmt), INSERT); in cgraph_add_edge_to_call_site_hash() 720 || e->prev_callee->call_stmt != e->call_stmt)) in cgraph_add_edge_to_call_site_hash() 732 cgraph_node::get_edge (gimple *call_stmt) in get_edge() argument 739 (call_stmt, cgraph_edge_hasher::hash (call_stmt)); in get_edge() 748 if (e->call_stmt == call_stmt) in get_edge() [all …]
|
| H A D | cgraphbuild.c | 318 if (gcall *call_stmt = dyn_cast <gcall *> (stmt)) in execute() local 320 decl = gimple_call_fndecl (call_stmt); in execute() 322 node->create_edge (cgraph_node::get_create (decl), call_stmt, bb->count); in execute() 323 else if (gimple_call_internal_p (call_stmt)) in execute() 326 node->create_indirect_edge (call_stmt, in execute() 327 gimple_call_flags (call_stmt), in execute() 412 if (gcall *call_stmt = dyn_cast <gcall *> (stmt)) in rebuild_edges() local 414 decl = gimple_call_fndecl (call_stmt); in rebuild_edges() 416 node->create_edge (cgraph_node::get_create (decl), call_stmt, in rebuild_edges() 418 else if (gimple_call_internal_p (call_stmt)) in rebuild_edges() [all …]
|
| H A D | cgraphclones.c | 93 cgraph_edge::clone (cgraph_node *n, gcall *call_stmt, unsigned stmt_uid, in clone() argument 105 if (call_stmt && (decl = gimple_call_fndecl (call_stmt)) in clone() 112 new_edge = n->create_edge (callee, call_stmt, prof_count, true); in clone() 116 new_edge = n->create_indirect_edge (call_stmt, in clone() 124 new_edge = n->create_edge (callee, call_stmt, prof_count, true); in clone() 135 if (!call_stmt) in clone() 442 e->clone (new_node, e->call_stmt, e->lto_stmt_uid, new_node->count, old_count, in create_clone() 446 e->clone (new_node, e->call_stmt, e->lto_stmt_uid, in create_clone() 902 gimple_call_set_fndecl (e->call_stmt, new_version->decl); in update_call_expr() 903 maybe_clean_eh_stmt_fn (inner_function, e->call_stmt); in update_call_expr() [all …]
|
| H A D | gimple-walk.c | 810 else if (gcall *call_stmt = dyn_cast <gcall *> (stmt)) in walk_stmt_load_store_addr_ops() local 814 tree arg = gimple_call_lhs (call_stmt); in walk_stmt_load_store_addr_ops() 823 for (i = 0; i < gimple_call_num_args (call_stmt); ++i) in walk_stmt_load_store_addr_ops() 825 tree arg = gimple_call_arg (call_stmt, i); in walk_stmt_load_store_addr_ops() 837 && gimple_call_chain (call_stmt) in walk_stmt_load_store_addr_ops() 838 && TREE_CODE (gimple_call_chain (call_stmt)) == ADDR_EXPR) in walk_stmt_load_store_addr_ops() 839 ret |= visit_addr (stmt, TREE_OPERAND (gimple_call_chain (call_stmt), 0), in walk_stmt_load_store_addr_ops() 840 gimple_call_chain (call_stmt), data); in walk_stmt_load_store_addr_ops() 842 && gimple_call_return_slot_opt_p (call_stmt) in walk_stmt_load_store_addr_ops() 843 && gimple_call_lhs (call_stmt) != NULL_TREE in walk_stmt_load_store_addr_ops() [all …]
|
| H A D | vtable-verify.c | 669 gcall *call_stmt; in verify_bb_vtables() local 732 call_stmt = gimple_build_call in verify_bb_vtables() 748 call_stmt = gimple_build_call in verify_bb_vtables() 761 gimple_call_set_lhs (call_stmt, tmp0); in verify_bb_vtables() 762 update_stmt (call_stmt); in verify_bb_vtables() 771 if (use_stmt == call_stmt) in verify_bb_vtables() 785 gsi_insert_after (&gsi_vtbl_assign, call_stmt, in verify_bb_vtables()
|
| H A D | ipa-inline.c | 232 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt, in report_inline_failed_reason() 241 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt, in report_inline_failed_reason() 615 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt, in can_early_inline_edge_p() 676 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt, in want_early_inline_function_p() 693 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt, in want_early_inline_function_p() 703 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt, in want_early_inline_function_p() 713 dump_printf_loc (MSG_MISSED_OPTIMIZATION, e->call_stmt, in want_early_inline_function_p() 1029 dump_printf_loc (MSG_MISSED_OPTIMIZATION, edge->call_stmt, in want_inline_self_recursive_call_p() 1699 dump_printf_loc (MSG_NOTE, edge->call_stmt, in recursive_inlining() 2107 edge->call_stmt in inline_small_functions() [all …]
|
| H A D | tree-inline.c | 1549 && (!id->call_stmt in remap_gimple_stmt() 1550 || gimple_call_lhs (id->call_stmt) != NULL_TREE) in remap_gimple_stmt() 1833 if (gcall *call_stmt = dyn_cast <gcall *> (copy)) in remap_gimple_stmt() local 1835 if (gimple_call_tail_p (call_stmt)) in remap_gimple_stmt() 1836 gimple_call_set_tail (call_stmt, false); in remap_gimple_stmt() 1837 if (gimple_call_from_thunk_p (call_stmt)) in remap_gimple_stmt() 1838 gimple_call_set_from_thunk (call_stmt, false); in remap_gimple_stmt() 1839 if (gimple_call_internal_p (call_stmt)) in remap_gimple_stmt() 1840 switch (gimple_call_internal_fn (call_stmt)) in remap_gimple_stmt() 2089 gcall *call_stmt; in copy_bb() local [all …]
|
| H A D | gimple-streamer-in.c | 183 if (gcall *call_stmt = dyn_cast <gcall *> (stmt)) in input_gimple_stmt() local 185 if (gimple_call_internal_p (call_stmt)) in input_gimple_stmt() 187 (call_stmt, streamer_read_enum (ib, internal_fn, IFN_LAST)); in input_gimple_stmt() 189 gimple_call_set_fntype (call_stmt, stream_read_tree (ib, data_in)); in input_gimple_stmt()
|
| H A D | ipa-utils.c | 532 if (gimple_bb (e->call_stmt)->index in ipa_merge_profiles() 533 != gimple_bb (e2->call_stmt)->index) in ipa_merge_profiles() 551 if (gimple_bb (e->call_stmt)->index in ipa_merge_profiles() 552 != gimple_bb (e2->call_stmt)->index) in ipa_merge_profiles() 672 e->count = gimple_bb (e->call_stmt)->count; in ipa_merge_profiles() 682 e->count = gimple_bb (e->call_stmt)->count; in ipa_merge_profiles() 692 e->count = gimple_bb (e->call_stmt)->count; in ipa_merge_profiles()
|
| H A D | gimple.h | 3095 const gcall *call_stmt = GIMPLE_CHECK2<const gcall *> (gs); 3096 return gimple_call_fntype (call_stmt); 3102 gimple_call_set_fntype (gcall *call_stmt, tree fntype) 3104 gcc_gimple_checking_assert (!gimple_call_internal_p (call_stmt)); 3105 call_stmt->u.fntype = fntype; 3173 gimple_call_set_internal_fn (gcall *call_stmt, enum internal_fn fn) 3175 gcc_gimple_checking_assert (gimple_call_internal_p (call_stmt)); 3176 call_stmt->u.internal_fn = fn; 3233 gimple_call_chain_ptr (gcall *call_stmt) 3235 return &call_stmt->op[2]; [all …]
|
| H A D | cgraph.h | 1183 gcall *call_stmt, profile_count count, 1189 cgraph_edge *create_indirect_edge (gcall *call_stmt, int ecf_flags, 1203 cgraph_edge *get_edge (gimple *call_stmt); 1814 && e->next_callee->call_stmt == e->call_stmt in next_speculative_call_target() 1830 && call_stmt == e2->call_stmt in speculative_call_indirect_edge() 1851 && ref->stmt == (gimple *)call_stmt in speculative_call_target_ref() 1893 cgraph_edge * clone (cgraph_node *n, gcall *call_stmt, unsigned stmt_uid, 1946 gcall *call_stmt; variable 2556 gcall *call_stmt, profile_count count,
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/ |
| H A D | analyzer.cc | 144 gcall *call_stmt = as_a <gcall *> (def_stmt); in maybe_reconstruct_from_def_stmt() local 145 tree return_type = gimple_call_return_type (call_stmt); in maybe_reconstruct_from_def_stmt() 146 tree fn = fixup_tree_for_diagnostic_1 (gimple_call_fn (call_stmt), in maybe_reconstruct_from_def_stmt() 150 unsigned num_args = gimple_call_num_args (call_stmt); in maybe_reconstruct_from_def_stmt() 154 tree arg = gimple_call_arg (call_stmt, i); in maybe_reconstruct_from_def_stmt() 161 return build_call_array_loc (gimple_location (call_stmt), in maybe_reconstruct_from_def_stmt()
|
| H A D | supergraph.cc | 1220 return m_cedge->call_stmt; in get_call_stmt() 1244 const gcall *call_stmt = get_call_stmt (); in get_arg_for_parm() local 1250 if (i >= gimple_call_num_args (call_stmt)) in get_arg_for_parm() 1256 return gimple_call_arg (call_stmt, i); in get_arg_for_parm() 1274 const gcall *call_stmt = get_call_stmt (); in get_parm_for_arg() local 1280 if (i >= gimple_call_num_args (call_stmt)) in get_parm_for_arg() 1282 tree param = gimple_call_arg (call_stmt, i); in get_parm_for_arg()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/analyzer/ |
| H A D | supergraph.cc | 961 const gcall *call_stmt = get_call_stmt (); in get_arg_for_parm() local 967 if (i >= gimple_call_num_args (call_stmt)) in get_arg_for_parm() 973 return gimple_call_arg (call_stmt, i); in get_arg_for_parm() 991 const gcall *call_stmt = get_call_stmt (); in get_parm_for_arg() local 997 if (i >= gimple_call_num_args (call_stmt)) in get_parm_for_arg() 999 tree param = gimple_call_arg (call_stmt, i); in get_parm_for_arg()
|