summaryrefslogtreecommitdiff
path: root/utils/TableGen/DAGISelMatcher.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-01 01:54:19 +0000
committerChris Lattner <sabre@nondot.org>2010-03-01 01:54:19 +0000
commit4d0c931ba7758a98864dc7e968a10df7fed7ab70 (patch)
tree66620e06a372a92ec561fa805fcfb470dcb2d898 /utils/TableGen/DAGISelMatcher.h
parentccd23cc2a49f02acbcdd50128a9022477f7cb6a4 (diff)
downloadllvm-4d0c931ba7758a98864dc7e968a10df7fed7ab70.tar.gz
llvm-4d0c931ba7758a98864dc7e968a10df7fed7ab70.tar.bz2
llvm-4d0c931ba7758a98864dc7e968a10df7fed7ab70.tar.xz
inline the node transforms and node predicates into the generated
dispatcher method. This eliminates the dependence of the new isel's generated code on the old isel's predicates, however some random hand written isel code still uses them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelMatcher.h')
-rw-r--r--utils/TableGen/DAGISelMatcher.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelMatcher.h b/utils/TableGen/DAGISelMatcher.h
index ea48a0b51e..2f26b924d7 100644
--- a/utils/TableGen/DAGISelMatcher.h
+++ b/utils/TableGen/DAGISelMatcher.h
@@ -28,7 +28,8 @@ namespace llvm {
Matcher *ConvertPatternToMatcher(const PatternToMatch &Pattern,
const CodeGenDAGPatterns &CGP);
Matcher *OptimizeMatcher(Matcher *Matcher, const CodeGenDAGPatterns &CGP);
-void EmitMatcherTable(const Matcher *Matcher, raw_ostream &OS);
+void EmitMatcherTable(const Matcher *Matcher, const CodeGenDAGPatterns &CGP,
+ raw_ostream &OS);
/// Matcher - Base class for all the the DAG ISel Matcher representation