ΒΆbool isOneOrOneSplat(llvm::SDValue V,
bool AllowUndefs = false)
bool isOneOrOneSplat(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:1727
Parameters
- llvm::SDValue V
- bool AllowUndefs = false