llvm::getBitwiseNotOperand

If V is a bitwise not, return the inverted operand.

Synopsis

Declared in <llvm/CodeGen/SelectionDAGNodes.h>

SDValue
getBitwiseNotOperand(
    SDValue V,
    SDValue Mask,
    bool AllowUndefs);

Description

Otherwise returns an empty SDValue. Only bits set in Mask are required to be inverted, other bits may be arbitrary.

Return Value

The inverted operand, or an empty SDValue if V is not a bitwise not.

Parameters

NameDescription
VValue to inspect.
MaskBits required to be inverted.
AllowUndefsWhether undef bits are permitted.