Polaris: Expression.h File Reference

Expression.h File Reference

Go to the source code of this file.

Enumerations

enum  OP_TYPE {
  DELETED_EXPRESSION_OP = 0,
  INTEGER_CONSTANT_OP,
  REAL_CONSTANT_OP,
  STRING_CONSTANT_OP,
  LOGICAL_CONSTANT_OP,
  HOLLERITH_CONSTANT_OP,
  COMPLEX_OP,
  ARRAY_REF_OP,
  SUBSTRING_OP,
  FUNCTION_CALL_OP,
  INTRINSIC_CALL_OP,
  LAMBDA_CALL_OP,
  ARG_OP,
  RETURN_OP,
  LABEL_OP,
  IO_STAR_OP,
  FORMAT_OP,
  ID_OP,
  U_PLUS_OP,
  U_MINUS_OP,
  NOT_OP,
  EQ_OP,
  NE_OP,
  LT_OP,
  LE_OP,
  GT_OP,
  GE_OP,
  SUB_OP,
  DIV_OP,
  INTDIV_OP,
  RATDIV_OP,
  EXP_OP,
  CONCAT_OP,
  ADD_OP,
  MULT_OP,
  OR_OP,
  AND_OP,
  EQV_OP,
  NEQV_OP,
  DO_OP,
  EQUAL_OP,
  COMMA_OP,
  COLON_OP,
  PAREN_OP,
  OMEGA_OP,
  REPSTAR_OP,
  TABLE_ENTRY,
  STMT_LABEL_OP,
  KEY_OP,
  KEYPAIR_OP,
  INFINITY_OP,
  ALPHA_OP,
  GAMMA_OP,
  MU_OP,
  THETA_OP,
  ETA_OP,
  BETA_OP,
  DISTRIBUTE_OP,
  RANGE_OP,
  ANY_EXPR_SUBSET_WC,
  FORBOL_EXPR_WC,
  FORBOL_STMT_WC,
  FORBOL_EXPR_PMF_WC,
  FORBOL_STMT_PMF_WC,
  FORBOL_BLOCK_PMF_WC,
  AND_WC,
  OR_WC,
  NOT_WC,
  CONTAINS_WC,
  SUCH_THAT_WC,
  ANY_WC,
  ANY_EXPR_OF_TYPE_WC,
  ANY_CONST_WC,
  ANY_INT_CONST_WC,
  ANY_HOLLERITH_CONST_WC,
  ANY_LOGICAL_CONST_WC,
  ANY_REAL_CONST_WC,
  ANY_STRING_CONST_WC,
  ANY_ARRAY_REF_WC,
  ANY_BINARY_WC,
  ANY_COMMA_WC,
  ANY_COMPLEX_WC,
  ANY_ID_WC,
  ANY_FUNCTION_CALL_WC,
  ANY_INTRINSIC_CALL_WC,
  ANY_NON_BINARY_WC,
  ANY_SUBSTRING_WC,
  ANY_UNARY_WC,
  ANY_INT_WC,
  ANY_REAL_WC,
  NUM_OP_TYPES
}

Functions

void reset_simplifier_opts ()
 reset_simplifier_opts Reset the options to simplify.
void set_simplifier_opts ()
 set_simplifier_opts Set the options to simplify.

Variables

class class class class class
class class class class class
typedef unsigned char 
Arc_type
 Types of operators.


Enumeration Type Documentation

enum OP_TYPE
 

