Package iota

Class NLirIConst


class NLirIConst extends NLirInstruction
Representation of an instruction for loading an integer.
  • Field Details

    • N

      public int N
      The integer.
  • Constructor Details

    • NLirIConst

      public NLirIConst(NBasicBlock block, int id, String mnemonic, int N)
      Constructs an NLirIConst object.
      Parameters:
      block - enclosing basic block.
      id - instruction id.
      mnemonic - instruction mnemonic.
      N - the integer.
  • Method Details

    • toMarvin

      public void toMarvin()
      Converts this instruction to the corresponding Marvin instruction.
      Overrides:
      toMarvin in class NLirInstruction
    • toString

      public String toString()
      Returns a string representation of this instruction.
      Overrides:
      toString in class NLirInstruction
      Returns:
      a string representation of this instruction.