| Polaris: RefList< T > Class Template Reference | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
RefList< T > Class Template Referencetemplate for types derived from Listable More...
Inheritance diagram for RefList< T >: ![]()
Detailed Descriptiontemplate<class T>
template for types derived from Listable
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||
|
< nothing to do |
|
||||||||||
|
Definition at line 219 of file RefList.h. References RefList< T >::_list. |
|
|||||||||
|
< nothing to do |
|
|||||||||
|
Implements TypedCollection< T >. Definition at line 399 of file RefList.h. References RefList< T >::_list. |
|
|||||||||
|
Implements TypedCollection< T >. Definition at line 406 of file RefList.h. References RefList< T >::_list. |
|
|||||||||
|
||||||||||
|
Definition at line 240 of file RefList.h. References RefList< T >::_list, and sub(). |
|
||||||||||
|
Implements the subscript operator (indexed from 0). If the subth element is not valid, an error is raised. Should be used for random access only. Definition at line 247 of file RefList.h. References RefList< T >::_list, and sub(). |
|
||||||||||||||||
|
print list to out with 'sep' sepperating each element
Definition at line 254 of file RefList.h. References RefList< T >::_list, and BaseRefList::print(). Referenced by RefList< T >::print(), and PhiPlaceDef::print(). |
|
||||||||||||||||
|
change the reference at loc to a reference to el.
Definition at line 261 of file RefList.h. References RefList< T >::_list, and BaseRefList::modify(). Referenced by main(). |
|
||||||||||||||||
|
Insert new_element at location loc, where 0 <= loc < entries().
Definition at line 268 of file RefList.h. References RefList< T >::_list, and BaseRefList::ins(). Referenced by VariableSymbol::common(), Namelist::ins(), main(), and optimize_ssa_beta(). |
|
|||||||||
|
Remove a node and returns it's reference.
Definition at line 296 of file RefList.h. Referenced by _build_call_diamond(), _generate_subst_order(), build_in_out_set(), EquivalenceDict::clean(), main(), sort_sym_list(), and Equivalence::write(). |
|
||||||||||
|
Remove a node and returns it's reference.
Definition at line 312 of file RefList.h. References RefList< T >::del(). |
|
||||||||||
|
Remove a node and returns it's reference.
Definition at line 303 of file RefList.h. References RefList< T >::del(). |
|
||||||||||
|
Delete node 'el'. el MUST be in the list (this is not necessarily checked). Definition at line 289 of file RefList.h. References RefList< T >::_list, and BaseRefList::del(). Referenced by ar_intersect(), ar_subtract(), EquivalenceDict::clean(), VariableSymbol::clear_common(), elim_equivalent_descrs(), RefList< T >::grab(), localize_goto(), main(), normalize_cfg(), optimize_ssa_eta(), optimize_ssa_gamma(), optimize_ssa_mu(), process2(), and simplify_descriptors_scalar(). |
|
||||||||||||||||
|
Delete first occurence of node 'el' at or beyond locth position. el MUST be in the list (this is not necessarily checked). Definition at line 282 of file RefList.h. References RefList< T >::_list, and BaseRefList::del(). |
|
||||||||||
|
Random Access Delete. Delete the Node in position loc where 0 <= loc < entries()-1. Definition at line 275 of file RefList.h. References RefList< T >::_list, and BaseRefList::del(). |
|
||||||||||
|
Check to see if node 'el' is a member of the RefList. Return 0 if the element was not found, else return 1. Definition at line 327 of file RefList.h. References RefList< T >::_list, and Collection::member(). Referenced by _determine_entry_points(), add_dummy_eta_assignments_after_loops(), ar_intersect(), build_in_out_sets(), EquivalenceDict::clean(), gating(), move_saved_vars(), SSAProgramUnit::SEARCH(), SEARCH(), and untranslate_var(). |
|
||||||||||
|
Check to see if node 'el' is a member of the RefList. Return -1 if the element was not found, else return the index of the element. Definition at line 320 of file RefList.h. References RefList< T >::_list, and Collection::index(). Referenced by Namelist::del(), and main(). |
|
||||||||||
|
||||||||||
|
Check to see if the first occurence of T in the RefList is valid.
Definition at line 341 of file RefList.h. References RefList< T >::_list, and Collection::valid(). |
|
||||||||||
|
Prepend new_element to the beginning of the list.
Definition at line 348 of file RefList.h. References RefList< T >::_list, and BaseRefList::ins(). Referenced by _build_call_diamond(), SymbolAccessRef::_copy_access_lists(), _generate_subst_order(), add_to_chain(), ar_interleave(), ar_subtract(), cdg_dag2tree(), elim_equivalent_descrs(), main(), operator<<(), process(), process2(), and simplify_descriptors_scalar(). |
|
||||||||||
|
||||||||||||||||
|
Insert new_element before the reference element 'ref' (if ref == 0, insert at END of list). ref MUST be in the list (this is not necessarily checked). Definition at line 362 of file RefList.h. References RefList< T >::_list, and BaseRefList::ins_before(). Referenced by localize_goto(), and main(). |
|
||||||||||||||||
|
Insert new_element after the reference element 'ref' (if ref == 0, insert at BEGINNING of list). ref MUST be in the list (this is not necessarily checked). Definition at line 369 of file RefList.h. References RefList< T >::_list, and BaseRefList::ins_after(). Referenced by localize_goto(), main(), normalize_cfg(), and RangeAccessor::pretty_print(). |
|
|||||||||
|
Delete the entire list.
Definition at line 376 of file RefList.h. References RefList< T >::_list, and Collection::clear(). Referenced by Assertion::Assertion(), main(), Assertion::operator=(), SSAFullRangeDict::pretty_print(), GSAFullRangeDict::pretty_print(), SSAProgramUnit::SEARCH(), SEARCH(), and Assertion::~Assertion(). |
|
||||||||||
|
Copy operator copies all the valid elements of a RefList.
Definition at line 384 of file RefList.h. References RefList< T >::_list. |
|
|||||||||
|
Check the structure of the data for errors or inconsistency. Return 0 and print error message if problems found, otherwise return 1 without message. Definition at line 392 of file RefList.h. References RefList< T >::_list, and Collection::structures_OK(). Referenced by ReturnJumpFunction::structures_OK(), and IPCPProcData::structures_OK(). |
|
|||||||||
|
Needed for Listable class.
Implements Listable. |
|
||||||||||
|
Needed for Listable class. It invokes a non-virtual member function to print a representation of the data structure at this level of the Collection hierarchy, and, since it is not a class member function, it must be explicitly instantiated before use. Implements Listable. Definition at line 420 of file RefList.h. References RefList< T >::print(). |
|
|||||
|
Reimplemented from TypedCollection< T >. |
|
|||||
|
gcc-2.96 need the stupid "<>" pair friend ostream & operator << (ostream & o, const RefList<T> &l);
Reimplemented from TypedCollection< T >. |
|
||||||||||||||||
|
|
|
|||||
| © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved. | Fri Mar 25 23:08:06 2005 |