public static final class AArch64ControlFlow.RangeTableSwitchOp extends AArch64BlockEndOp
The JumpTable contains a series of target offsets, relative to the start of the jump table, for a contiguous series of indexes in the range [lowKey, highKey]. Finding the appropriate index within the jump table is accomplished in two steps:
(unsigned(normalizedIdx) <= highKey - lowKey). If not, then one must jump to the
defaultTarget.LIRInstruction.Alive, LIRInstruction.Def, LIRInstruction.OperandFlag, LIRInstruction.OperandMode, LIRInstruction.State, LIRInstruction.Temp, LIRInstruction.Use| Modifier and Type | Field and Description |
|---|---|
protected AllocatableValue |
index |
static LIRInstructionClass<AArch64ControlFlow.RangeTableSwitchOp> |
TYPE |
ADDRESS_FLAGS, ALLOWED_FLAGS| Constructor and Description |
|---|
RangeTableSwitchOp(int lowKey,
LabelRef defaultTarget,
LabelRef[] targets,
AllocatableValue index) |
| Modifier and Type | Method and Description |
|---|---|
void |
emitCode(CompilationResultBuilder crb,
AArch64MacroAssembler masm) |
emitCodeaddStackSlotsToTemporaries, destroysCallerSavedRegisters, forEachAlive, forEachAlive, forEachInput, forEachInput, forEachOutput, forEachOutput, forEachRegisterHint, forEachRegisterHint, forEachState, forEachState, forEachState, forEachState, forEachTemp, forEachTemp, getComment, getLIRInstructionClass, getPosition, hashCode, hasOperands, hasState, id, isLoadConstantOp, isMoveOp, isValueMoveOp, name, needsClearUpperVectorRegisters, setComment, setId, setPosition, toString, toString, toStringWithIdPrefix, verify, visitEachAlive, visitEachAlive, visitEachInput, visitEachInput, visitEachOutput, visitEachOutput, visitEachState, visitEachState, visitEachTemp, visitEachTemppublic static final LIRInstructionClass<AArch64ControlFlow.RangeTableSwitchOp> TYPE
protected AllocatableValue index
public void emitCode(CompilationResultBuilder crb, AArch64MacroAssembler masm)
emitCode in class AArch64BlockEndOp