SignedRightShiftNode

Arithmetic right-shift operation; bits shifted in are equal to the input's most significant bit.

Shift amount must be no greater than the number of input bits, otherwise results in poison.

Members

Functions

opEquals
bool opEquals(const(SignedRightShiftNode) rhs)

Equivalence <=> structural equality.

opIndex
inout(InEdge)* opIndex(InEdge.ID slot)

See Node.opIndex.

toHash
hash_t toHash()

Semantic hash.

Properties

inEdges
InEdgeIterator!Callable inEdges [@property getter]

Provides an iterator over this node's in-edges.

outEdges
OutEdgeIterator!Callable outEdges [@property getter]

Provides an iterator over this node's out-edges.

Static functions

dispose
void dispose(SignedRightShiftNode* self)

Frees all resources allocated by this node and sets it to an uninitialized state.

initialize
err_t initialize(SignedRightShiftNode* self)

Initializes a shift node.

Variables

input
OutEdge input;

Initial bit pattern being shifted.

output
InEdge output;

Resulting bit pattern.

shift
OutEdge shift;

Number of times the shift is performed.

Mixed In Members

From mixin NodeInheritance

opPostMove
void opPostMove(const(This) old)

Post-move adjusts in-edge slots' owner pointer.

See Also