Polaris: Data.cc File Reference

Data.cc File Reference

Go to the source code of this file.

Functions

template ostream & operator<< (ostream &, const List< Data > &)
ostream & operator<< (ostream &o, const Data &d)
void mark_initialized (CommaExpr &expr)
 Takes as input an expression, which is assumed to be a "CommaExpr" of variables that will be initialized in the DATA statement.


Detailed Description

Definition in file Data.cc.


Function Documentation

template ostream& operator<< ostream &  ,
const List< Data > & 
 

ostream& operator<< ostream &  o,
const Data d
 

Definition at line 31 of file Data.cc.

void mark_initialized CommaExpr expr  ) 
 

Takes as input an expression, which is assumed to be a "CommaExpr" of variables that will be initialized in the DATA statement.

The expressions on the comma-list can be either IDExpr's, ArrayRefExpr's, or DoExpr's - no other expressions may appear in a DATA statement. This routine marks all the symbols it finds as "initialized" because they appear in the DATA statement.

Definition at line 149 of file Data.cc.

References ARRAY_REF_OP, DO_OP, ID_OP, Symbol::initial_value(), IS_INITIALIZED, mark_initialized(), Expression::op(), and Expression::symbol().

Referenced by Data::Data(), and mark_initialized().

 © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved.  Fri Mar 25 23:06:19 2005