class ConstantFPSDNode
Declaration
class ConstantFPSDNode : public SDNode { /* full declaration omitted */ };
Description
Represents one node in the SelectionDAG.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1618
Inherits from: SDNode
Member Variables
- private const llvm::ConstantFP* Value
Inherited from SDNode:
Method Overview
- private ConstantFPSDNode(bool isTarget, const llvm::ConstantFP * val, llvm::EVT VT)
- public static bool classof(const llvm::SDNode * N)
- public const llvm::ConstantFP * getConstantFPValue() const
- public const llvm::APFloat & getValueAPF() const
- public bool isExactlyValue(double V) const
- public bool isExactlyValue(const llvm::APFloat & V) const
- public bool isInfinity() const
- public bool isNaN() const
- public bool isNegative() const
- public static bool isValueValidForType(llvm::EVT VT, const llvm::APFloat & Val)
- public bool isZero() const
Inherited from SDNode:
- protected DropOperands
- public Profile
- public addUse
- public areOnlyUsersOf
- public dump
- public dump
- public dumpr
- public dumpr
- public dumprFull
- public dumprWithDepth
- public getConstantOperandAPInt
- public getConstantOperandVal
- public getDebugLoc
- public getFlags
- public getGluedNode
- public getGluedUser
- public getHasDebugValue
- public getIROrder
- public getIndexedModeName
- public getMachineOpcode
- public getMaxNumOperands
- public getNodeId
- public getNumOperands
- public getNumValues
- public getOpcode
- public getOperand
- public getOperationName
- protected getSDVTList
- public getSimpleValueType
- public getVTList
- public getValueSizeInBits
- public getValueType
- public hasAnyUseOfValue
- public hasNUsesOfValue
- public hasOneUse
- public hasPredecessor
- public hasPredecessorHelper
- public intersectFlagsWith
- public isDivergent
- public isMachineOpcode
- public isMemIntrinsic
- public isOnlyUserOf
- public isOperandOf
- public isPredecessorOf
- public isStrictFPOpcode
- public isTargetMemoryOpcode
- public isTargetOpcode
- public isTargetStrictFPOpcode
- public isUndef
- public isVPOpcode
- public op_begin
- public op_end
- public op_values
- public ops
- public print
- public print_details
- public print_types
- public printr
- public printrFull
- public printrWithDepth
- public setDebugLoc
- public setFlags
- public setHasDebugValue
- public setIROrder
- public setNodeId
- public use_begin
- public use_empty
- public use_end
- public use_size
- public uses
- public uses
- public value_begin
- public value_end
- public values
Inherited from FoldingSetBase::Node:
Methods
¶ConstantFPSDNode(bool isTarget,
const llvm::ConstantFP* val,
llvm::EVT VT)
ConstantFPSDNode(bool isTarget,
const llvm::ConstantFP* val,
llvm::EVT VT)
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1623
Parameters
- bool isTarget
- const llvm::ConstantFP* val
- llvm::EVT VT
¶static bool classof(const llvm::SDNode* N)
static bool classof(const llvm::SDNode* N)
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1659
Parameters
- const llvm::SDNode* N
¶const llvm::ConstantFP* getConstantFPValue() const
const llvm::ConstantFP* getConstantFPValue() const
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1630
¶const llvm::APFloat& getValueAPF() const
const llvm::APFloat& getValueAPF() const
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1629
¶bool isExactlyValue(double V) const
bool isExactlyValue(double V) const
Description
We leave the version with the double argument here because it's just so convenient to write "2.0" and the like. Without this function we'd have to duplicate its logic everywhere it's called.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1652
Parameters
- double V
¶bool isExactlyValue(const llvm::APFloat& V) const
bool isExactlyValue(const llvm::APFloat& V) const
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1655
Parameters
- const llvm::APFloat& V
¶bool isInfinity() const
bool isInfinity() const
Description
Return true if the value is an infinity
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1639
¶bool isNaN() const
bool isNaN() const
Description
Return true if the value is a NaN.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1636
¶bool isNegative() const
bool isNegative() const
Description
Return true if the value is negative.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1642
¶static bool isValueValidForType(
llvm::EVT VT,
const llvm::APFloat& Val)
static bool isValueValidForType(
llvm::EVT VT,
const llvm::APFloat& Val)
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1657
Parameters
- llvm::EVT VT
- const llvm::APFloat& Val
¶bool isZero() const
bool isZero() const
Description
Return true if the value is positive or negative zero.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1633