Package ghidra.pcode.emu.jit.op
Interface JitBinOp
- All Known Subinterfaces:
JitBoolBinOp
,JitFloatBinOp
,JitFloatTestOp
,JitIntBinOp
,JitIntTestOp
- All Known Implementing Classes:
JitBoolAndOp
,JitBoolOrOp
,JitBoolXorOp
,JitFloatAddOp
,JitFloatDivOp
,JitFloatEqualOp
,JitFloatLessEqualOp
,JitFloatLessOp
,JitFloatMultOp
,JitFloatNotEqualOp
,JitFloatSubOp
,JitIntAddOp
,JitIntAndOp
,JitIntCarryOp
,JitIntDivOp
,JitIntEqualOp
,JitIntLeftOp
,JitIntLessEqualOp
,JitIntLessOp
,JitIntMultOp
,JitIntNotEqualOp
,JitIntOrOp
,JitIntRemOp
,JitIntRightOp
,JitIntSBorrowOp
,JitIntSCarryOp
,JitIntSDivOp
,JitIntSLessEqualOp
,JitIntSLessOp
,JitIntSRemOp
,JitIntSRightOp
,JitIntSubOp
,JitIntXorOp
A p-code operator use-def node with two inputs and one output.
-
Method Summary
Modifier and TypeMethodDescriptioninputs()
The input operand use-def nodes in some defined orderl()
The use-def node for the left input operanddefault 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.lType()
The required type behavior for the left operandr()
The use-def node for the right input operandrType()
The required type behavior for the right operanddefault JitTypeBehavior
typeFor
(int position) Get the required type behavior for the input at the given position inJitOp.inputs()
default 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 interface ghidra.pcode.emu.jit.op.JitDefOp
canBeRemoved, out, type
-
Method Details
-
l
JitVal l()The use-def node for the left input operand- Returns:
- the input
-
r
JitVal r()The use-def node for the right 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 -
lType
JitTypeBehavior lType()The required type behavior for the left operand- Returns:
- the behavior
-
rType
JitTypeBehavior rType()The required type behavior for the right operand- Returns:
- the behavior
-
typeFor
Description copied from interface:JitOp
Get the required type behavior for the input at the given position inJitOp.inputs()
-