Remove NodeDepth; Add NodeId which is a unique id per node per DAG. It can only be set by SelectionDAG.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29336 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2006-07-27 06:38:21 +00:00
parent b2c121ac14
commit b9ee9e60a9
2 changed files with 21 additions and 41 deletions

View File

@@ -421,7 +421,11 @@ public:
/// DeleteNode - Remove the specified node from the system. This node must
/// have no referrers.
void DeleteNode(SDNode *N);
/// AssignNodeIds - Assign a unique node id for each node in the DAG. It
/// returns the maximum id.
int AssignNodeIds();
void dump() const;
/// InsertISelMapEntry - A helper function to insert a key / element pair