Enumeration values:
DELETED_EXPRESSION_OP  Indicates this expression has been deleted.
INTEGER_CONSTANT_OP  IntConstExpr.h 1.
REAL_CONSTANT_OP  RealConstExpr.h 1.0.
STRING_CONSTANT_OP  StringConstExpr.h 'foo'.
LOGICAL_CONSTANT_OP  LogicalConstExpr.h .TRUE.
HOLLERITH_CONSTANT_OP  HollerithConstExpr.h H3foo.
COMPLEX_OP  ComplexExpr.h (0., 1.).
ARRAY_REF_OP  ArrayRefExpr.h a(i).
SUBSTRING_OP  SubStringExpr.h 'foo'(1:3).
FUNCTION_CALL_OP  FunctionCallExpr.h foo(n).
INTRINSIC_CALL_OP  IntrinsicCallExpr.h MIN(a, b).
LAMBDA_CALL_OP  LambdaCallExpr.h (#1 + #2)(a, b).
ARG_OP  ArgNumberExpr.h #1.
RETURN_OP  ReturnStarExpr.h *1.
LABEL_OP  LabelExpr.h 100.
IO_STAR_OP  IOStarExpr.h *.
FORMAT_OP  FormatExpr.h 100.
ID_OP  IDExpr.h n.
U_PLUS_OP  UnaryExpr.h +a.
U_MINUS_OP  UnaryExpr.h -a.
NOT_OP  UnaryExpr.h .NOT. a.
EQ_OP  BinaryExpr.h a .EQ. b.
NE_OP  BinaryExpr.h a .NE. b.
LT_OP  BinaryExpr.h a .LT. b.
LE_OP  BinaryExpr.h a .LE. b.
GT_OP  BinaryExpr.h a .GT. b.
GE_OP  BinaryExpr.h a .GE. b.
SUB_OP  BinaryExpr.h a - b.
DIV_OP  BinaryExpr.h a / b.
INTDIV_OP  BinaryExpr.h a /# b.
RATDIV_OP  BinaryExpr.h a /% b.
EXP_OP  BinaryExpr.h a ** b.
CONCAT_OP  NonBinaryExpr.h a // b.
ADD_OP  NonBinaryExpr.h a + b + c.
MULT_OP  NonBinaryExpr.h a * b * c.
OR_OP  NonBinaryExpr.h a .OR. b .OR. c.
AND_OP  NonBinaryExpr.h a .AND. b .AND. c.
EQV_OP  NonBinaryExpr.h a .EQV. b .EQV. c.
NEQV_OP  NonBinaryExpr.h a .NEQV. b .NEQV. c.
DO_OP  DoExpr.h (a(i) i=1,100).
EQUAL_OP  EqualExpr.h i=1,100.
COMMA_OP  CommaExpr.h a, b, c.
COLON_OP  NonBinaryExpr.h a:b:c.
PAREN_OP  UnaryExpr.h (a).
OMEGA_OP  OmegeExpr.h.
REPSTAR_OP  BinaryExpr.h 1.0 * 100 (Repeat factor for DATA statement constants).
TABLE_ENTRY  TableExpr.h (Only for expr table entries).
STMT_LABEL_OP  StmtLabelExpr.h StmtLabel("S35") (Used only internally for Stmt conversion).
KEY_OP  KeyExpr.h MASK=A.
KEYPAIR_OP  BinaryExpr.h MASK=A.
INFINITY_OP  InfinityExpr.h Inf.
ALPHA_OP  GSAExpr.h ALPHA(...).
GAMMA_OP  GSAExpr.h GAMMA(a .LT. b, c, d).
MU_OP  GSAExpr.h MU(c, d).
THETA_OP  GSAExpr.h GAMMA(c, d).
ETA_OP  GSAExpr.h ETA(i .GT. n, c, d).
BETA_OP  Guobin: Added for array SSA.
DISTRIBUTE_OP  _ Distribution A(2:BLOCK(5),:BLOCK)
RANGE_OP  Wild Card Types.
ANY_EXPR_SUBSET_WC  MUST be first wildcard type!!!!
FORBOL_EXPR_WC  Used only by Forbol.
FORBOL_STMT_WC  Used only by Forbol.
FORBOL_EXPR_PMF_WC  Used only by Forbol.
FORBOL_STMT_PMF_WC  Used only by Forbol.
FORBOL_BLOCK_PMF_WC  Used only by Forbol.
AND_WC 
OR_WC 
NOT_WC 
CONTAINS_WC 
SUCH_THAT_WC 
ANY_WC 
ANY_EXPR_OF_TYPE_WC 
ANY_CONST_WC 
ANY_INT_CONST_WC 
ANY_HOLLERITH_CONST_WC 
ANY_LOGICAL_CONST_WC 
ANY_REAL_CONST_WC 
ANY_STRING_CONST_WC 
ANY_ARRAY_REF_WC 
ANY_BINARY_WC 
ANY_COMMA_WC 
ANY_COMPLEX_WC 
ANY_ID_WC 
ANY_FUNCTION_CALL_WC 
ANY_INTRINSIC_CALL_WC 
ANY_NON_BINARY_WC 
ANY_SUBSTRING_WC 
ANY_UNARY_WC 
ANY_INT_WC 
ANY_REAL_WC  This last one is simply for consistency checking by the compiler.

It should not be used externally.

NUM_OP_TYPES 

Definition at line 223 of file Expression.h.


Function Documentation

void reset_simplifier_opts  ) 
 

reset_simplifier_opts Reset the options to simplify.

Definition at line 9388 of file Expression.cc.

References _saved_simplify_options, and _simplify_options.

void set_simplifier_opts  ) 
 

set_simplifier_opts Set the options to simplify.

Definition at line 9399 of file Expression.cc.

References _read_simplify_opts(), _saved_simplify_options, and _simplify_options.


Variable Documentation

class class class class class class class class class class class typedef unsigned char Arc_type
 

Types of operators.

Definition at line 200 of file Expression.h.

Referenced by DDgraph::add(), DDgraph::DDgraph(), and DDgraphTester::show_arcs().

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