Package iota
Class NLirStore
java.lang.Object
iota.NLirInstruction
iota.NLirStore
Representation of a store (from register to memory) instruction.
-
Field Summary
FieldsFields inherited from class iota.NLirInstruction
block, id, lir2Marvin, mnemonic, reads, write
-
Constructor Summary
ConstructorsConstructorDescriptionNLirStore
(NBasicBlock block, int id, String mnemonic, NRegister from, NRegister to, int N) Constructs an NLirStore object. -
Method Summary
Methods inherited from class iota.NLirInstruction
id
-
Field Details
-
N
public int NOffset from the base memory address to store at.
-
-
Constructor Details
-
NLirStore
Constructs an NLirStore object.- Parameters:
block
- enclosing block.id
- instruction id.mnemonic
- instruction mnemonic.from
- register (virtual or physical) to store from.to
- base memory address.N
- offset from the base memory address to store at.
-
-
Method Details
-
toMarvin
public void toMarvin()Converts this instruction to the corresponding Marvin instruction.- Overrides:
toMarvin
in classNLirInstruction
-
toString
Returns a string representation of this instruction.- Overrides:
toString
in classNLirInstruction
- Returns:
- a string representation of this instruction.
-