[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Sep 8 18:11:29 PDT 2005
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.h updated: 1.5 -> 1.6
---
Log message:
add some accessors
---
Diffs of the changes: (+2 -0)
DAGISelEmitter.h | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/utils/TableGen/DAGISelEmitter.h
diff -u llvm/utils/TableGen/DAGISelEmitter.h:1.5 llvm/utils/TableGen/DAGISelEmitter.h:1.6
--- llvm/utils/TableGen/DAGISelEmitter.h:1.5 Thu Sep 8 18:22:48 2005
+++ llvm/utils/TableGen/DAGISelEmitter.h Thu Sep 8 20:11:17 2005
@@ -233,6 +233,8 @@
/// getTrees - Return the tree patterns which corresponds to this pattern.
///
const std::vector<TreePatternNode*> &getTrees() const { return Trees; }
+ unsigned getNumTrees() const { return Trees.size(); }
+ TreePatternNode *getTree(unsigned i) const { return Trees[i]; }
/// getRecord - Return the actual TableGen record corresponding to this
/// pattern.
More information about the llvm-commits
mailing list