* doxygenize comment
authorChris Lattner <sabre@nondot.org>
Sat, 28 Dec 2002 20:13:29 +0000 (20:13 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Dec 2002 20:13:29 +0000 (20:13 +0000)
* rename MachineFrameInfo to TargetFrameInfo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5170 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetMachine.h

index 508ae330db2846d8b700f09ce0df9ae644805b48..81300dbc9a87c9162285d3856c5abab870481805 100644 (file)
@@ -14,7 +14,7 @@ class MachineInstrInfo;
 class MachineInstrDescriptor;
 class MachineSchedInfo;
 class MachineRegInfo;
-class MachineFrameInfo;
+class TargetFrameInfo;
 class MachineCacheInfo;
 class MachineOptInfo;
 class MachineCodeEmitter;
@@ -22,19 +22,14 @@ class MRegisterInfo;
 class PassManager;
 class Pass;
 
-//---------------------------------------------------------------------------
-// class TargetMachine
-// 
-// Purpose:
-//   Primary interface to the complete machine description for the
-//   target machine.  All target-specific information should be
-//   accessible through this interface.
-// 
-//---------------------------------------------------------------------------
-
+//===----------------------------------------------------------------------===//
+///
+/// TargetMachine - Primary interface to the complete machine description for
+/// the target machine.  All target-specific information should be accessible
+/// through this interface.
+/// 
 class TargetMachine : public NonCopyableV {
   const std::string Name;
-public:
   const TargetData DataLayout;         // Calculates type size & alignment
   
 protected:
@@ -53,7 +48,6 @@ public:
 
   const std::string &getName() const { return Name; }
   
-  // 
   // Interfaces to the major aspects of target machine information:
   // -- Instruction opcode and operand information
   // -- Pipelines and scheduling information
@@ -65,14 +59,14 @@ public:
   virtual const MachineInstrInfo&       getInstrInfo() const = 0;
   virtual const MachineSchedInfo&       getSchedInfo() const = 0;
   virtual const MachineRegInfo&                getRegInfo()   const = 0;
-  virtual const MachineFrameInfo&       getFrameInfo() const = 0;
+  virtual const TargetFrameInfo&        getFrameInfo() const = 0;
   virtual const MachineCacheInfo&       getCacheInfo() const = 0;
   virtual const MachineOptInfo&         getOptInfo()   const = 0;
   const TargetData &getTargetData() const { return DataLayout; }
 
   /// getRegisterInfo - If register information is available, return it.  If
-  /// not, return null.  This is kept separate from RegInfo until RegInfo gets
-  /// straightened out.
+  /// not, return null.  This is kept separate from RegInfo until RegInfo has
+  /// details of graph coloring register allocation removed from it.
   ///
   virtual const MRegisterInfo*          getRegisterInfo() const { return 0; }