llvm::isOneConstant

Returns true if V is a constant integer one.

Synopsis

Declared in <llvm/CodeGen/SelectionDAGNodes.h>

bool
isOneConstant(SDValue V);

Return Value

True if V is a constant integer one.

Parameters

NameDescription
VValue to test.