summaryrefslogtreecommitdiff
path: root/utils/TableGen/FastISelEmitter.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-21 00:19:05 +0000
committerDan Gohman <gohman@apple.com>2008-08-21 00:19:05 +0000
commitc7f72de3b4ef21828ea4780f0693bf0acd04e1c5 (patch)
tree462b2fd3ccffd5e898da7dc68bf7199f315d0e68 /utils/TableGen/FastISelEmitter.h
parentcb3718832375a581c5ea23f15918f3ea447a446c (diff)
downloadllvm-c7f72de3b4ef21828ea4780f0693bf0acd04e1c5.tar.gz
llvm-c7f72de3b4ef21828ea4780f0693bf0acd04e1c5.tar.bz2
llvm-c7f72de3b4ef21828ea4780f0693bf0acd04e1c5.tar.xz
Begin making more use of the FastISelEmitter class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55093 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/FastISelEmitter.h')
-rw-r--r--utils/TableGen/FastISelEmitter.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/TableGen/FastISelEmitter.h b/utils/TableGen/FastISelEmitter.h
index df6a0e655c..da8aa16dbf 100644
--- a/utils/TableGen/FastISelEmitter.h
+++ b/utils/TableGen/FastISelEmitter.h
@@ -19,14 +19,18 @@
namespace llvm {
+class CodeGenTarget;
+
/// FastISelEmitter - The top-level class which coordinates construction
/// and emission of the instruction selector.
///
class FastISelEmitter : public TableGenBackend {
RecordKeeper &Records;
CodeGenDAGPatterns CGP;
+ const CodeGenTarget &Target;
+ const std::string InstNS;
public:
- explicit FastISelEmitter(RecordKeeper &R) : Records(R), CGP(R) {}
+ explicit FastISelEmitter(RecordKeeper &R);
// run - Output the isel, returning true on failure.
void run(std::ostream &OS);