Package ghidra.pcode.emu.jit.gen.opnd
Enum Class Opnd.FloatToMpInt
- All Implemented Interfaces:
Opnd.StackToMpConv<Types.TFloat,,JitType.FloatJitType, Types.TInt, JitType.IntJitType, JitType.MpIntJitType> Serializable,Comparable<Opnd.FloatToMpInt>,Constable
public static enum Opnd.FloatToMpInt
extends Enum<Opnd.FloatToMpInt>
implements Opnd.StackToMpConv<Types.TFloat,JitType.FloatJitType,Types.TInt,JitType.IntJitType,JitType.MpIntJitType>
Converter from float to mp-int
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescription<N1 extends Emitter.Next,N0 extends Emitter.Ent<N1, Types.TFloat>>
Emitter<Emitter.Ent<N1, Types.TRef<int[]>>> convertStackToArray(Emitter<N0> em, JitType.FloatJitType from, String name, JitType.MpIntJitType to, Opnd.Ext ext, Scope scope, int slack) Convert a stack operand to an mp operand in an array<N1 extends Emitter.Next,N0 extends Emitter.Ent<N1, Types.TFloat>>
Opnd.OpndEm<JitType.MpIntJitType, N1> convertStackToOpnd(Emitter<N0> em, JitType.FloatJitType from, String name, JitType.MpIntJitType to, Opnd.Ext ext, Scope scope) Convert a stack operand to an mp operand in localsstatic Opnd.FloatToMpIntReturns the enum constant of this class with the specified name.static Opnd.FloatToMpInt[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
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
-
convertStackToOpnd
public <N1 extends Emitter.Next,N0 extends Emitter.Ent<N1, Opnd.OpndEm<JitType.MpIntJitType,Types.TFloat>> N1> convertStackToOpnd(Emitter<N0> em, JitType.FloatJitType from, String name, JitType.MpIntJitType to, Opnd.Ext ext, Scope scope) Description copied from interface:Opnd.StackToMpConvConvert a stack operand to an mp operand in locals- Specified by:
convertStackToOpndin interfaceOpnd.StackToMpConv<Types.TFloat,JitType.FloatJitType, Types.TInt, JitType.IntJitType, JitType.MpIntJitType> - Type Parameters:
N1- the tail of the stack (...)N0- ..., value- Parameters:
em- the emitterfrom- the source p-code typename- the name to give the resulting operandto- the destination p-code typeext- the kind of extension to applyscope- a scope for generated temporary locals- Returns:
- the resulting operand and the emitter with ...
-
convertStackToArray
public <N1 extends Emitter.Next,N0 extends Emitter.Ent<N1, Emitter<Emitter.Ent<N1,Types.TFloat>> Types.TRef<int[]>>> convertStackToArray(Emitter<N0> em, JitType.FloatJitType from, String name, JitType.MpIntJitType to, Opnd.Ext ext, Scope scope, int slack) Description copied from interface:Opnd.StackToMpConvConvert a stack operand to an mp operand in an array- Specified by:
convertStackToArrayin interfaceOpnd.StackToMpConv<Types.TFloat,JitType.FloatJitType, Types.TInt, JitType.IntJitType, JitType.MpIntJitType> - Type Parameters:
N1- the tail of the stack (...)N0- ..., value- Parameters:
em- the emitterfrom- the source p-code typename- the name to give the resulting operandto- the destination p-code typeext- the kind of extension to applyscope- a scope for generated temporary localsslack- the number of extra (more significant) elements to allocate in the array- Returns:
- the emitter with ..., arrayref
-