1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

add an insertion operator.

llvm-svn: 96187
This commit is contained in:
Chris Lattner 2010-02-14 21:10:33 +00:00
parent 216edab8dd
commit 1a9a2e116d

View File

@ -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.