org.jikesrvm.compilers.opt.lir2mir
Class BURS_Common_Helpers
java.lang.Object
org.jikesrvm.compilers.opt.ir.IRTools
org.jikesrvm.compilers.opt.ir.GenericPhysicalRegisterTools
org.jikesrvm.compilers.opt.ir.ia32.PhysicalRegisterTools
org.jikesrvm.ArchitectureSpecificOpt.PhysicalRegisterTools
org.jikesrvm.compilers.opt.lir2mir.BURS_Common_Helpers
- Direct Known Subclasses:
- BURS_MemOp_Helpers
public abstract class BURS_Common_Helpers
- extends ArchitectureSpecificOpt.PhysicalRegisterTools
Contains BURS helper functions common to all platforms.
Method Summary |
protected static AddressConstantOperand |
AC(Operand op)
|
protected static Address |
AV(Operand op)
|
protected void |
EMIT(Instruction s)
|
protected static boolean |
EQ_GT_GE(ConditionOperand c)
|
protected static boolean |
EQ_LT_LE(ConditionOperand c)
|
protected static boolean |
EQ_NE(ConditionOperand c)
|
protected static int |
FITS(Operand op,
int numBits,
int trueCost)
|
protected static int |
FITS(Operand op,
int numBits,
int trueCost,
int falseCost)
|
IR |
getIR()
Return the governing IR. |
protected static IntConstantOperand |
IC(Operand op)
|
protected static int |
isONE(int x,
int trueCost)
|
protected static int |
isONE(int x,
int trueCost,
int falseCost)
|
protected static int |
isZERO(int x,
int trueCost)
|
protected static int |
isZERO(int x,
int trueCost,
int falseCost)
|
protected static int |
IV(Operand op)
|
protected static LongConstantOperand |
LC(Operand op)
|
protected static boolean |
MINUSONE(Operand a)
|
protected static boolean |
ONE(Operand a)
|
protected static Instruction |
P(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLLLLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLLLLLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLLLRL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLLLRLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLLLRLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLLRL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLLRLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLLRLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLLRLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLRL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLRLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLRLLRL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PRL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PRLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PRLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PRLLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PRLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PRLLRLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PRLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PRLRL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PRR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PRRL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static Instruction |
PRRR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static RegisterOperand |
R(Operand op)
|
protected static int |
V(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLLLLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLLLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLLRLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLLRLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLLRLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLRLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLRLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLRLLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLRLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLRL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLRLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLRLLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLRLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VLRRR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRLL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRLLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRLLRLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRLLRLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRLLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRLRLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRRL(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRRLR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static int |
VRRR(ArchitectureSpecificOpt.BURS_TreeNode p)
|
protected static boolean |
ZERO(Operand a)
|
Methods inherited from class org.jikesrvm.compilers.opt.ir.IRTools |
A, AC, AC, CPOS, CR, D, DC, defDoublesAsUse, definedIn, F, FC, getCondMoveOp, getDefaultOperand, getLoadOp, getLoadOp, getMoveOp, getStoreOp, getStoreOp, I, IC, insertInstructionsAfter, L, LC, makeBlockOnEdge, mayBeVolatileFieldLoad, moveInstruction, moveIntoRegister, moveIntoRegister, nonPEIGC, TG, usedIn, useDoublesAsDef |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INFINITE
protected static final int INFINITE
- Infinite cost for a rule
- See Also:
- Constant Field Values
burs
protected final BURS burs
- The BURS object
regpool
protected final ArchitectureSpecificOpt.RegisterPool regpool
- The register pool of the IR being processed
BURS_Common_Helpers
protected BURS_Common_Helpers(BURS b)
getIR
public final IR getIR()
- Description copied from class:
GenericPhysicalRegisterTools
- Return the governing IR.
- Specified by:
getIR
in class PhysicalRegisterTools
EMIT
protected final void EMIT(Instruction s)
R
protected static RegisterOperand R(Operand op)
AC
protected static AddressConstantOperand AC(Operand op)
IC
protected static IntConstantOperand IC(Operand op)
LC
protected static LongConstantOperand LC(Operand op)
IV
protected static int IV(Operand op)
AV
protected static Address AV(Operand op)
ZERO
protected static boolean ZERO(Operand a)
ONE
protected static boolean ONE(Operand a)
MINUSONE
protected static boolean MINUSONE(Operand a)
FITS
protected static int FITS(Operand op,
int numBits,
int trueCost)
FITS
protected static int FITS(Operand op,
int numBits,
int trueCost,
int falseCost)
isZERO
protected static int isZERO(int x,
int trueCost)
isZERO
protected static int isZERO(int x,
int trueCost,
int falseCost)
isONE
protected static int isONE(int x,
int trueCost)
isONE
protected static int isONE(int x,
int trueCost,
int falseCost)
EQ_NE
protected static boolean EQ_NE(ConditionOperand c)
EQ_LT_LE
protected static boolean EQ_LT_LE(ConditionOperand c)
EQ_GT_GE
protected static boolean EQ_GT_GE(ConditionOperand c)
P
protected static Instruction P(ArchitectureSpecificOpt.BURS_TreeNode p)
PL
protected static Instruction PL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLL
protected static Instruction PLL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLLL
protected static Instruction PLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLLLL
protected static Instruction PLLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLLLLLL
protected static Instruction PLLLLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLLLLLLL
protected static Instruction PLLLLLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLLLRL
protected static Instruction PLLLRL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLLLRLL
protected static Instruction PLLLRLL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLLLRLLL
protected static Instruction PLLLRLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLLRLLL
protected static Instruction PLLRLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLLR
protected static Instruction PLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
PLLRL
protected static Instruction PLLRL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLLRLL
protected static Instruction PLLRLL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLLRLLR
protected static Instruction PLLRLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
PLR
protected static Instruction PLR(ArchitectureSpecificOpt.BURS_TreeNode p)
PLRL
protected static Instruction PLRL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLRLL
protected static Instruction PLRLL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLRLLRL
protected static Instruction PLRLLRL(ArchitectureSpecificOpt.BURS_TreeNode p)
PLRR
protected static Instruction PLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
PR
protected static Instruction PR(ArchitectureSpecificOpt.BURS_TreeNode p)
PRL
protected static Instruction PRL(ArchitectureSpecificOpt.BURS_TreeNode p)
PRLL
protected static Instruction PRLL(ArchitectureSpecificOpt.BURS_TreeNode p)
PRLLL
protected static Instruction PRLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
PRLLLL
protected static Instruction PRLLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
PRLLR
protected static Instruction PRLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
PRLLRLLL
protected static Instruction PRLLRLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
PRLR
protected static Instruction PRLR(ArchitectureSpecificOpt.BURS_TreeNode p)
PRLRL
protected static Instruction PRLRL(ArchitectureSpecificOpt.BURS_TreeNode p)
PRR
protected static Instruction PRR(ArchitectureSpecificOpt.BURS_TreeNode p)
PRRL
protected static Instruction PRRL(ArchitectureSpecificOpt.BURS_TreeNode p)
PRRR
protected static Instruction PRRR(ArchitectureSpecificOpt.BURS_TreeNode p)
V
protected static int V(ArchitectureSpecificOpt.BURS_TreeNode p)
VL
protected static int VL(ArchitectureSpecificOpt.BURS_TreeNode p)
VLL
protected static int VLL(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLL
protected static int VLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLLL
protected static int VLLLL(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLLLLR
protected static int VLLLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLLLLLR
protected static int VLLLLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLLLLLLR
protected static int VLLLLLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLLR
protected static int VLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLLLR
protected static int VLLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLLRLLLR
protected static int VLLLRLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLLRLLR
protected static int VLLLRLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLLRLR
protected static int VLLLRLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLLRR
protected static int VLLLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLR
protected static int VLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLRLLRR
protected static int VLLRLLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLRLR
protected static int VLLRLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLRLLLR
protected static int VLLRLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLRLLR
protected static int VLLRLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLLRR
protected static int VLLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLR
protected static int VLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLRLR
protected static int VLRLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLRL
protected static int VLRL(ArchitectureSpecificOpt.BURS_TreeNode p)
VLRR
protected static int VLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLRLL
protected static int VLRLL(ArchitectureSpecificOpt.BURS_TreeNode p)
VLRLLRR
protected static int VLRLLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
VLRRR
protected static int VLRRR(ArchitectureSpecificOpt.BURS_TreeNode p)
VR
protected static int VR(ArchitectureSpecificOpt.BURS_TreeNode p)
VRL
protected static int VRL(ArchitectureSpecificOpt.BURS_TreeNode p)
VRLLR
protected static int VRLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VRLLLR
protected static int VRLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VRLLLLR
protected static int VRLLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VRLLRLLLR
protected static int VRLLRLLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VRLLRLLR
protected static int VRLLRLLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VRLLRR
protected static int VRLLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
VRLRLR
protected static int VRLRLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VRLRR
protected static int VRLRR(ArchitectureSpecificOpt.BURS_TreeNode p)
VRLL
protected static int VRLL(ArchitectureSpecificOpt.BURS_TreeNode p)
VRLR
protected static int VRLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VRR
protected static int VRR(ArchitectureSpecificOpt.BURS_TreeNode p)
VRRL
protected static int VRRL(ArchitectureSpecificOpt.BURS_TreeNode p)
VRRLR
protected static int VRRLR(ArchitectureSpecificOpt.BURS_TreeNode p)
VRRR
protected static int VRRR(ArchitectureSpecificOpt.BURS_TreeNode p)