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 interface 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
-
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
-
hashCode
-
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
-
out
-
space
-
offset
-