Package ghidra.pcode.emu.jit.gen.op
Interface UnOpGen<T extends JitUnOp>
- Type Parameters:
T- the class of p-code op node in the use-def graph
- All Superinterfaces:
OpGen<T>
- All Known Subinterfaces:
FloatConvertUnOpGen<T>,FloatOpUnOpGen<T>,IntCountUnOpGen<T>,IntExtUnOpGen<T>,IntOpUnOpGen<T>
- All Known Implementing Classes:
BoolNegateOpGen,CopyOpGen,FloatAbsOpGen,FloatCeilOpGen,FloatFloat2FloatOpGen,FloatFloorOpGen,FloatInt2FloatOpGen,FloatNaNOpGen,FloatNegOpGen,FloatRoundOpGen,FloatSqrtOpGen,FloatTruncOpGen,Int2CompOpGen,IntNegateOpGen,IntSExtOpGen,IntZExtOpGen,LzCountOpGen,PopCountOpGen
An extension that provides conveniences and common implementations for unary p-code operators
-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.pcode.emu.jit.gen.op.OpGen
OpGen.DeadOpResult, OpGen.LiveOpResult, OpGen.OpResult -
Method Summary
-
Method Details
-
isSigned
boolean isSigned()Whether this operator is signedIn many cases, the operator itself is not affected by the signedness of the operands; however, if size adjustments to the operands are needed, this can determine how those operands are extended.
- Returns:
- true for signed, false if not
-
ext
When loading and storing variables, the kind of extension to apply- Returns:
- the extension kind
-