LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::SelectionDAGReducedValue Class Reference

#include <SelectionDAG.h>

Inheritance diagram for llvm::SelectionDAGReducedValue:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SelectionDAGReducedValue (unsigned C)
unsigned getValueCode () const
const SelectionDAGReducedValuegetNext () const
void setNext (SelectionDAGReducedValue *N)
SelectionDAGReducedValuegetNext ()

Detailed Description

SelectionDAGReducedValue - During the reducer pass we need the ability to add an arbitrary (but usually 1 or 0) number of arbitrarily sized values to the selection DAG. Because of this, we represent these values as a singly linked list of values attached to the DAGNode. We end up putting the arbitrary state for the value in subclasses of this node.

Note that this class does not have a virtual dtor, this is because we know that the subclasses will not hold state that needs to be destroyed.

Definition at line 159 of file SelectionDAG.h.


Constructor & Destructor Documentation

llvm::SelectionDAGReducedValue::SelectionDAGReducedValue unsigned  C  )  [inline]
 

Definition at line 163 of file SelectionDAG.h.


Member Function Documentation

SelectionDAGReducedValue* llvm::SelectionDAGReducedValue::getNext  )  [inline]
 

Definition at line 174 of file SelectionDAG.h.

const SelectionDAGReducedValue* llvm::SelectionDAGReducedValue::getNext  )  const [inline]
 

getNext - Return the next value in the list

Definition at line 171 of file SelectionDAG.h.

Referenced by llvm::SelectionDAGNode::addValue(), llvm::SelectionDAGNode::getValue(), and llvm::SelectionDAGNode::hasValue().

unsigned llvm::SelectionDAGReducedValue::getValueCode  )  const [inline]
 

getValueCode - Return the code for this reducer value...

Definition at line 167 of file SelectionDAG.h.

Referenced by llvm::SelectionDAGNode::getValue(), and llvm::SelectionDAGNode::hasValue().

void llvm::SelectionDAGReducedValue::setNext SelectionDAGReducedValue N  )  [inline]
 

Definition at line 172 of file SelectionDAG.h.

Referenced by llvm::SelectionDAGNode::addValue().


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