Returns the SDNode if it is a constant splat BuildVector or constant float.
Declared in <llvm/CodeGen/SelectionDAGNodes.h>
ConstantFPSDNode*
isConstOrConstSplatFP(
SDValue N,
bool AllowUndefs = false);
The SDNode if it is a constant splat BuildVector or constant float.
| Name | Description |
|---|---|
| N | Value to inspect. |
| AllowUndefs | Whether undef elements are permitted. |