ΒΆllvm::ConstantSDNode* isConstOrConstSplat(
llvm::SDValue N,
bool AllowUndefs = false,
bool AllowTruncation = false)
llvm::ConstantSDNode* isConstOrConstSplat(
llvm::SDValue N,
bool AllowUndefs = false,
bool AllowTruncation = false)
Description
Returns the SDNode if it is a constant splat BuildVector or constant int.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1681
Parameters
- llvm::SDValue N
- bool AllowUndefs = false
- bool AllowTruncation = false