LLVM API Documentation

llvm::ConstantSDNode Class Reference

#include <SelectionDAGNodes.h>

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

List of all members.

Public Member Functions

const ConstantInt * getConstantIntValue () const
const APInt & getAPIntValue () const
uint64_t getZExtValue () const
int64_t getSExtValue () 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, const ConstantInt *val, MVT VT)

Friends

class SelectionDAG


Detailed Description

Definition at line 1776 of file SelectionDAGNodes.h.


Constructor & Destructor Documentation

llvm::ConstantSDNode::ConstantSDNode ( bool  isTarget,
const ConstantInt *  val,
MVT  VT 
) [inline, protected]

Definition at line 1780 of file SelectionDAGNodes.h.


Member Function Documentation

const ConstantInt* llvm::ConstantSDNode::getConstantIntValue (  )  const [inline]

Definition at line 1786 of file SelectionDAGNodes.h.

const APInt& llvm::ConstantSDNode::getAPIntValue (  )  const [inline]

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

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

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

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

Definition at line 1792 of file SelectionDAGNodes.h.

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

Definition at line 1794 of file SelectionDAGNodes.h.

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

Reimplemented from llvm::SDNode.

Definition at line 1795 of file SelectionDAGNodes.h.

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


Friends And Related Function Documentation

friend class SelectionDAG [friend]

Reimplemented from llvm::SDNode.

Definition at line 1779 of file SelectionDAGNodes.h.


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