Package ghidra.pcode.emu.jit.op
Interface JitUnOp
- All Known Subinterfaces:
JitBoolUnOp
,JitFloatUnOp
,JitIntUnOp
- All Known Implementing Classes:
JitBoolNegateOp
,JitCopyOp
,JitFloatAbsOp
,JitFloatCeilOp
,JitFloatFloat2FloatOp
,JitFloatFloorOp
,JitFloatInt2FloatOp
,JitFloatNaNOp
,JitFloatNegOp
,JitFloatRoundOp
,JitFloatSqrtOp
,JitFloatTruncOp
,JitInt2CompOp
,JitIntNegateOp
,JitIntSExtOp
,JitIntZExtOp
,JitLzCountOp
,JitPopCountOp
,JitSubPieceOp
A p-code operator use-def node with one input and one output.
-
Method Summary
Modifier and TypeMethodDescriptioninputs()
The input operand use-def nodes in some defined orderdefault void
link()
Add this op to theJitVal.uses()
of each input operand, and (if applicable) set theJitOutVar.definition()
of the output operand to this op.default JitTypeBehavior
typeFor
(int position) Get the required type behavior for the input at the given position inJitOp.inputs()
u()
The use-def node for the input operanddefault void
unlink()
Remove this op from theJitVal.uses()
of each input operand, and (if applicable) unset theJitOutVar.definition()
of the output operand.uType()
The required type behavior for the operandMethods inherited from interface ghidra.pcode.emu.jit.op.JitDefOp
canBeRemoved, out, type
-
Method Details
-
u
JitVal u()The use-def node for the input operand- Returns:
- the input
-
link
default 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
default 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()
-
uType
JitTypeBehavior uType()The required type behavior for the operand- Returns:
- the behavior
-