LLVM API Documentation

llvm::ConstantSDNode Class Reference

#include <SelectionDAGNodes.h>

Inheritance diagram for llvm::ConstantSDNode:

Inheritance graph
[legend]
Collaboration diagram for llvm::ConstantSDNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

uint64_t getValue () const
int64_t getSignExtended () const
bool isNullValue () const
bool isAllOnesValue () const

Static Public Member Functions

static bool classof (const ConstantSDNode *)
static bool classof (const SDNode *N)

Protected Member Functions

 ConstantSDNode (bool isTarget, uint64_t val, MVT::ValueType VT)

Friends

class SelectionDAG

Detailed Description

Definition at line 1074 of file SelectionDAGNodes.h.


Constructor & Destructor Documentation

llvm::ConstantSDNode::ConstantSDNode ( bool  isTarget,
uint64_t  val,
MVT::ValueType  VT 
) [inline, protected]

Definition at line 1078 of file SelectionDAGNodes.h.


Member Function Documentation

static bool llvm::ConstantSDNode::classof ( const SDNode N  )  [inline, static]

Reimplemented from llvm::SDNode.

Definition at line 1096 of file SelectionDAGNodes.h.

References llvm::ISD::Constant, llvm::SDNode::getOpcode(), and llvm::ISD::TargetConstant.

static bool llvm::ConstantSDNode::classof ( const ConstantSDNode  )  [inline, static]

Definition at line 1095 of file SelectionDAGNodes.h.

int64_t llvm::ConstantSDNode::getSignExtended (  )  const [inline]

Definition at line 1085 of file SelectionDAGNodes.h.

References Bits, llvm::MVT::getSizeInBits(), and llvm::SDNode::getValueType().

Referenced by llvm::SelectionDAG::getNode().

uint64_t llvm::ConstantSDNode::getValue (  )  const [inline]

Definition at line 1083 of file SelectionDAGNodes.h.

Referenced by llvm::TargetLowering::ComputeMaskedBits(), llvm::SelectionDAG::getNode(), and llvm::X86TargetLowering::LowerOperation().

bool llvm::ConstantSDNode::isAllOnesValue (  )  const [inline]

Definition at line 1091 of file SelectionDAGNodes.h.

References llvm::MVT::getIntVTBitMask(), and llvm::SDNode::getValueType().

bool llvm::ConstantSDNode::isNullValue (  )  const [inline]

Definition at line 1090 of file SelectionDAGNodes.h.


Friends And Related Function Documentation

friend class SelectionDAG [friend]

Reimplemented from llvm::SDNode.

Definition at line 1077 of file SelectionDAGNodes.h.


The documentation for this class was generated from the following file: