Home
last modified time | relevance | path

Searched refs:call_string (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/
H A Dcall-string.cc53 call_string::element_t::operator== (const call_string::element_t &other) const in operator ==()
60 call_string::element_t::operator!= (const call_string::element_t &other) const in operator !=()
66 call_string::element_t::get_caller_function () const in get_caller_function()
72 call_string::element_t::get_callee_function () const in get_callee_function()
79 call_string::call_string (const call_string &other) in call_string() function in call_string
82 for (const call_string::element_t &e : other.m_elements) in call_string()
88 call_string&
89 call_string::operator= (const call_string &other) in operator =()
94 call_string::element_t *e; in operator =()
104 call_string::operator== (const call_string &other) const in operator ==()
[all …]
H A Dprogram-point.h175 const call_string &call_string) in program_point() argument
177 m_call_string (call_string) in program_point()
200 const call_string &get_call_string () const { return m_call_string; } in get_call_string()
253 call_string ()); in origin()
260 call_string ()); in from_function_entry()
265 const call_string &call_string) in before_supernode() argument
269 call_string); in before_supernode()
274 const call_string &call_string) in before_stmt() argument
277 call_string); in before_stmt()
281 const call_string &call_string) in after_supernode() argument
[all …]
H A Dcall-string.h42 class call_string
68 call_string () : m_elements () {} in call_string() function
69 call_string (const call_string &other);
70 call_string& operator= (const call_string &other);
72 bool operator== (const call_string &other) const;
92 static int cmp (const call_string &a,
93 const call_string &b);
H A Dprogram-point.cc474 const call_string::element_t top_of_stack = m_call_string.pop (); in on_edge()
475 call_string::element_t current_call_string_element (succ->m_dest, in on_edge()
724 const call_string call_string; in test_function_point_ordering() local
761 const call_string cs; in test_program_point_equality()
H A Dexploded-graph.h598 per_call_string_data (const call_string &key, int num_supernodes) in per_call_string_data()
602 const call_string m_key;
611 typedef const call_string *key_type;
794 typedef hash_map <const call_string *, per_call_string_data *,
842 get_or_create_per_call_string_data (const call_string &);
H A Dengine.cc1519 const call_string &cs_at_longjmp = longjmp_point.get_call_string (); in valid_longjmp_stack_p()
1520 const call_string &cs_at_setjmp = setjmp_point.get_call_string (); in valid_longjmp_stack_p()
2231 const call_string &call_string_a = point_a.get_call_string (); in cmp()
2232 const call_string &call_string_b = point_b.get_call_string (); in cmp()
2262 int cs_cmp = call_string::cmp (call_string_a, call_string_b); in cmp()
2780 exploded_graph::get_or_create_per_call_string_data (const call_string &cs) in get_or_create_per_call_string_data()
4034 const call_string cs = point.get_call_string (); in process_node()
4722 function_call_string_cluster (function *fun, call_string cs) in function_call_string_cluster()
4792 return call_string::cmp (c1->m_cs, c2->m_cs); in cmp_ptr_ptr()
4797 call_string m_cs;
[all …]
H A DChangeLog1698 * call-string.cc (call_string::element_t::operator==): New operator.
1700 (call_string::element_t::get_caller_function): New function.
1701 (call_string::element_t::get_callee_function): New function.
1702 (call_string::call_string): Refactor to Initialise m_elements.
1703 (call_string::operator=): Refactor to work with m_elements.
1704 (call_string::operator==): Likewise.
1705 (call_string::to_json): Likewise.
1706 (call_string::hash): Refactor to hash e.m_caller.
1707 (call_string::push_call): Refactor to work with m_elements.
1708 (call_string::push_call): New overload to push call via supernodes.
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/analyzer/
H A Dcall-string.cc45 call_string::call_string (const call_string &other) in call_string() function in call_string
56 call_string&
57 call_string::operator= (const call_string &other) in operator =()
72 call_string::operator== (const call_string &other) const in operator ==()
87 call_string::print (pretty_printer *pp) const in print()
108 call_string::hash () const in hash()
122 call_string::push_call (const supergraph &sg, in push_call()
135 call_string::calc_recursion_depth () const in calc_recursion_depth()
158 call_string::cmp (const call_string &a, in cmp()
159 const call_string &b) in cmp()
[all …]
H A Dprogram-point.h191 const call_string &call_string) in program_point() argument
193 m_call_string (call_string) in program_point()
211 const call_string &get_call_string () const { return m_call_string; } in get_call_string()
265 call_string ()); in from_function_entry()
270 const call_string &call_string) in before_supernode() argument
274 call_string); in before_supernode()
279 const call_string &call_string) in before_stmt() argument
282 call_string); in before_stmt()
286 const call_string &call_string) in after_supernode() argument
289 call_string); in after_supernode()
[all …]
H A Dcall-string.h39 class call_string
42 call_string () : m_return_edges () {} in call_string() function
43 call_string (const call_string &other);
44 call_string& operator= (const call_string &other);
46 bool operator== (const call_string &other) const;
60 static int cmp (const call_string &a,
61 const call_string &b);
H A Dprogram-point.cc494 const call_string call_string; in test_function_point_ordering() local
531 const call_string cs; in test_program_point_equality()
H A Dexploded-graph.h534 per_call_string_data (const call_string &key, int num_supernodes) in per_call_string_data()
538 const call_string m_key;
547 typedef const call_string *key_type;
722 typedef hash_map <const call_string *, per_call_string_data *,
759 get_or_create_per_call_string_data (const call_string &);
H A Dengine.cc1170 const call_string &cs_at_longjmp = longjmp_point.get_call_string (); in valid_longjmp_stack_p()
1171 const call_string &cs_at_setjmp = setjmp_point.get_call_string (); in valid_longjmp_stack_p()
1720 const call_string &call_string_a = point_a.get_call_string (); in cmp()
1721 const call_string &call_string_b = point_b.get_call_string (); in cmp()
1773 int cs_cmp = call_string::cmp (call_string_a, call_string_b); in cmp()
1826 call_string ()), in exploded_graph()
2090 exploded_graph::get_or_create_per_call_string_data (const call_string &cs) in get_or_create_per_call_string_data()
3064 function_call_string_cluster (function *fun, call_string cs) in function_call_string_cluster()
3114 call_string m_cs;
3123 function_call_string (function *fun, call_string cs) in function_call_string()
[all …]