aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-12-21 21:59:52 +0000
committerBill Wendling <isanbard@gmail.com>2009-12-21 21:59:52 +0000
commit0777e927214c61c5d681e5b7dd5d00665c81133a (patch)
tree84254d69441c571a23dbfca9f98b106c06ed21fe /include
parentf660802f348e4e57ef9df8d30be74b894259badb (diff)
downloadexternal_llvm-0777e927214c61c5d681e5b7dd5d00665c81133a.zip
external_llvm-0777e927214c61c5d681e5b7dd5d00665c81133a.tar.gz
external_llvm-0777e927214c61c5d681e5b7dd5d00665c81133a.tar.bz2
- Add a bit more plumbing assigning an order to SDNodes.
- Modify the "dump" method to emit the order of an SDNode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index a6fd75f..d55dd7f 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -834,6 +834,9 @@ public:
/// AssignOrdering - Assign an order to the SDNode.
void AssignOrdering(SDNode *SD, unsigned Order);
+ /// GetOrdering - Get the order for the SDNode.
+ unsigned GetOrdering(const SDNode *SD) const;
+
void dump() const;
/// CreateStackTemporary - Create a stack temporary, suitable for holding the