Enum Class IntSRightOpGen

java.lang.Object
java.lang.Enum<IntSRightOpGen>
ghidra.pcode.emu.jit.gen.op.IntSRightOpGen
All Implemented Interfaces:
BinOpGen<JitIntSRightOp>, IntShiftBinOpGen<JitIntSRightOp>, OpGen<JitIntSRightOp>, Serializable, Comparable<IntSRightOpGen>, Constable

public enum IntSRightOpGen extends Enum<IntSRightOpGen> implements IntShiftBinOpGen<JitIntSRightOp>
The generator for a int_sright.

This uses the integer shift operator generator and simply invokes JitCompiledPassage.intSRight(int, int), etc. depending on the types.

  • Enum Constant Details

    • GEN

      public static final IntSRightOpGen GEN
      The generator singleton
  • Method Details

    • values

      public static IntSRightOpGen[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IntSRightOpGen valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isSigned

      public boolean isSigned()
      Description copied from interface: BinOpGen
      Whether this operator is signed

      In many cases, the operator itself is not affected by the signedness of the operands; however, if size adjustments to the operands are needed, this can determine how those operands are extended.

      Specified by:
      isSigned in interface BinOpGen<JitIntSRightOp>
      Returns:
      true for signed, false if not
    • methodName

      public String methodName()
      Description copied from interface: IntShiftBinOpGen
      The name of the static method in JitCompiledPassage to invoke
      Specified by:
      methodName in interface IntShiftBinOpGen<JitIntSRightOp>
      Returns:
      the name