llvm::SDNode::hasNUsesOfValue

Return true if there are exactly NUSES uses of the indicated value. This method ignores uses of other values defined by this operation.

Synopsis

Declared in <llvm/CodeGen/SelectionDAGNodes.h>

bool
hasNUsesOfValue(
    unsigned int NUses,
    unsigned int Value) const;

Return Value

True if there are exactly NUSES uses of the indicated value.

Parameters

NameDescription
NUsesExact number of uses required.
ValueResult number whose uses are counted.