Polaris: translateobject.h File Reference

translateobject.h File Reference

Go to the source code of this file.

Enumerations

enum  REF_TYPE {
  IN_REF_EXPR,
  IN_OUT_REF_EXPR,
  OUT_REF_EXPR
}

Functions

Expressioninitial_array_ref (Symbol *src_name_ptr)
 Return an initial subscript for the variable pointed to by src_name_ptr.
ostream & operator<< (ostream &o, const TranslateObject::SymRefElem &h)


Enumeration Type Documentation

enum REF_TYPE
 

Enumeration values:
IN_REF_EXPR 
IN_OUT_REF_EXPR 
OUT_REF_EXPR 

Definition at line 4 of file TranslateObject.h.


Function Documentation

Expression* initial_array_ref Symbol src_name_ptr  ) 
 

Return an initial subscript for the variable pointed to by src_name_ptr.

Add a clone of lower bound (or 1 if not defined) for each dimension

Definition at line 258 of file TranslateObject.cc.

References Expression::arg_list(), Expression::clone(), comma(), constant(), List< T >::ins_last(), and VARIABLE_CLASS.

Referenced by TranslateObject::_translate_symbol_refs_expr(), and InlineObject::make_conformable().

ostream& operator<< ostream &  o,
const TranslateObject::SymRefElem h
[inline]
 

Definition at line 212 of file TranslateObject.h.

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