isConstOrConstSplatFP overloads
Synopses
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);
Returns the SDNode if it is a demanded constant splat BuildVector or constant float.
ConstantFPSDNode*
isConstOrConstSplatFP(
SDValue N,
APInt const& DemandedElts,
bool AllowUndefs = false);
Return Value
-
The SDNode if it is a constant splat BuildVector or constant float.
-
The SDNode if it is a demanded constant splat BuildVector or constant float.
Parameters
Name |
Description |
N |
Value to inspect. |
AllowUndefs |
Whether undef elements are permitted. |
DemandedElts |
Elements that must participate in the splat. |
Created with MrDocs