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 aJitLoadOprecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.inputs()The input operand use-def nodes in some defined ordervoidlink()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 theoffsetrecord component.We'd like the offset to be anint.op()Returns the value of theoprecord component.out()Returns the value of theoutrecord component.space()Returns the value of thespacerecord component.final StringtoString()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()voidunlink()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, waitMethods inherited from interface ghidra.pcode.emu.jit.op.JitDefOp
canBeRemoved
-
Constructor Details
-
Method Details
-
link
public void link()Description copied from interface:JitOpAdd 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:JitOpRemove this op from theJitVal.uses()of each input operand, and (if applicable) unset theJitOutVar.definition()of the output operand. -
inputs
Description copied from interface:JitOpThe input operand use-def nodes in some defined order -
typeFor
Description copied from interface:JitOpGet 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:JitDefOpThe 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 theoprecord component. -
out
Returns the value of theoutrecord component. -
space
Returns the value of thespacerecord component.- Returns:
- the value of the
spacerecord component
-
offset
Returns the value of theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-