LLVM API Documentation

llvm::SrcValueSDNode Class Reference

#include <SelectionDAGNodes.h>

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

List of all members.

Public Member Functions

const Value * getValue () const
 getValue - return the contained Value.

Static Public Member Functions

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

Protected Member Functions

 SrcValueSDNode (const Value *v)
 Create a SrcValue for a general value.

Friends

class SelectionDAG


Detailed Description

SrcValueSDNode - An SDNode that holds an arbitrary LLVM IR Value. This is used when the SelectionDAG needs to make a simple reference to something in the LLVM IR representation.

Note that this is not used for carrying alias information; that is done with MemOperandSDNode, which includes a Value which is required to be a pointer, and several other fields specific to memory references.

Definition at line 2000 of file SelectionDAGNodes.h.


Constructor & Destructor Documentation

llvm::SrcValueSDNode::SrcValueSDNode ( const Value *  v  )  [inline, explicit, protected]

Create a SrcValue for a general value.

Definition at line 2005 of file SelectionDAGNodes.h.


Member Function Documentation

const Value* llvm::SrcValueSDNode::getValue (  )  const [inline]

getValue - return the contained Value.

Definition at line 2010 of file SelectionDAGNodes.h.

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

Definition at line 2012 of file SelectionDAGNodes.h.

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

Reimplemented from llvm::SDNode.

Definition at line 2013 of file SelectionDAGNodes.h.

References llvm::SDNode::getOpcode(), and llvm::ISD::SRCVALUE.


Friends And Related Function Documentation

friend class SelectionDAG [friend]

Reimplemented from llvm::SDNode.

Definition at line 2003 of file SelectionDAGNodes.h.


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