Package ghidra.pcode.emu.jit.op
Record Class JitLoadOp
java.lang.Object
java.lang.Record
ghidra.pcode.emu.jit.op.JitLoadOp
- Record Components:
op
- the p-code opout
- the use-def variable node for the outputspace
- the address spaceoffset
- the use-def node for the offset
public record JitLoadOp(PcodeOp op, JitOutVar out, AddressSpace space, JitVal offset)
extends Record
implements JitDefOp
The use-def node for a
PcodeOp.LOAD
.-
Constructor Summary
ConstructorsConstructorDescriptionJitLoadOp
(PcodeOp op, JitOutVar out, AddressSpace space, JitVal offset) Creates an instance of aJitLoadOp
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.inputs()
The input operand use-def nodes in some defined ordervoid
link()
Add this op to theJitVal.uses()
of each input operand, and (if applicable) set theJitOutVar.definition()
of the output operand to this op.offset()
Returns the value of theoffset
record component.We'd like the offset to be anint
.op()
Returns the value of theop
record component.out()
Returns the value of theout
record component.space()
Returns the value of thespace
record component.final String
toString()
Returns a string representation of this record class.type()
The required type behavior for the outputtypeFor
(int position) Get the required type behavior for the input at the given position inJitOp.inputs()
void
unlink()
Remove this op from theJitVal.uses()
of each input operand, and (if applicable) unset theJitOutVar.definition()
of the output operand.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ghidra.pcode.emu.jit.op.JitDefOp
canBeRemoved
-
Constructor Details
-
Method Details
-
link
public void link()Description copied from interface:JitOp
Add this op to theJitVal.uses()
of each input operand, and (if applicable) set theJitOutVar.definition()
of the output operand to this op. -
unlink
public void unlink()Description copied from interface:JitOp
Remove this op from theJitVal.uses()
of each input operand, and (if applicable) unset theJitOutVar.definition()
of the output operand. -
inputs
Description copied from interface:JitOp
The input operand use-def nodes in some defined order -
typeFor
Description copied from interface:JitOp
Get the required type behavior for the input at the given position inJitOp.inputs()
-
offsetType
We'd like the offset to be anint
.- Returns:
JitTypeBehavior.INTEGER
-
type
Description copied from interface:JitDefOp
The required type behavior for the output -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
op
Returns the value of theop
record component. -
out
Returns the value of theout
record component. -
space
Returns the value of thespace
record component.- Returns:
- the value of the
space
record component
-
offset
Returns the value of theoffset
record component.- Returns:
- the value of the
offset
record component
-