|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectharpoon.IR.Quads.Qop
harpoon.IR.LowQuad.LQop
public abstract class LQop
LQop is an enumerated type for the various kinds of
OPER opcodes in LowQuad form.
| Field Summary | |
|---|---|
static int |
PADD
Computes the sum of two POINTER values. |
static int |
PCMPEQ
Evaluates to true if the two POINTER
values are equal. |
static int |
PCMPGT
Evaluates to true if the first POINTER
value is greater than the second POINTER value. |
static int |
PNEG
Negates a POINTER value (used to compute differences). |
| Fields inherited from class harpoon.IR.Quads.Qop |
|---|
ACMPEQ, D2F, D2I, D2L, DADD, DCMPEQ, DCMPGE, DCMPGT, DDIV, DMUL, DNEG, DREM, F2D, F2I, F2L, FADD, FCMPEQ, FCMPGE, FCMPGT, FDIV, FMUL, FNEG, FREM, I2B, I2C, I2D, I2F, I2L, I2S, IADD, IAND, ICMPEQ, ICMPGT, IDIV, IMUL, INEG, IOR, IREM, ISHL, ISHR, IUSHR, IXOR, L2D, L2F, L2I, LADD, LAND, LCMPEQ, LCMPGT, LDIV, LMUL, LNEG, LOR, LREM, LSHL, LSHR, LUSHR, LXOR |
| Constructor Summary | |
|---|---|
LQop()
|
|
| Method Summary | |
|---|---|
static Object |
evaluation(int opc,
Object[] opd)
Evaluates a constant value for the result of an OPER,
given constant values for the operands. |
static int |
forString(String op)
|
static boolean |
isValid(int v)
|
static HClass |
resultType(int v)
Determines the result type of an OPER. |
static String |
toString(int v)
|
| Methods inherited from class harpoon.IR.Quads.Qop |
|---|
evaluate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PCMPEQ
true if the two POINTER
values are equal.
public static final int PCMPGT
true if the first POINTER
value is greater than the second POINTER value.
public static final int PADD
POINTER values.
public static final int PNEG
POINTER value (used to compute differences).
| Constructor Detail |
|---|
public LQop()
| Method Detail |
|---|
public static boolean isValid(int v)
public static String toString(int v)
public static int forString(String op)
public static HClass resultType(int v)
OPER.
public static Object evaluation(int opc,
Object[] opd)
OPER,
given constant values for the operands.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||