/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/ |
H A D | program-point.h | 69 class function_point 72 function_point (const supernode *supernode, 82 bool operator== (const function_point &other) const 111 static function_point from_function_entry (const supergraph &sg, 114 static function_point before_supernode (const supernode *supernode, 117 static function_point before_stmt (const supernode *supernode, in before_stmt() 120 return function_point (supernode, NULL, stmt_idx, PK_BEFORE_STMT); in before_stmt() 123 static function_point after_supernode (const supernode *supernode) in after_supernode() 125 return function_point (supernode, NULL, 0, PK_AFTER_SUPERNODE); in after_supernode() 130 static function_point empty () in empty() [all …]
|
H A D | state-purge.h | 26 template <> struct default_hash_traits<function_point> 27 : public pod_hash_traits<function_point> 34 pod_hash_traits<function_point>::hash (value_type v) 41 pod_hash_traits<function_point>::equal (const value_type &existing, 48 pod_hash_traits<function_point>::mark_deleted (value_type &v) 50 v = function_point::deleted (); 54 pod_hash_traits<function_point>::mark_empty (value_type &v) 56 v = function_point::empty (); 60 pod_hash_traits<function_point>::is_deleted (value_type v) 66 pod_hash_traits<function_point>::is_empty (value_type v) [all …]
|
H A D | program-point.cc | 89 function_point::function_point (const supernode *supernode, in function_point() function in ana::function_point 108 function_point::print (pretty_printer *pp, const format &f) const in print() 170 function_point::hash () const in hash() 184 function_point::get_function () const in get_function() 195 function_point::get_stmt () const in get_stmt() 208 function_point::get_location () const in get_location() 225 function_point::final_stmt_p () const in final_stmt_p() 234 function_point 235 function_point::from_function_entry (const supergraph &sg, function *fun) in from_function_entry() 243 function_point [all …]
|
H A D | state-purge.cc | 98 const function_point &point, in gimple_op_visitor() 181 const function_point &m_point; 251 function_point point (function_point::before_stmt (snode, i)); in state_purge_map() 321 auto_vec<function_point> worklist; in state_purge_per_ssa_name() 363 function_point point in state_purge_per_ssa_name() 364 = function_point::before_supernode in state_purge_per_ssa_name() 376 function_point point = before_use_stmt (map, use_stmt); in state_purge_per_ssa_name() 387 function_point point in state_purge_per_ssa_name() 388 = function_point::after_supernode (snode); in state_purge_per_ssa_name() 404 function_point point = worklist.pop (); in state_purge_per_ssa_name() [all …]
|
H A D | analyzer.h | 96 class function_point; variable
|
H A D | svalue.h | 1144 function_point m_point; 1177 const function_point &get_point () const { return m_point; } 1187 function_point m_point;
|
H A D | ChangeLog | 176 * program-point.cc (function_point::print): Fix missing trailing 406 * program-point.cc (function_point::final_stmt_p): New. 407 (function_point::get_next): New. 408 * program-point.h (function_point::final_stmt_p): New decl. 409 (function_point::get_next): New decl. 1836 * program-point.cc (function_point::print): Show src BB index at 3529 * program-point.cc (function_point::cmp): New. 3530 (function_point::cmp_ptr): New. 3531 * program-point.h (function_point::cmp): New decl. 3532 (function_point::cmp_ptr): New decl. [all …]
|
H A D | svalue.cc | 510 if (int point_cmp = function_point::cmp (widening_sval1->get_point (), in cmp_ptr()
|
H A D | engine.cc | 2297 = function_point::cmp_within_supernode (point_a.get_function_point (), in cmp()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/analyzer/ |
H A D | program-point.h | 69 class function_point 72 function_point (const supernode *supernode, in function_point() function 93 bool operator== (const function_point &other) const 126 static function_point from_function_entry (const supergraph &sg, in from_function_entry() 133 static function_point before_supernode (const supernode *supernode, in before_supernode() 138 return function_point (supernode, from_edge, 0, PK_BEFORE_SUPERNODE); in before_supernode() 141 static function_point before_stmt (const supernode *supernode, in before_stmt() 144 return function_point (supernode, NULL, stmt_idx, PK_BEFORE_STMT); in before_stmt() 147 static function_point after_supernode (const supernode *supernode) in after_supernode() 149 return function_point (supernode, NULL, 0, PK_AFTER_SUPERNODE); in after_supernode() [all …]
|
H A D | state-purge.h | 26 template <> struct default_hash_traits<function_point> 27 : public pod_hash_traits<function_point> 34 pod_hash_traits<function_point>::hash (value_type v) 41 pod_hash_traits<function_point>::equal (const value_type &existing, 48 pod_hash_traits<function_point>::mark_deleted (value_type &v) 50 v = function_point::deleted (); 54 pod_hash_traits<function_point>::mark_empty (value_type &v) 56 v = function_point::empty (); 60 pod_hash_traits<function_point>::is_deleted (value_type v) 66 pod_hash_traits<function_point>::is_empty (value_type v) [all …]
|
H A D | program-point.cc | 90 function_point::print (pretty_printer *pp, const format &f) const in print() 141 function_point::hash () const in hash() 155 function_point::get_stmt () const in get_stmt() 168 function_point::get_location () const in get_location() 198 function_point::print_source_line (pretty_printer *pp) const in print_source_line() 388 function_point::cmp_within_supernode_1 (const function_point &point_a, in cmp_within_supernode_1() 389 const function_point &point_b) in cmp_within_supernode_1() 457 function_point::cmp_within_supernode (const function_point &point_a, in cmp_within_supernode() 458 const function_point &point_b) in cmp_within_supernode() 482 function_point a = function_point (snode, NULL, 0, in test_function_point_equality() [all …]
|
H A D | state-purge.cc | 120 auto_vec<function_point> worklist; in state_purge_per_ssa_name() 162 function_point point in state_purge_per_ssa_name() 163 = function_point::before_supernode in state_purge_per_ssa_name() 175 function_point point = before_use_stmt (map, use_stmt); in state_purge_per_ssa_name() 186 function_point point in state_purge_per_ssa_name() 187 = function_point::after_supernode (snode); in state_purge_per_ssa_name() 203 function_point point = worklist.pop (); in state_purge_per_ssa_name() 226 state_purge_per_ssa_name::needed_at_point_p (const function_point &point) const in needed_at_point_p() 234 function_point 243 return function_point::before_stmt (supernode, stmt_idx); in before_use_stmt() [all …]
|
H A D | engine.cc | 1767 = function_point::cmp_within_supernode (point_a.get_function_point (), in cmp() 1824 m_origin = get_or_create_node (program_point (function_point (NULL, NULL, in exploded_graph()
|