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:
parent
1d139cf8de
commit
07a33b5553
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user