|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.ir.operand.Operand org.jikesrvm.compilers.opt.ir.operand.ia32.IA32ConditionOperand
public final class IA32ConditionOperand
An IA32 condition operand
Field Summary | |
---|---|
byte |
value
Value of this operand (one of the ConditionCode constants operands defined in AssemblerConstants) |
Fields inherited from class org.jikesrvm.compilers.opt.ir.operand.Operand |
---|
instruction |
Fields inherited from interface org.jikesrvm.compilers.common.assembler.ia32.AssemblerConstants |
---|
BYTE, CONDITION, EQ, GE, GT, LE, LGE, LGT, LLE, LLT, LONG, LT, NE, NO, NS, O, PE, PO, S, SHORT, WORD |
Constructor Summary | |
---|---|
private |
IA32ConditionOperand(byte c)
|
|
IA32ConditionOperand(ConditionOperand c)
Construct the IA32 Condition Operand that corresponds to the argument ConditionOperand |
Method Summary | |
---|---|
Operand |
copy()
Return a new operand that is semantically equivalent to this . |
static IA32ConditionOperand |
EQ()
|
IA32ConditionOperand |
flipCode()
flip the direction of the condition (return this, mutated to flip value) |
IA32ConditionOperand |
flipOperands()
change the condition when operands are flipped (return this mutated to change value) |
static IA32ConditionOperand |
GE()
|
static IA32ConditionOperand |
GT()
|
static IA32ConditionOperand |
LE()
|
static IA32ConditionOperand |
LGE()
|
static IA32ConditionOperand |
LGT()
|
static IA32ConditionOperand |
LLE()
|
static IA32ConditionOperand |
LLT()
|
static IA32ConditionOperand |
LT()
|
static IA32ConditionOperand |
NE()
|
static IA32ConditionOperand |
NO()
|
static IA32ConditionOperand |
O()
|
static IA32ConditionOperand |
PE()
|
static IA32ConditionOperand |
PO()
|
boolean |
similar(Operand op)
Are two operands semantically equivalent? |
String |
toString()
|
private void |
translate(ConditionOperand c)
|
Methods inherited from class org.jikesrvm.compilers.opt.ir.operand.Operand |
---|
asAddressConstant, asBlock, asBranch, asClassConstant, asCondition, asDoubleConstant, asFloatConstant, asIntConstant, asLocation, asLongConstant, asMemory, asMethod, asNullConstant, asObjectConstant, asRegister, asStackLocation, asStringConstant, asTIBConstant, asType, conservativelyApproximates, getIndexInInstruction, getType, isAddress, isAddressConstant, isBlock, isBranch, isClassConstant, isConstant, isDefinitelyNull, isDouble, isDoubleConstant, isFloat, isFloatConstant, isInt, isIntConstant, isIntLike, isLocation, isLong, isLongConstant, isMemory, isMethod, isMovableObjectConstant, isNullConstant, isObjectConstant, isRef, isRegister, isStackLocation, isStringConstant, isTIBConstant, isTrueGuard, isType, meet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public byte value
Constructor Detail |
---|
public IA32ConditionOperand(ConditionOperand c)
private IA32ConditionOperand(byte c)
Method Detail |
---|
public Operand copy()
Operand
this
.
copy
in class Operand
this
public boolean similar(Operand op)
Operand
similar
in class Operand
op
- other operand
true
if this
and op
are semantically equivalent or false
if they are not.public IA32ConditionOperand flipCode()
public IA32ConditionOperand flipOperands()
public static IA32ConditionOperand EQ()
public static IA32ConditionOperand NE()
public static IA32ConditionOperand LT()
public static IA32ConditionOperand LE()
public static IA32ConditionOperand GT()
public static IA32ConditionOperand GE()
public static IA32ConditionOperand O()
public static IA32ConditionOperand NO()
public static IA32ConditionOperand LGT()
public static IA32ConditionOperand LLT()
public static IA32ConditionOperand LGE()
public static IA32ConditionOperand LLE()
public static IA32ConditionOperand PE()
public static IA32ConditionOperand PO()
private void translate(ConditionOperand c)
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |