1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Add method IGNode::getCombinedDegree to count the sum of the degrees

of two nodes, excluding duplicates.

llvm-svn: 3848
This commit is contained in:
Vikram S. Adve 2002-09-20 00:55:04 +00:00
parent 1d139cf8de
commit 07a33b5553

View File

@ -72,6 +72,9 @@ public:
inline unsigned getNumOfNeighbors() const { return AdjList.size(); }
// Get the number of unique neighbors if these two nodes are merged
unsigned getCombinedDegree(const IGNode* otherNode) const;
inline bool isOnStack() const { return OnStack; }
// remove form IG and pushes on to stack (reduce the degree of neighbors)