diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-07-16 06:12:52 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-07-16 06:12:52 +0000 |
commit | f872940dfc8994865bac20fb0654ddfbec935331 (patch) | |
tree | 72f75f383fabe153304612b3d332d28854b22771 /utils/TableGen/DAGISelEmitter.h | |
parent | 84b19be6ab9544f72eafb11048a1121f5ea77c95 (diff) | |
download | external_llvm-f872940dfc8994865bac20fb0654ddfbec935331.zip external_llvm-f872940dfc8994865bac20fb0654ddfbec935331.tar.gz external_llvm-f872940dfc8994865bac20fb0654ddfbec935331.tar.bz2 |
Parameterize target node ValueType to allow more sharing of emit functions.
Also reduce the number of arguments passed to emit functions and removed a
hack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.h')
-rw-r--r-- | utils/TableGen/DAGISelEmitter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelEmitter.h b/utils/TableGen/DAGISelEmitter.h index f0c7376..e13b324 100644 --- a/utils/TableGen/DAGISelEmitter.h +++ b/utils/TableGen/DAGISelEmitter.h @@ -521,8 +521,9 @@ private: std::vector<Record*> &InstImpResults); void GenerateCodeForPattern(PatternToMatch &Pattern, std::vector<std::pair<bool, std::string> > &GeneratedCode, - std::set<std::pair<bool, std::string> > &GeneratedDecl, + std::set<std::pair<unsigned, std::string> > &GeneratedDecl, std::vector<std::string> &TargetOpcodes, + std::vector<std::string> &TargetVTs, bool DoReplace); void EmitPatterns(std::vector<std::pair<PatternToMatch*, std::vector<std::pair<bool, std::string> > > > &Patterns, |