|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.ir.ia32.PhysicalDefUse
public abstract class PhysicalDefUse
This class provides utilities to record defs and uses of physical registers by IR operators.
Nested Class Summary | |
---|---|
static class |
PhysicalDefUse.PDUEnumeration
A class to enumerate physical registers based on a code. |
Field Summary | |
---|---|
static int |
mask
Default empty mask |
static int |
maskAF
AF in the eflags is used/defined |
static int |
maskAF_CF_OF_PF_SF_ZF
|
static int |
maskAF_OF_PF_SF_ZF
|
private static int |
maskALL
Mask for all bits |
static int |
maskC0
C0 in the x87 FPU is used/defined |
static int |
maskC0_C1_C2_C3
|
static int |
maskC1
C1 in the x87 FPU is used/defined |
static int |
maskC2
C2 in the x87 FPU is used/defined |
static int |
maskC3
C3 in the x87 FPU is used/defined |
static int |
maskcallDefs
|
static int |
maskcallUses
|
static int |
maskCF
CF in the eflags is used/defined |
static int |
maskCF_OF
|
static int |
maskCF_OF_PF_SF_ZF
|
static int |
maskCF_PF_ZF
|
static int |
maskESP
The ESP register is used/defined |
private static int |
maskHIGH
First mask bit |
static int |
maskIEEEMagicUses
|
static int |
maskOF
OF in the eflags is used/defined |
static int |
maskPF
PF in the eflags is used/defined |
static int |
maskSF
SF in the eflags is used/defined |
static int |
maskTR
The processor register is used/defined |
static int |
maskTSPDefs
Definitions mask used by dependence graph to show a yield point |
static int |
maskTSPUses
Uses mask used by dependence graph to show a yield point |
static int |
maskZF
ZF in the eflags is used/defined |
Constructor Summary | |
---|---|
PhysicalDefUse()
|
Method Summary | |
---|---|
static boolean |
definesEFLAGS(Operator op)
|
static PhysicalDefUse.PDUEnumeration |
enumerate(int code,
IR ir)
|
static PhysicalDefUse.PDUEnumeration |
enumerateAllImplicitDefUses(IR ir)
|
static String |
getString(int code)
|
static boolean |
usesEFLAGS(Operator op)
|
static boolean |
usesOrDefinesESP(Operator op)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int mask
public static final int maskAF
public static final int maskCF
public static final int maskOF
public static final int maskPF
public static final int maskSF
public static final int maskZF
public static final int maskC0
public static final int maskC1
public static final int maskC2
public static final int maskC3
public static final int maskTR
public static final int maskESP
private static final int maskHIGH
private static final int maskALL
public static final int maskCF_OF
public static final int maskCF_PF_ZF
public static final int maskCF_OF_PF_SF_ZF
public static final int maskAF_OF_PF_SF_ZF
public static final int maskAF_CF_OF_PF_SF_ZF
public static final int maskC0_C1_C2_C3
public static final int maskcallDefs
public static final int maskcallUses
public static final int maskIEEEMagicUses
public static final int maskTSPUses
public static final int maskTSPDefs
Constructor Detail |
---|
public PhysicalDefUse()
Method Detail |
---|
public static boolean usesEFLAGS(Operator op)
public static boolean definesEFLAGS(Operator op)
public static boolean usesOrDefinesESP(Operator op)
public static String getString(int code)
public static PhysicalDefUse.PDUEnumeration enumerate(int code, IR ir)
code
- an integer that encodes a set of physical registersir
- the governing IR
public static PhysicalDefUse.PDUEnumeration enumerateAllImplicitDefUses(IR ir)
ir
- the governing IR
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |