diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-07-27 06:38:21 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-07-27 06:38:21 +0000 |
commit | b9ee9e60a905b90fa3e84c5c6091af6e5a0382d2 (patch) | |
tree | 3732ceda59888d11eccf868069a58c9a70a24511 /include/llvm/CodeGen/SelectionDAG.h | |
parent | b2c121ac14707db27d73169dab6c5d8592709843 (diff) |
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
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAG.h')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 473021afad..53caf88548 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -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 |