isConstOrConstSplatFP overloads
Declared in <llvm/CodeGen/SelectionDAGNodes.h>
Returns the SDNode if it is a constant splat BuildVector or constant float.
ConstantFPSDNode*
isConstOrConstSplatFP(
SDValue N,
bool AllowUndefs = false);
» more...
Returns the SDNode if it is a demanded constant splat BuildVector or constant float.
ConstantFPSDNode*
isConstOrConstSplatFP(
SDValue N,
APInt const& DemandedElts,
bool AllowUndefs = false);
» more...
| Name | Description |
|---|---|
| N | Value to inspect. |
| AllowUndefs | Whether undef elements are permitted. |
| DemandedElts | Elements that must participate in the splat. |