projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
523f6a5
)
add an insertion operator.
author
Chris Lattner
<sabre@nondot.org>
Sun, 14 Feb 2010 21:10:33 +0000
(21:10 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 14 Feb 2010 21:10:33 +0000
(21:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96187
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/CodeGenDAGPatterns.h
patch
|
blob
|
history
diff --git
a/utils/TableGen/CodeGenDAGPatterns.h
b/utils/TableGen/CodeGenDAGPatterns.h
index c51232a4c3fba207549bd4c2bd209bfea8cb284f..26a962aafcfb1abe571126c90b841b552eda5d4c 100644
(file)
--- a/
utils/TableGen/CodeGenDAGPatterns.h
+++ b/
utils/TableGen/CodeGenDAGPatterns.h
@@
-298,6
+298,11
@@
public: // Higher level manipulation routines.
bool canPatternMatch(std::string &Reason, const CodeGenDAGPatterns &CDP);
};
+inline raw_ostream &operator<<(raw_ostream &OS, const TreePatternNode &TPN) {
+ TPN.print(OS);
+ return OS;
+}
+
/// TreePattern - Represent a pattern, used for instructions, pattern
/// fragments, etc.