Package | Description |
---|---|
org.jikesrvm.compilers.opt | |
org.jikesrvm.compilers.opt.ir | |
org.jikesrvm.compilers.opt.ir.ia32 | |
org.jikesrvm.compilers.opt.ir.operand | |
org.jikesrvm.compilers.opt.ir.ppc | |
org.jikesrvm.compilers.opt.lir2mir |
Provides classes that implement the transition from low-level IR to
machine-specific IR.
|
Modifier and Type | Method and Description |
---|---|
static IntConstantOperand |
ClassLoaderProxy.getIntFromConstantPool(RVMClass klass,
int index) |
Modifier and Type | Method and Description |
---|---|
static IntConstantOperand |
InstrumentedCounter.getClearData(Instruction i)
Get the operand called Data from the argument
instruction clearing its instruction pointer.
|
static IntConstantOperand |
TableSwitch.getClearHigh(Instruction i)
Get the operand called High from the argument
instruction clearing its instruction pointer.
|
static IntConstantOperand |
InstrumentedCounter.getClearIndex(Instruction i)
Get the operand called Index from the argument
instruction clearing its instruction pointer.
|
static IntConstantOperand |
TableSwitch.getClearLow(Instruction i)
Get the operand called Low from the argument
instruction clearing its instruction pointer.
|
static IntConstantOperand |
LookupSwitch.getClearMatch(Instruction i,
int k)
Get the k'th operand called Match from the argument
instruction clearing its instruction pointer.
|
static IntConstantOperand |
InstrumentedCounter.getData(Instruction i)
Get the operand called Data from the
argument instruction.
|
static IntConstantOperand |
TableSwitch.getHigh(Instruction i)
Get the operand called High from the
argument instruction.
|
static IntConstantOperand |
InstrumentedCounter.getIndex(Instruction i)
Get the operand called Index from the
argument instruction.
|
static IntConstantOperand |
TableSwitch.getLow(Instruction i)
Get the operand called Low from the
argument instruction.
|
static IntConstantOperand |
LookupSwitch.getMatch(Instruction i,
int k)
Get the k'th operand called Match from the
argument instruction.
|
static IntConstantOperand |
IRTools.IC(int value)
Create an integer constant operand with a given value.
|
Modifier and Type | Method and Description |
---|---|
static Instruction |
InstrumentedCounter.create(Operator o,
IntConstantOperand Data,
IntConstantOperand Index,
Operand Increment)
Create an instruction of the InstrumentedCounter instruction format.
|
static Instruction |
TableSwitch.create(Operator o,
Operand Value,
Operand Unknown1,
Operand Unknown2,
IntConstantOperand Low,
IntConstantOperand High,
BranchOperand Default,
BranchProfileOperand DefaultBranchProfile,
int numVarOps)
Create an instruction of the TableSwitch instruction format.
|
static Instruction |
InstrumentedCounter.mutate(Instruction i,
Operator o,
IntConstantOperand Data,
IntConstantOperand Index,
Operand Increment)
Mutate the argument instruction into an instruction of the
InstrumentedCounter instruction format having the specified
operator and operands.
|
static Instruction |
TableSwitch.mutate(Instruction i,
Operator o,
Operand Value,
Operand Unknown1,
Operand Unknown2,
IntConstantOperand Low,
IntConstantOperand High,
BranchOperand Default,
BranchProfileOperand DefaultBranchProfile,
int numVarOps)
Mutate the argument instruction into an instruction of the
TableSwitch instruction format having the specified
operator and operands.
|
static void |
InstrumentedCounter.setData(Instruction i,
IntConstantOperand Data)
Set the operand called Data in the argument
instruction to the argument operand.
|
static void |
TableSwitch.setHigh(Instruction i,
IntConstantOperand High)
Set the operand called High in the argument
instruction to the argument operand.
|
static void |
InstrumentedCounter.setIndex(Instruction i,
IntConstantOperand Index)
Set the operand called Index in the argument
instruction to the argument operand.
|
static void |
TableSwitch.setLow(Instruction i,
IntConstantOperand Low)
Set the operand called Low in the argument
instruction to the argument operand.
|
static void |
LookupSwitch.setMatch(Instruction i,
int k,
IntConstantOperand o)
Set the k'th operand called Match in the argument
instruction to the argument operand.
|
Modifier and Type | Method and Description |
---|---|
static IntConstantOperand |
MIR_CaseLabel.getClearIndex(Instruction i)
Get the operand called Index from the argument
instruction clearing its instruction pointer.
|
static IntConstantOperand |
MIR_Return.getClearPopBytes(Instruction i)
Get the operand called PopBytes from the argument
instruction clearing its instruction pointer.
|
static IntConstantOperand |
MIR_CaseLabel.getIndex(Instruction i)
Get the operand called Index from the
argument instruction.
|
static IntConstantOperand |
MIR_Return.getPopBytes(Instruction i)
Get the operand called PopBytes from the
argument instruction.
|
Modifier and Type | Method and Description |
---|---|
static Instruction |
MIR_CaseLabel.create(Operator o,
IntConstantOperand Index,
Operand Target)
Create an instruction of the MIR_CaseLabel instruction format.
|
static Instruction |
MIR_Return.create(Operator o,
IntConstantOperand PopBytes,
Operand Val,
Operand Val2)
Create an instruction of the MIR_Return instruction format.
|
static Instruction |
MIR_CaseLabel.mutate(Instruction i,
Operator o,
IntConstantOperand Index,
Operand Target)
Mutate the argument instruction into an instruction of the
MIR_CaseLabel instruction format having the specified
operator and operands.
|
static Instruction |
MIR_Return.mutate(Instruction i,
Operator o,
IntConstantOperand PopBytes,
Operand Val,
Operand Val2)
Mutate the argument instruction into an instruction of the
MIR_Return instruction format having the specified
operator and operands.
|
static void |
MIR_CaseLabel.setIndex(Instruction i,
IntConstantOperand Index)
Set the operand called Index in the argument
instruction to the argument operand.
|
static void |
MIR_Return.setPopBytes(Instruction i,
IntConstantOperand PopBytes)
Set the operand called PopBytes in the argument
instruction to the argument operand.
|
Modifier and Type | Field and Description |
---|---|
static IntConstantOperand |
IntConstantOperand.zero
Constant 0, can be copied as convenient
|
Modifier and Type | Method and Description |
---|---|
IntConstantOperand |
Operand.asIntConstant()
Cast to an
IntConstantOperand . |
Modifier and Type | Method and Description |
---|---|
static IntConstantOperand |
MIR_RotateAndMask.getClearMaskBegin(Instruction i)
Get the operand called MaskBegin from the argument
instruction clearing its instruction pointer.
|
static IntConstantOperand |
MIR_RotateAndMask.getClearMaskEnd(Instruction i)
Get the operand called MaskEnd from the argument
instruction clearing its instruction pointer.
|
static IntConstantOperand |
MIR_Condition.getClearResultBit(Instruction i)
Get the operand called ResultBit from the argument
instruction clearing its instruction pointer.
|
static IntConstantOperand |
MIR_DataInt.getClearValue(Instruction i)
Get the operand called Value from the argument
instruction clearing its instruction pointer.
|
static IntConstantOperand |
MIR_Condition.getClearValue1Bit(Instruction i)
Get the operand called Value1Bit from the argument
instruction clearing its instruction pointer.
|
static IntConstantOperand |
MIR_Condition.getClearValue2Bit(Instruction i)
Get the operand called Value2Bit from the argument
instruction clearing its instruction pointer.
|
static IntConstantOperand |
MIR_RotateAndMask.getMaskBegin(Instruction i)
Get the operand called MaskBegin from the
argument instruction.
|
static IntConstantOperand |
MIR_RotateAndMask.getMaskEnd(Instruction i)
Get the operand called MaskEnd from the
argument instruction.
|
static IntConstantOperand |
MIR_Condition.getResultBit(Instruction i)
Get the operand called ResultBit from the
argument instruction.
|
static IntConstantOperand |
MIR_DataInt.getValue(Instruction i)
Get the operand called Value from the
argument instruction.
|
static IntConstantOperand |
MIR_Condition.getValue1Bit(Instruction i)
Get the operand called Value1Bit from the
argument instruction.
|
static IntConstantOperand |
MIR_Condition.getValue2Bit(Instruction i)
Get the operand called Value2Bit from the
argument instruction.
|
Modifier and Type | Method and Description |
---|---|
static Instruction |
MIR_DataInt.create(Operator o,
IntConstantOperand Value)
Create an instruction of the MIR_DataInt instruction format.
|
static Instruction |
MIR_Condition.create(Operator o,
IntConstantOperand ResultBit,
IntConstantOperand Value1Bit,
IntConstantOperand Value2Bit)
Create an instruction of the MIR_Condition instruction format.
|
static Instruction |
MIR_RotateAndMask.create(Operator o,
RegisterOperand Result,
RegisterOperand Value,
Operand Shift,
IntConstantOperand MaskBegin,
IntConstantOperand MaskEnd)
Create an instruction of the MIR_RotateAndMask instruction format.
|
static Instruction |
MIR_RotateAndMask.create(Operator o,
RegisterOperand Result,
RegisterOperand Source,
RegisterOperand Value,
Operand Shift,
IntConstantOperand MaskBegin,
IntConstantOperand MaskEnd)
Create an instruction of the MIR_RotateAndMask instruction format.
|
static Instruction |
MIR_DataInt.mutate(Instruction i,
Operator o,
IntConstantOperand Value)
Mutate the argument instruction into an instruction of the
MIR_DataInt instruction format having the specified
operator and operands.
|
static Instruction |
MIR_Condition.mutate(Instruction i,
Operator o,
IntConstantOperand ResultBit,
IntConstantOperand Value1Bit,
IntConstantOperand Value2Bit)
Mutate the argument instruction into an instruction of the
MIR_Condition instruction format having the specified
operator and operands.
|
static Instruction |
MIR_RotateAndMask.mutate(Instruction i,
Operator o,
RegisterOperand Result,
RegisterOperand Value,
Operand Shift,
IntConstantOperand MaskBegin,
IntConstantOperand MaskEnd)
Mutate the argument instruction into an instruction of the
MIR_RotateAndMask instruction format having the specified
operator and operands.
|
static Instruction |
MIR_RotateAndMask.mutate(Instruction i,
Operator o,
RegisterOperand Result,
RegisterOperand Source,
RegisterOperand Value,
Operand Shift,
IntConstantOperand MaskBegin,
IntConstantOperand MaskEnd)
Mutate the argument instruction into an instruction of the
MIR_RotateAndMask instruction format having the specified
operator and operands.
|
static void |
MIR_RotateAndMask.setMaskBegin(Instruction i,
IntConstantOperand MaskBegin)
Set the operand called MaskBegin in the argument
instruction to the argument operand.
|
static void |
MIR_RotateAndMask.setMaskEnd(Instruction i,
IntConstantOperand MaskEnd)
Set the operand called MaskEnd in the argument
instruction to the argument operand.
|
static void |
MIR_Condition.setResultBit(Instruction i,
IntConstantOperand ResultBit)
Set the operand called ResultBit in the argument
instruction to the argument operand.
|
static void |
MIR_DataInt.setValue(Instruction i,
IntConstantOperand Value)
Set the operand called Value in the argument
instruction to the argument operand.
|
static void |
MIR_Condition.setValue1Bit(Instruction i,
IntConstantOperand Value1Bit)
Set the operand called Value1Bit in the argument
instruction to the argument operand.
|
static void |
MIR_Condition.setValue2Bit(Instruction i,
IntConstantOperand Value2Bit)
Set the operand called Value2Bit in the argument
instruction to the argument operand.
|
Modifier and Type | Method and Description |
---|---|
protected static IntConstantOperand |
BURS_Common_Helpers.IC(Operand op) |