ΒΆbool isConstantSplatVectorAllZeros(
const llvm::SDNode* N,
bool BuildVectorOnly = false)
bool isConstantSplatVectorAllZeros(
const llvm::SDNode* N,
bool BuildVectorOnly = false)
Description
Return true if the specified node is a BUILD_VECTOR or SPLAT_VECTOR where all of the elements are 0 or undef. If \p BuildVectorOnly is set to true, it only checks BUILD_VECTOR.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:102
Parameters
- const llvm::SDNode* N
- bool BuildVectorOnly = false