X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2FTableGen%2FDAGISelMatcher.h;h=b5dabafa5240dc9b0c9df1b0d43d0a7a66848953;hb=e609a513f3c072bba28412c681465332a2822d9a;hp=68737e2796b436323442c85401d97b42615f728d;hpb=9abe19d0b9b36dc42d5ae94f7ef236f126da55c4;p=oota-llvm.git diff --git a/utils/TableGen/DAGISelMatcher.h b/utils/TableGen/DAGISelMatcher.h index 68737e2796b..b5dabafa524 100644 --- a/utils/TableGen/DAGISelMatcher.h +++ b/utils/TableGen/DAGISelMatcher.h @@ -317,6 +317,8 @@ public: CheckComplexPatMatcherNode(const ComplexPattern &pattern) : MatcherNodeWithChild(CheckComplexPat), Pattern(pattern) {} + const ComplexPattern &getPattern() const { return Pattern; } + static inline bool classof(const MatcherNode *N) { return N->getKind() == CheckComplexPat; }