Added LLVM copyright to Makefiles.
[oota-llvm.git] / utils / TableGen / RegisterInfoEmitter.h
index e58da63565c5219ffe81e3e1e53f8ecc5a311534..22c759facfceee7a5830a4f91a6ee3e6f48f9d3c 100644 (file)
@@ -1,4 +1,11 @@
 //===- RegisterInfoEmitter.h - Generate a Register File Desc. ---*- C++ -*-===//
+// 
+//                     The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// 
+//===----------------------------------------------------------------------===//
 //
 // This tablegen backend is responsible for emitting a description of a target
 // register file for a code generator.  It uses instances of the Register,
@@ -9,10 +16,9 @@
 #ifndef REGISTER_INFO_EMITTER_H
 #define REGISTER_INFO_EMITTER_H
 
-#include <iosfwd>
-class RecordKeeper;
+#include "TableGenBackend.h"
 
-class RegisterInfoEmitter {
+class RegisterInfoEmitter : public TableGenBackend {
   RecordKeeper &Records;
 public:
   RegisterInfoEmitter(RecordKeeper &R) : Records(R) {}
@@ -25,7 +31,6 @@ public:
 
   // runEnums - Print out enum values for all of the registers.
   void runEnums(std::ostream &o);
-private:
 };
 
 #endif