|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PreciselyTyped
interface allows access to type
information for expressions which have a type which cannot be expressed
by the standard types in the Typed
interface.
Only CONST
, MEM
, and ESEQ
implement
PreciselyTyped
. All other Tree.Exp
s deal
with register-native types.
Field Summary |
Fields inherited from interface harpoon.IR.Tree.Typed |
DOUBLE, FLOAT, INT, LONG, POINTER |
Method Summary | |
int |
bitwidth()
Returns the size of the expression, in bits. |
boolean |
isSmall()
Returns true if this expression is a small type,
false otherwise. |
boolean |
signed()
Returns true if this is a signed expression, false otherwise. |
Methods inherited from interface harpoon.IR.Tree.Typed |
isDoubleWord, isFloatingPoint, type |
Method Detail |
public boolean isSmall()
true
if this expression is a small type,
false
otherwise.
public int bitwidth()
isSmall()==true
.
public boolean signed()
isSmall()==true
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |