Package ghidra.pcode.emu.jit.gen.op
Enum Class IntSRightOpGen
- All Implemented Interfaces:
BinOpGen<JitIntSRightOp>,IntShiftBinOpGen<JitIntSRightOp>,OpGen<JitIntSRightOp>,Serializable,Comparable<IntSRightOpGen>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface ghidra.pcode.emu.jit.gen.op.BinOpGen
BinOpGen.TakeOutNested classes/interfaces inherited from interface ghidra.pcode.emu.jit.gen.op.OpGen
OpGen.DeadOpResult, OpGen.LiveOpResult, OpGen.OpResult -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSigned()Whether this operator is signedThe name of the static method inJitCompiledPassageto invokestatic IntSRightOpGenReturns the enum constant of this class with the specified name.static IntSRightOpGen[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface ghidra.pcode.emu.jit.gen.op.BinOpGen
ext, genMpDelegationToStaticMethodMethods inherited from interface ghidra.pcode.emu.jit.gen.op.IntShiftBinOpGen
genRun, genShiftMpMp, genShiftMpPrim, genShiftPrimMp, genShiftPrimPrim, rExt
-
Enum Constant Details
-
GEN
The generator singleton
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
isSigned
public boolean isSigned()Description copied from interface:BinOpGenWhether this operator is signedIn 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:
isSignedin interfaceBinOpGen<JitIntSRightOp>- Returns:
- true for signed, false if not
-
methodName
Description copied from interface:IntShiftBinOpGenThe name of the static method inJitCompiledPassageto invoke- Specified by:
methodNamein interfaceIntShiftBinOpGen<JitIntSRightOp>- Returns:
- the name
-