ΒΆbool isAllOnesOrAllOnesSplat(
llvm::SDValue V,
bool AllowUndefs = false)
bool isAllOnesOrAllOnesSplat(
llvm::SDValue V,
bool AllowUndefs = false)
Description
Return true if the value is a constant -1 integer or a splatted vector of a constant -1 integer (with no undefs). Does not permit build vector implicit truncation.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1732
Parameters
- llvm::SDValue V
- bool AllowUndefs = false