ControlRangeDict Class Referencefile ControlRangeDict.h Collection of ranges extracted from program's control flow
More...
#include <ControlRangeDict.h>
Inheritance diagram for ControlRangeDict:
[legend]List of all members.
Detailed Description
file ControlRangeDict.h Collection of ranges extracted from program's control flow
Polaris Range - See also:
- ControlRangeDict.h
ControlRangeDict.h
ControlRangeDict.cc
A ControlRangeDict object is a repository for variable ranges for a program unit. Only those ranges that originate from FORTRAN control flow statements are collected.
A ControlRangeDict object is a repository of the variable ranges for all points of a program unit. These ranges are extracted from the control flow statements of the program; that is, they are taken from IF conditional tests, DO statements, and CSRD$ ASSERT statements.
The ControlRangeDict class was designed to generate variable ranges quickly, at the cost of accuracy. If one wishes a more accurate set of variable ranges, AIRangeDict should be used.
Definition at line 43 of file ControlRangeDict.h.
Constructor & Destructor Documentation
| ControlRangeDict::ControlRangeDict |
( |
ProgramUnit & |
pgm, |
|
|
int |
debug = 0 |
|
) |
|
|
Member Function Documentation
| void ControlRangeDict::print |
( |
ostream & |
o |
) |
const [virtual] |
|
| void ControlRangeDict::pretty_print |
( |
ostream & |
o, |
|
|
const Statement & |
stmt |
|
) |
const [virtual] |
|
|
|
Print out the range dictionary in a more user-readable manner.
Implements RangeDict.
Definition at line 727 of file ControlRangeDict.cc.
References Iterator< T >::current(), KeyIterator< S, T >::current_key(), ProtoDatabase< S, T >::find_ref(), RefList< T >::ins_last(), pretty_print_range(), sort_sym_list(), Statement::tag(), Iterator< T >::valid(), and KeyIterator< S, T >::valid(). |
| Listable * ControlRangeDict::listable_clone |
( |
void |
|
) |
const [virtual] |
|
| int ControlRangeDict::structures_OK |
( |
|
) |
const [virtual] |
|
| void ControlRangeDict::_del_range |
( |
const Symbol & |
var, |
|
|
const Statement & |
stmt |
|
) |
[protected, virtual] |
|
The documentation for this class was generated from the following files:
|