Add more helper methods


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7626 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/TableGen/TableGenBackend.h b/utils/TableGen/TableGenBackend.h
index b9e8c49..ae71d2c 100644
--- a/utils/TableGen/TableGenBackend.h
+++ b/utils/TableGen/TableGenBackend.h
@@ -10,6 +10,8 @@
 
 #include <string>
 #include <iosfwd>
+class Record;
+class RecordKeeper;
 
 struct TableGenBackend {
 
@@ -19,8 +21,16 @@
 
 
 public:   // Useful helper routines...
+  /// EmitSourceFileHeader - Output a LLVM style file header to the specified
+  /// ostream.
   void EmitSourceFileHeader(const std::string &Desc, std::ostream &OS) const;
 
+  /// getQualifiedName - Return the name of the specified record, with a
+  /// namespace qualifier if the record contains one.
+  std::string getQualifiedName(Record *R) const;
+
+  /// getTarget - Return the current instance of the Target class.
+  Record *getTarget(RecordKeeper &RC) const;
 };
 
 #endif