|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PreciselyTyped
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.Exps 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 |
|---|
boolean isSmall()
true if this expression is a small type,
false otherwise.
int bitwidth()
isSmall()==true.
boolean signed()
isSmall()==true.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||