coins.flow
Class ExpInf

java.lang.Object
  extended bycoins.flow.ExpInf

public class ExpInf
extends java.lang.Object

ExpInf Expression information. Linked from ExpId.


Field Summary
(package private)  boolean fHasCall
           
 IR fLinkedIR
           
(package private)  java.util.Set fOperandSet
           
(package private)  java.util.Set fOperandSet0
           
(package private)  int fOperationCount
           
protected  ExpId fRValueExpId
           
protected  SetRefRepr fSetRefRepr
           
 
Constructor Summary
ExpInf(IR pIR)
           
 
Method Summary
 void combineTo(ExpInf pExpInf)
           
 int getNumberOfOperations()
           
 java.util.Set getOperandSet()
           
 java.util.Set getOperandSet0()
           
 ExpId getRValueExpId()
          Get the ExpId corresponding to r-value expression having the same form as the l-value expression corresponding to this ExpInf.
 SetRefRepr getSetRefRepr()
           
 boolean hasCall()
           
 void setCallFlag()
           
 void setNumberOfOperations(int pOperationCount)
           
 void setRValueExpId(ExpId pRValueExpId)
           
 void setSetRefRepr(SetRefRepr pSetRefRepr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fLinkedIR

public final IR fLinkedIR

fOperationCount

int fOperationCount

fOperandSet

final java.util.Set fOperandSet

fOperandSet0

final java.util.Set fOperandSet0

fHasCall

boolean fHasCall

fSetRefRepr

protected SetRefRepr fSetRefRepr

fRValueExpId

protected ExpId fRValueExpId
Constructor Detail

ExpInf

public ExpInf(IR pIR)
Method Detail

getOperandSet

public java.util.Set getOperandSet()

getOperandSet0

public java.util.Set getOperandSet0()

getNumberOfOperations

public int getNumberOfOperations()

setNumberOfOperations

public void setNumberOfOperations(int pOperationCount)

hasCall

public boolean hasCall()

setCallFlag

public void setCallFlag()

combineTo

public void combineTo(ExpInf pExpInf)

getSetRefRepr

public SetRefRepr getSetRefRepr()

setSetRefRepr

public void setSetRefRepr(SetRefRepr pSetRefRepr)

getRValueExpId

public ExpId getRValueExpId()
Get the ExpId corresponding to r-value expression having the same form as the l-value expression corresponding to this ExpInf. If this ExpInf does not correspond to l-value, then the result is null.

Returns:
the ExpId corresponding to r-value expression.

setRValueExpId

public void setRValueExpId(ExpId pRValueExpId)