LLVM API Documentation

llvm::IGNode Class Reference

#include <IGNode.h>

Collaboration diagram for llvm::IGNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IGNode (V9LiveRange *LR, unsigned index)
unsigned int getIndex () const
void addAdjIGNode (IGNode *AdjNode)
IGNodegetAdjIGNode (unsigned ind) const
void delAdjIGNode (const IGNode *Node)
unsigned getNumOfNeighbors () const
unsigned getCombinedDegree (const IGNode *otherNode) const
bool isOnStack () const
void pushOnStack ()
void setCurDegree ()
int getCurDegree () const
void decCurDegree ()
bool hasColor () const
unsigned int getColor () const
void setColor (unsigned Col)
V9LiveRangegetParentLR () const

Detailed Description

Definition at line 46 of file IGNode.h.


Constructor & Destructor Documentation

llvm::IGNode::IGNode ( V9LiveRange LR,
unsigned  index 
) [inline]

Definition at line 61 of file IGNode.h.

References llvm::V9LiveRange::setUserIGNode().


Member Function Documentation

void llvm::IGNode::addAdjIGNode ( IGNode AdjNode  )  [inline]

Definition at line 71 of file IGNode.h.

Referenced by llvm::InterferenceGraph::setInterference().

void llvm::IGNode::decCurDegree (  )  [inline]

Definition at line 106 of file IGNode.h.

Referenced by pushOnStack().

void llvm::IGNode::delAdjIGNode ( const IGNode Node  ) 

Definition at line 43 of file IGNode.cpp.

References Node.

IGNode* llvm::IGNode::getAdjIGNode ( unsigned  ind  )  const [inline]

Definition at line 73 of file IGNode.h.

Referenced by llvm::InterferesWithColor(), and llvm::InterferenceGraph::mergeIGNodesOfLRs().

unsigned int llvm::IGNode::getColor (  )  const [inline]

Definition at line 114 of file IGNode.h.

References llvm::V9LiveRange::getColor().

unsigned llvm::IGNode::getCombinedDegree ( const IGNode otherNode  )  const

Definition at line 54 of file IGNode.cpp.

References AdjList.

int llvm::IGNode::getCurDegree (  )  const [inline]

Definition at line 102 of file IGNode.h.

unsigned int llvm::IGNode::getIndex (  )  const [inline]

Definition at line 67 of file IGNode.h.

Referenced by llvm::InterferenceGraph::getInterference(), llvm::InterferenceGraph::mergeIGNodesOfLRs(), and llvm::InterferenceGraph::setInterference().

unsigned llvm::IGNode::getNumOfNeighbors (  )  const [inline]

Definition at line 81 of file IGNode.h.

Referenced by llvm::LiveRangeInfo::coalesceLRs(), llvm::InterferesWithColor(), and llvm::InterferenceGraph::mergeIGNodesOfLRs().

V9LiveRange* llvm::IGNode::getParentLR (  )  const [inline]

Definition at line 118 of file IGNode.h.

Referenced by llvm::InterferesWithColor(), and llvm::InterferenceGraph::mergeIGNodesOfLRs().

bool llvm::IGNode::hasColor (  )  const [inline]

Definition at line 112 of file IGNode.h.

References llvm::V9LiveRange::hasColor().

bool llvm::IGNode::isOnStack (  )  const [inline]

Definition at line 86 of file IGNode.h.

void llvm::IGNode::pushOnStack (  ) 

Definition at line 25 of file IGNode.cpp.

References decCurDegree().

void llvm::IGNode::setColor ( unsigned  Col  )  [inline]

Definition at line 116 of file IGNode.h.

References llvm::V9LiveRange::setColor().

void llvm::IGNode::setCurDegree (  )  [inline]

Definition at line 97 of file IGNode.h.


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