llvm::isNullConstantOrUndef

Returns true if V is a constant integer zero or an UNDEF node.

Synopsis

Declared in <llvm/CodeGen/SelectionDAGNodes.h>

bool
isNullConstantOrUndef(SDValue V);

Return Value

True if V is a constant integer zero or an UNDEF node.

Parameters

NameDescription
VValue to test.