Lines Matching refs:cgraph_node
73 #define cgraph_nodes_queue ((cgraph_node *)x_cgraph_nodes_queue)
150 if (is_a <cgraph_node *> (this) in address_can_be_compared_p()
166 cgraph_node::function_version (void) in function_version()
180 cgraph_node::insert_new_function_version (void) in insert_new_function_version()
217 cgraph_node::delete_function_version_by_decl (tree decl) in delete_function_version_by_decl()
219 cgraph_node *decl_node = cgraph_node::get (decl); in delete_function_version_by_decl()
232 cgraph_node::record_function_versions (tree decl1, tree decl2) in record_function_versions()
234 cgraph_node *decl1_node = cgraph_node::get_create (decl1); in record_function_versions()
235 cgraph_node *decl2_node = cgraph_node::get_create (decl2); in record_function_versions()
284 cgraph_node *
288 return new (ggc_alloc<cgraph_node> ()) cgraph_node (cgraph_max_uid++); in create_empty()
363 symbol_table::call_cgraph_removal_hooks (cgraph_node *node) in call_cgraph_removal_hooks()
375 symbol_table::call_cgraph_insertion_hooks (cgraph_node *node) in call_cgraph_insertion_hooks()
487 symbol_table::call_cgraph_duplication_hooks (cgraph_node *node, in call_cgraph_duplication_hooks()
488 cgraph_node *node2) in call_cgraph_duplication_hooks()
500 cgraph_node *
501 cgraph_node::create (tree decl) in create()
503 cgraph_node *node = symtab->create_empty (); in create()
523 node->origin = cgraph_node::get_create (DECL_CONTEXT (decl)); in create()
533 cgraph_node *
534 cgraph_node::get_create (tree decl) in get_create()
536 cgraph_node *first_clone = cgraph_node::get (decl); in get_create()
541 cgraph_node *node = cgraph_node::create (decl); in get_create()
564 cgraph_node *
565 cgraph_node::create_alias (tree alias, tree target) in create_alias()
567 cgraph_node *alias_node; in create_alias()
572 alias_node = cgraph_node::get_create (alias); in create_alias()
590 cgraph_node *
591 cgraph_node::create_same_body_alias (tree alias, tree decl) in create_same_body_alias()
593 cgraph_node *n; in create_same_body_alias()
604 n = cgraph_node::create_alias (alias, decl); in create_same_body_alias()
607 n->resolve_alias (cgraph_node::get (decl)); in create_same_body_alias()
615 cgraph_node *
616 cgraph_node::create_thunk (tree alias, tree, bool this_adjusting, in create_thunk()
623 cgraph_node *node; in create_thunk()
625 node = cgraph_node::get (alias); in create_thunk()
629 node = cgraph_node::create (alias); in create_thunk()
651 cgraph_node *
652 cgraph_node::get_for_asmname (tree asmname) in get_for_asmname()
659 cgraph_node *cn = dyn_cast <cgraph_node *> (node); in get_for_asmname()
732 cgraph_node::get_edge (gimple *call_stmt) in get_edge()
785 cgraph_node *new_direct_callee = NULL; in set_call_stmt()
791 new_direct_callee = cgraph_node::get (decl); in set_call_stmt()
864 symbol_table::create_edge (cgraph_node *caller, cgraph_node *callee, in create_edge()
937 cgraph_node::create_edge (cgraph_node *callee, in create_edge()
977 cgraph_node::create_indirect_edge (gcall *call_stmt, int ecf_flags, in create_indirect_edge()
1095 cgraph_edge::make_speculative (cgraph_node *n2, profile_count direct_count, in make_speculative()
1098 cgraph_node *n = caller; in make_speculative()
1268 cgraph_edge::speculative_call_for_target (cgraph_node *target) in speculative_call_for_target()
1285 cgraph_edge::make_direct (cgraph_edge *edge, cgraph_node *callee) in make_direct()
1361 cgraph_edge::redirect_callee (cgraph_node *n) in redirect_callee()
1374 cgraph_node *to = caller->inlined_to ? caller->inlined_to : caller; in redirect_callee()
1379 cgraph_node *to = caller->inlined_to ? caller->inlined_to : caller; in redirect_callee()
1412 cgraph_node::get (decl)); in redirect_call_stmt_to_callee()
1444 dyn_cast<cgraph_node *> (ref->referred), in redirect_call_stmt_to_callee()
1493 cgraph_node *node = cgraph_node::get (decl); in redirect_call_stmt_to_callee()
1532 cgraph_node *origin = e->callee; in redirect_call_stmt_to_callee()
1614 cgraph_update_edges_for_call_stmt_node (cgraph_node *node, in cgraph_update_edges_for_call_stmt_node()
1647 cgraph_node *callee = e->callee; in cgraph_update_edges_for_call_stmt_node()
1678 ne = node->create_edge (cgraph_node::get_create (new_call), in cgraph_update_edges_for_call_stmt_node()
1697 cgraph_node *orig = cgraph_node::get (cfun->decl); in cgraph_update_edges_for_call_stmt()
1698 cgraph_node *node; in cgraph_update_edges_for_call_stmt()
1724 cgraph_node::remove_callees (void) in remove_callees()
1761 cgraph_node::remove_callers (void) in remove_callers()
1825 cgraph_node::release_body (bool keep_arguments) in release_body()
1851 cgraph_node::remove (void) in remove()
1869 cgraph_node *next; in remove()
1870 for (cgraph_node *n = nested; n; n = next) in remove()
1879 cgraph_node **node2 = &origin->nested; in remove()
1894 cgraph_node *n, *next; in remove()
1929 cgraph_node *n = cgraph_node::get (decl); in remove()
1958 cgraph_node::mark_address_taken (void) in mark_address_taken()
1975 cgraph_node *node = ultimate_alias_target (); in mark_address_taken()
1981 cgraph_node *
1982 cgraph_node::local_info_node (tree decl) in local_info_node()
1985 cgraph_node *node = get (decl); in local_info_node()
1994 cgraph_node::rtl_info (const_tree decl) in rtl_info()
1997 cgraph_node *node = get (decl); in rtl_info()
2083 cgraph_node::dump (FILE *f) in dump()
2244 if (dyn_cast <cgraph_node *> (ref->referring)->count.initialized_p ()) in dump()
2245 sum += dyn_cast <cgraph_node *> (ref->referring)->count.ipa (); in dump()
2300 cgraph_node::dump_graphviz (FILE *f) in dump_graphviz()
2306 cgraph_node *callee = edge->callee; in dump_graphviz()
2316 cgraph_node::debug (void) in debug()
2324 cgraph_node::dump_cgraph (FILE *f) in dump_cgraph()
2326 cgraph_node *node; in dump_cgraph()
2345 cgraph_node::unnest (void) in unnest()
2347 cgraph_node **node2 = &origin->nested; in unnest()
2359 cgraph_node::get_availability (symtab_node *ref) in get_availability()
2363 cgraph_node *cref = dyn_cast <cgraph_node *> (ref); in get_availability()
2411 cgraph_node_cannot_be_local_p_1 (cgraph_node *node, void *) in cgraph_node_cannot_be_local_p_1()
2430 cgraph_node::can_be_local_p (void) in can_be_local_p()
2442 cgraph_node::call_for_symbol_thunks_and_aliases (bool (*callback) in call_for_symbol_thunks_and_aliases() argument
2443 (cgraph_node *, void *), in call_for_symbol_thunks_and_aliases()
2460 cgraph_node *alias = dyn_cast <cgraph_node *> (ref->referring); in call_for_symbol_thunks_and_aliases()
2487 cgraph_node::make_local (cgraph_node *node, void *) in make_local()
2511 cgraph_node::make_local (void) in make_local()
2513 call_for_symbol_thunks_and_aliases (cgraph_node::make_local, NULL, true); in make_local()
2519 set_nothrow_flag_1 (cgraph_node *node, bool nothrow, bool non_call, in set_nothrow_flag_1()
2544 cgraph_node *alias = dyn_cast <cgraph_node *> (ref->referring); in set_nothrow_flag_1()
2558 cgraph_node::set_nothrow_flag (bool nothrow) in set_nothrow_flag()
2571 cgraph_node *alias = dyn_cast <cgraph_node *> (ref->referring); in set_nothrow_flag()
2581 set_malloc_flag_1 (cgraph_node *node, bool malloc_p, bool *changed) in set_malloc_flag_1()
2592 cgraph_node *alias = dyn_cast<cgraph_node *> (ref->referring); in set_malloc_flag_1()
2606 cgraph_node::set_malloc_flag (bool malloc_p) in set_malloc_flag()
2618 cgraph_node *alias = dyn_cast<cgraph_node *> (ref->referring); in set_malloc_flag()
2629 set_const_flag_1 (cgraph_node *node, bool set_const, bool looping, in set_const_flag_1()
2712 cgraph_node *alias = dyn_cast <cgraph_node *> (ref->referring); in set_const_flag_1()
2741 cgraph_node::set_const_flag (bool set_const, bool looping) in set_const_flag()
2752 cgraph_node *alias = dyn_cast <cgraph_node *> (ref->referring); in set_const_flag()
2772 set_pure_flag_1 (cgraph_node *node, void *data) in set_pure_flag_1()
2824 cgraph_node::set_pure_flag (bool pure, bool looping) in set_pure_flag()
2835 cgraph_node::cannot_return_p (void) in cannot_return_p()
2889 cgraph_node *where = caller->inlined_to ? caller->inlined_to : caller; in maybe_hot_p()
2906 nonremovable_p (cgraph_node *node, void *) in nonremovable_p()
2915 cgraph_node::can_remove_if_no_direct_calls_p (bool will_inline) in can_remove_if_no_direct_calls_p()
2944 struct cgraph_node *target = ultimate_alias_target (); in can_remove_if_no_direct_calls_p()
2945 for (cgraph_node *next = dyn_cast<cgraph_node *> (same_comdat_group); in can_remove_if_no_direct_calls_p()
2946 next != this; next = dyn_cast<cgraph_node *> (next->same_comdat_group)) in can_remove_if_no_direct_calls_p()
2986 cgraph_node::will_be_removed_from_program_if_no_direct_calls_p in will_be_removed_from_program_if_no_direct_calls_p()
3002 struct cgraph_node *target = ultimate_alias_target (); in will_be_removed_from_program_if_no_direct_calls_p()
3006 for (cgraph_node *next = dyn_cast<cgraph_node *> (same_comdat_group); in will_be_removed_from_program_if_no_direct_calls_p()
3008 next = dyn_cast<cgraph_node *> (next->same_comdat_group)) in will_be_removed_from_program_if_no_direct_calls_p()
3035 cgraph_not_only_called_directly_p_1 (cgraph_node *node, void *) in cgraph_not_only_called_directly_p_1()
3046 cgraph_node::only_called_directly_p (void) in only_called_directly_p()
3057 collect_callers_of_node_1 (cgraph_node *node, void *data) in collect_callers_of_node_1()
3076 cgraph_node::collect_callers (void) in collect_callers()
3089 clone_of_p (cgraph_node *node, cgraph_node *node2) in clone_of_p()
3127 cgraph_node *n2 = node2; in clone_of_p()
3176 cgraph_node *node; in verify_corresponds_to_fndecl()
3182 node = cgraph_node::get (decl); in verify_corresponds_to_fndecl()
3228 verify_speculative_call (struct cgraph_node *node, gimple *stmt, in verify_speculative_call()
3363 cgraph_node::verify_node (void) in verify_node()
3605 cgraph_node *first_clone = clone_of->clones; in verify_node()
3617 cgraph_node *n; in verify_node()
3795 for (cgraph_node *n = nested; n != NULL; n = n->next_nested) in verify_node()
3826 cgraph_node::verify_cgraph_nodes (void) in verify_cgraph_nodes()
3828 cgraph_node *node; in verify_cgraph_nodes()
3847 cgraph_node *
3848 cgraph_node::function_symbol (enum availability *availability, in function_symbol()
3851 cgraph_node *node = ultimate_alias_target (availability, ref); in function_symbol()
3873 cgraph_node *
3874 cgraph_node::function_or_virtual_thunk_symbol in function_or_virtual_thunk_symbol()
3878 cgraph_node *node = ultimate_alias_target (availability, ref); in function_or_virtual_thunk_symbol()
3897 cgraph_node::get_untransformed_body (void) in get_untransformed_body()
3921 cgraph_node *origin = this; in get_untransformed_body()
3955 cgraph_node::get_body (void) in get_body()
3997 cgraph_node::get_fun () const in get_fun()
3999 const cgraph_node *node = this; in get_fun()
4028 cgraph_node::call_for_symbol_and_aliases_1 (bool (*callback) (cgraph_node *, in call_for_symbol_and_aliases_1() argument
4036 cgraph_node *alias = dyn_cast <cgraph_node *> (ref->referring); in call_for_symbol_and_aliases_1()
4049 cgraph_node::has_thunk_p (cgraph_node *node, void *) in has_thunk_p()
4114 cgraph_node::check_calls_comdat_local_p () in check_calls_comdat_local_p()
4168 cgraph_node *node = cgraph_node::get_create (test_decl); in test_symbol_table_test()