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);

Created with MrDocs