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::IGNode Class Reference

#include <IGNode.h>

Collaboration diagram for llvm::IGNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IGNode (LiveRange *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)
LiveRangegetParentLR () const

Detailed Description

Definition at line 46 of file IGNode.h.


Constructor & Destructor Documentation

llvm::IGNode::IGNode LiveRange LR,
unsigned  index
[inline]
 

Definition at line 61 of file IGNode.h.


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.

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

Definition at line 43 of file IGNode.cpp.

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

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

Definition at line 73 of file IGNode.h.

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

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

Definition at line 114 of file IGNode.h.

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::assertIGNode(), llvm::InterferenceGraph::mergeIGNodesOfLRs(), llvm::InterferenceGraph::printIGNodeList(), and llvm::InterferenceGraph::setInterference().

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

Definition at line 81 of file IGNode.h.

Referenced by llvm::SparcV9FloatRegClass::colorIGNode(), llvm::SparcV9IntCCRegClass::colorIGNode(), llvm::InterferesWithColor(), llvm::InterferenceGraph::mergeIGNodesOfLRs(), and llvm::InterferenceGraph::printIGNodeList().

LiveRange* llvm::IGNode::getParentLR  )  const [inline]
 

Definition at line 118 of file IGNode.h.

Referenced by llvm::SparcV9FloatRegClass::colorIGNode(), llvm::SparcV9FloatCCRegClass::colorIGNode(), llvm::SparcV9IntCCRegClass::colorIGNode(), llvm::SparcV9IntRegClass::colorIGNode(), llvm::InterferesWithColor(), llvm::InterferenceGraph::mergeIGNodesOfLRs(), and llvm::InterferenceGraph::printIGNodeList().

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

Definition at line 112 of file IGNode.h.

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.

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

Definition at line 116 of file IGNode.h.

Referenced by llvm::SparcV9FloatCCRegClass::colorIGNode(), and llvm::SparcV9IntCCRegClass::colorIGNode().

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

Definition at line 97 of file IGNode.h.

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


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