Lines Matching refs:edge

47 int do_estimate_edge_size (struct cgraph_edge *edge);
48 sreal do_estimate_edge_time (struct cgraph_edge *edge);
49 ipa_hints do_estimate_edge_hints (struct cgraph_edge *edge);
70 estimate_edge_size (struct cgraph_edge *edge) in estimate_edge_size() argument
73 if ((int)edge_growth_cache.length () <= edge->uid in estimate_edge_size()
74 || !(ret = edge_growth_cache[edge->uid].size)) in estimate_edge_size()
75 return do_estimate_edge_size (edge); in estimate_edge_size()
82 estimate_edge_growth (struct cgraph_edge *edge) in estimate_edge_growth() argument
84 gcc_checking_assert (ipa_call_summaries->get (edge)->call_stmt_size in estimate_edge_growth()
85 || !edge->callee->analyzed); in estimate_edge_growth()
86 return (estimate_edge_size (edge) in estimate_edge_growth()
87 - ipa_call_summaries->get (edge)->call_stmt_size); in estimate_edge_growth()
94 estimate_edge_time (struct cgraph_edge *edge, sreal *nonspec_time = NULL)
97 if ((int)edge_growth_cache.length () <= edge->uid
98 || !edge_growth_cache[edge->uid].size)
99 return do_estimate_edge_time (edge);
101 *nonspec_time = edge_growth_cache[edge->uid].nonspec_time;
102 return edge_growth_cache[edge->uid].time;
110 estimate_edge_hints (struct cgraph_edge *edge) in estimate_edge_hints() argument
113 if ((int)edge_growth_cache.length () <= edge->uid in estimate_edge_hints()
114 || !(ret = edge_growth_cache[edge->uid].hints)) in estimate_edge_hints()
115 return do_estimate_edge_hints (edge); in estimate_edge_hints()
122 reset_edge_growth_cache (struct cgraph_edge *edge) in reset_edge_growth_cache() argument
124 if ((int)edge_growth_cache.length () > edge->uid) in reset_edge_growth_cache()
127 edge_growth_cache[edge->uid] = zero; in reset_edge_growth_cache()