class ConstantFPSDNode
Declaration
class ConstantFPSDNode : public SDNode { /* full declaration omitted */ };
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1605
Inherits from: SDNode
Member Variables
Inherited from SDNode:
Method Overview
- 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 isFast
- public isMachineOpcode
- public isMemIntrinsic
- public isOnlyUserOf
- public isOperandOf
- public isPredecessorOf
- public isStrictFPOpcode
- public isTargetMemoryOpcode
- public isTargetOpcode
- public isTargetStrictFPOpcode
- public isUndef
- 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
Inherited from FoldingSetBase::Node:
Methods
¶static bool classof(const llvm::SDNode* N)
static bool classof(const llvm::SDNode* N)
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1646
Parameters
- const llvm::SDNode* N
¶const llvm::ConstantFP* getConstantFPValue() const
const llvm::ConstantFP* getConstantFPValue() const
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1617
¶const llvm::APFloat& getValueAPF() const
const llvm::APFloat& getValueAPF() const
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1616
¶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:1639
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:1642
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:1626
¶bool isNaN() const
bool isNaN() const
Description
Return true if the value is a NaN.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1623
¶bool isNegative() const
bool isNegative() const
Description
Return true if the value is negative.
Declared at: llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1629
¶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:1644
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:1620