Lines Matching refs:cgraph_node

147   struct cgraph_node *to = e->caller;  in caller_growth_limits()
148 struct cgraph_node *what = e->callee->ultimate_alias_target (); in caller_growth_limits()
324 cgraph_node *caller = (e->caller->inlined_to
326 cgraph_node *callee = e->callee->ultimate_alias_target (&avail, caller);
397 inline_insns_single (cgraph_node *n, bool hint) in inline_insns_single()
409 inline_insns_auto (cgraph_node *n, bool hint) in inline_insns_auto()
442 cgraph_node *caller = (e->caller->inlined_to
444 cgraph_node *callee = e->callee->ultimate_alias_target (&avail, caller);
596 struct cgraph_node *callee = e->callee->ultimate_alias_target (); in can_early_inline_edge_p()
629 num_calls (struct cgraph_node *n) in num_calls()
647 struct cgraph_node *callee = e->callee->ultimate_alias_target (); in want_early_inline_function_p()
732 cgraph_node *caller = (edge->caller->inlined_to in compute_uninlined_call_time()
753 cgraph_node *caller = (edge->caller->inlined_to in compute_inlined_call_time()
811 cgraph_node *caller = (e->caller->inlined_to in big_speedup_p()
828 struct cgraph_node *callee = e->callee->ultimate_alias_target (); in want_inline_small_function_p()
829 cgraph_node *to = (e->caller->inlined_to in want_inline_small_function_p()
947 struct cgraph_node *outer_node, in want_inline_self_recursive_call_p()
1039 check_callers (struct cgraph_node *node, void *has_hot_call) in check_callers()
1062 has_caller_p (struct cgraph_node *node, void *data ATTRIBUTE_UNUSED) in has_caller_p()
1074 want_inline_function_to_all_callers_p (struct cgraph_node *node, bool cold) in want_inline_function_to_all_callers_p()
1103 wrapper_heuristics_may_apply (struct cgraph_node *where, int size) in wrapper_heuristics_may_apply()
1122 struct cgraph_node *callee = edge->callee->ultimate_alias_target (); in edge_badness()
1125 cgraph_node *caller = (edge->caller->inlined_to in edge_badness()
1377 reset_edge_caches (struct cgraph_node *node) in reset_edge_caches()
1381 struct cgraph_node *where = node; in reset_edge_caches()
1395 reset_edge_caches (dyn_cast <cgraph_node *> (ref->referring)); in reset_edge_caches()
1429 update_caller_keys (edge_heap_t *heap, struct cgraph_node *node, in update_caller_keys()
1444 struct cgraph_node *alias = dyn_cast <cgraph_node *> (ref->referring); in update_caller_keys()
1480 update_callee_keys (edge_heap_t *heap, struct cgraph_node *node, in update_callee_keys()
1481 struct cgraph_node *update_since, in update_callee_keys()
1499 struct cgraph_node *callee; in update_callee_keys()
1563 lookup_recursive_calls (struct cgraph_node *node, struct cgraph_node *where, in lookup_recursive_calls()
1588 cgraph_node *to = (edge->caller->inlined_to in recursive_inlining()
1593 struct cgraph_node *node; in recursive_inlining()
1595 struct cgraph_node *master_clone = NULL, *next; in recursive_inlining()
1621 struct cgraph_node *cnode, *dest = curr->callee; in recursive_inlining()
1726 compute_max_insns (cgraph_node *node, int insns) in compute_max_insns()
1780 struct cgraph_node *target = e->callee->ultimate_alias_target (&avail, in speculation_useful_p()
1829 struct cgraph_node *node = edge->caller; in resolve_noninline_speculation()
1830 struct cgraph_node *where = node->inlined_to in resolve_noninline_speculation()
1851 inline_account_function_p (struct cgraph_node *node) in inline_account_function_p()
1862 sum_callers (struct cgraph_node *node, void *data) in sum_callers()
1891 struct cgraph_node *node; in inline_small_functions()
1898 struct cgraph_node **order = XCNEWVEC (cgraph_node *, symtab->cgraph_count); in inline_small_functions()
1935 struct cgraph_node *n2; in inline_small_functions()
2006 struct cgraph_node *where = node->inlined_to in inline_small_functions()
2025 struct cgraph_node *where, *callee; in inline_small_functions()
2174 struct cgraph_node *outer_node = NULL; in inline_small_functions()
2239 struct cgraph_node *n in inline_small_functions()
2240 = cgraph_node::get (edge->callee->decl)->ultimate_alias_target (); in inline_small_functions()
2286 flatten_function (struct cgraph_node *node, bool early, bool update) in flatten_function()
2297 struct cgraph_node *orig_callee; in flatten_function()
2298 struct cgraph_node *callee = e->callee->ultimate_alias_target (); in flatten_function()
2362 cgraph_node *where = node->inlined_to ? node->inlined_to : node; in flatten_function()
2372 inline_to_all_callers_1 (struct cgraph_node *node, void *data, in inline_to_all_callers_1()
2373 hash_set<cgraph_node *> *callers) in inline_to_all_callers_1()
2380 struct cgraph_node *caller = node->callers->caller; in inline_to_all_callers_1()
2394 cgraph_node *ultimate = node->ultimate_alias_target (); in inline_to_all_callers_1()
2430 inline_to_all_callers (struct cgraph_node *node, void *data) in inline_to_all_callers()
2432 hash_set<cgraph_node *> callers; in inline_to_all_callers()
2437 for (hash_set<cgraph_node *>::iterator i = callers.begin (); in inline_to_all_callers()
2448 struct cgraph_node *node; in dump_overall_stats()
2481 struct cgraph_node *node; in dump_inline_stats()
2580 flatten_remove_node_hook (struct cgraph_node *node, void *data) in flatten_remove_node_hook()
2585 hash_set<struct cgraph_node *> *removed in flatten_remove_node_hook()
2586 = (hash_set<struct cgraph_node *> *) data; in flatten_remove_node_hook()
2596 struct cgraph_node *node; in ipa_inline()
2598 struct cgraph_node **order; in ipa_inline()
2603 order = XCNEWVEC (struct cgraph_node *, symtab->cgraph_count); in ipa_inline()
2651 hash_set<struct cgraph_node *> *flatten_removed_nodes = NULL; in ipa_inline()
2658 flatten_removed_nodes = new hash_set<struct cgraph_node *>; in ipa_inline()
2751 struct cgraph_node *where = node->inlined_to in ipa_inline()
2787 inline_always_inline_functions (struct cgraph_node *node) in inline_always_inline_functions()
2794 struct cgraph_node *callee = e->callee->ultimate_alias_target (); in inline_always_inline_functions()
2836 early_inline_small_functions (struct cgraph_node *node) in early_inline_small_functions()
2843 struct cgraph_node *callee = e->callee->ultimate_alias_target (); in early_inline_small_functions()
2894 struct cgraph_node *node = cgraph_node::get (current_function_decl); in early_inliner()