Move TableGen's parser and entry point into a library
[oota-llvm.git] / utils / TableGen / AsmWriterEmitter.h
index 75e69964ef89eeb10533f28cf6b745968d5e869b..731e31cc746ead7aa5e01a1aae23bc96c5ea91e7 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef ASMWRITER_EMITTER_H
 #define ASMWRITER_EMITTER_H
 
-#include "TableGenBackend.h"
+#include "llvm/TableGen/TableGenBackend.h"
 #include <map>
 #include <vector>
 #include <cassert>
@@ -35,6 +35,12 @@ namespace llvm {
     void run(raw_ostream &o);
 
 private:
+    void EmitPrintInstruction(raw_ostream &o);
+    void EmitGetRegisterName(raw_ostream &o);
+    void EmitGetInstructionName(raw_ostream &o);
+    void EmitRegIsInRegClass(raw_ostream &O);
+    void EmitPrintAliasInstruction(raw_ostream &O);
+    
     AsmWriterInst *getAsmWriterInstByID(unsigned ID) const {
       assert(ID < NumberedInstructions.size());
       std::map<const CodeGenInstruction*, AsmWriterInst*>::const_iterator I =