public class AMD64HotSpotMoveFactory extends AMD64MoveFactory
MoveFactory.BackupSlotProvider, MoveFactory.RegisterBackupPair| Constructor and Description |
|---|
AMD64HotSpotMoveFactory(MoveFactory.BackupSlotProvider backupSlotProvider) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowConstantToStackMove(Constant value) |
boolean |
canInlineConstant(Constant c)
Checks whether the supplied constant can be used without loading it into a register for most
operations, i.e., for commonly used arithmetic, logical, and comparison operations.
|
AMD64LIRInstruction |
createLoad(AllocatableValue dst,
Constant src) |
LIRInstruction |
createStackLoad(AllocatableValue dst,
Constant src) |
createMove, createStackMove, mayEmbedConstantLoadcreateStackMovepublic AMD64HotSpotMoveFactory(MoveFactory.BackupSlotProvider backupSlotProvider)
public boolean canInlineConstant(Constant c)
MoveFactorycanInlineConstant in class AMD64MoveFactoryc - The constant to check.public boolean allowConstantToStackMove(Constant value)
allowConstantToStackMove in class AMD64MoveFactoryvalue - The constant that might be moved to a stack slot.true if constant to stack moves are supported for this constant.public AMD64LIRInstruction createLoad(AllocatableValue dst, Constant src)
createLoad in class AMD64MoveFactorypublic LIRInstruction createStackLoad(AllocatableValue dst, Constant src)
createStackLoad in class AMD64MoveFactory