[llvm-commits] CVS: llvm/lib/Target/SparcV9/EmitBytecodeToAssembly.cpp MachineInstrAnnot.h Makefile MappingInfo.cpp MappingInfo.h SparcV9.td SparcV9AsmPrinter.cpp SparcV9FrameInfo.cpp SparcV9FrameInfo.h SparcV9Instr.def SparcV9InstrInfo.cpp SparcV9InstrInfo.h SparcV9InstrSelection.cpp SparcV9InstrSelectionSupport.h SparcV9Internals.h SparcV9JITInfo.h SparcV9PeepholeOpts.cpp SparcV9PreSelection.cpp SparcV9PrologEpilogInserter.cpp SparcV9RegClassInfo.cpp SparcV9RegClassInfo.h SparcV9RegInfo.cpp SparcV9SchedInfo.cpp SparcV9StackSlots.cpp SparcV9TargetMachine.cpp SparcV9TargetMachine.h SparcV9_F2.td SparcV9_F3.td SparcV9_F4.td SparcV9_Reg.td

Brian Gaeke gaeke at cs.uiuc.edu
Sun Apr 25 02:05:02 PDT 2004


Changes in directory llvm/lib/Target/SparcV9:

EmitBytecodeToAssembly.cpp updated: 1.13 -> 1.14
MachineInstrAnnot.h updated: 1.14 -> 1.15
Makefile updated: 1.41 -> 1.42
MappingInfo.cpp updated: 1.16 -> 1.17
MappingInfo.h updated: 1.7 -> 1.8
SparcV9.td updated: 1.30 -> 1.31
SparcV9AsmPrinter.cpp updated: 1.109 -> 1.110
SparcV9FrameInfo.cpp updated: 1.2 -> 1.3
SparcV9FrameInfo.h updated: 1.3 -> 1.4
SparcV9Instr.def updated: 1.25 -> 1.26
SparcV9InstrInfo.cpp updated: 1.62 -> 1.63
SparcV9InstrInfo.h updated: 1.5 -> 1.6
SparcV9InstrSelection.cpp updated: 1.139 -> 1.140
SparcV9InstrSelectionSupport.h updated: 1.15 -> 1.16
SparcV9Internals.h updated: 1.113 -> 1.114
SparcV9JITInfo.h updated: 1.4 -> 1.5
SparcV9PeepholeOpts.cpp updated: 1.22 -> 1.23
SparcV9PreSelection.cpp updated: 1.32 -> 1.33
SparcV9PrologEpilogInserter.cpp updated: 1.37 -> 1.38
SparcV9RegClassInfo.cpp updated: 1.35 -> 1.36
SparcV9RegClassInfo.h updated: 1.26 -> 1.27
SparcV9RegInfo.cpp updated: 1.125 -> 1.126
SparcV9SchedInfo.cpp updated: 1.11 -> 1.12
SparcV9StackSlots.cpp updated: 1.10 -> 1.11
SparcV9TargetMachine.cpp updated: 1.109 -> 1.110
SparcV9TargetMachine.h updated: 1.7 -> 1.8
SparcV9_F2.td updated: 1.9 -> 1.10
SparcV9_F3.td updated: 1.18 -> 1.19
SparcV9_F4.td updated: 1.11 -> 1.12
SparcV9_Reg.td updated: 1.8 -> 1.9

---
Log message:

Fix file header comments and include guards -- many files have been moved or
renamed since they were last spiffed up, or they just never had proper comments
in the first place.


---
Diffs of the changes:  (+67 -54)

Index: llvm/lib/Target/SparcV9/EmitBytecodeToAssembly.cpp
diff -u llvm/lib/Target/SparcV9/EmitBytecodeToAssembly.cpp:1.13 llvm/lib/Target/SparcV9/EmitBytecodeToAssembly.cpp:1.14
--- llvm/lib/Target/SparcV9/EmitBytecodeToAssembly.cpp:1.13	Wed Feb 25 12:44:15 2004
+++ llvm/lib/Target/SparcV9/EmitBytecodeToAssembly.cpp	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- EmitBytecodeToAssembly.cpp - Emit bytecode to SparcV9 .s File --------==//
+//===-- EmitBytecodeToAssembly.cpp - Emit bytecode to SparcV9 .s File ------==//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/MachineInstrAnnot.h
diff -u llvm/lib/Target/SparcV9/MachineInstrAnnot.h:1.14 llvm/lib/Target/SparcV9/MachineInstrAnnot.h:1.15
--- llvm/lib/Target/SparcV9/MachineInstrAnnot.h:1.14	Fri Apr 23 13:15:47 2004
+++ llvm/lib/Target/SparcV9/MachineInstrAnnot.h	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- llvm/CodeGen/MachineInstrAnnot.h ------------------------*- C++ -*-===//
+//===-- MachineInstrAnnot.h -------------------------------------*- C++ -*-===//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,12 +7,12 @@
 // 
 //===----------------------------------------------------------------------===//
 //
-//  Annotations used to pass information between code generation phases.
+// Annotations used to pass information between SparcV9 code generation phases.
 // 
 //===----------------------------------------------------------------------===//
 
-#ifndef MACHINE_INSTR_ANNOT_h
-#define MACHINE_INSTR_ANNOT_h
+#ifndef MACHINEINSTRANNOT_H
+#define MACHINEINSTRANNOT_H
 
 #include "llvm/CodeGen/MachineInstr.h"
 #include "SparcV9RegInfo.h"


Index: llvm/lib/Target/SparcV9/Makefile
diff -u llvm/lib/Target/SparcV9/Makefile:1.41 llvm/lib/Target/SparcV9/Makefile:1.42
--- llvm/lib/Target/SparcV9/Makefile:1.41	Wed Feb 25 12:44:15 2004
+++ llvm/lib/Target/SparcV9/Makefile	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-##===- lib/Target/SparcV9/Makefile ---------------------------*- Makefile -*-===##
+##===- lib/Target/SparcV9/Makefile -------------------------*- Makefile -*-===##
 # 
 #                     The LLVM Compiler Infrastructure
 #


Index: llvm/lib/Target/SparcV9/MappingInfo.cpp
diff -u llvm/lib/Target/SparcV9/MappingInfo.cpp:1.16 llvm/lib/Target/SparcV9/MappingInfo.cpp:1.17
--- llvm/lib/Target/SparcV9/MappingInfo.cpp:1.16	Wed Feb 11 20:27:09 2004
+++ llvm/lib/Target/SparcV9/MappingInfo.cpp	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===- MappingInfo.cpp - create LLVM info and output to .s file ---------===//
+//===- MappingInfo.cpp - create LLVM info and output to .s file -----------===//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/MappingInfo.h
diff -u llvm/lib/Target/SparcV9/MappingInfo.h:1.7 llvm/lib/Target/SparcV9/MappingInfo.h:1.8
--- llvm/lib/Target/SparcV9/MappingInfo.h:1.7	Wed Feb 25 12:44:15 2004
+++ llvm/lib/Target/SparcV9/MappingInfo.h	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===- lib/Target/SparcV9/MappingInfo.h ---------------------------*- C++ -*-===//
+//===- lib/Target/SparcV9/MappingInfo.h -------------------------*- C++ -*-===//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/SparcV9.td
diff -u llvm/lib/Target/SparcV9/SparcV9.td:1.30 llvm/lib/Target/SparcV9/SparcV9.td:1.31
--- llvm/lib/Target/SparcV9/SparcV9.td:1.30	Wed Feb 25 12:44:15 2004
+++ llvm/lib/Target/SparcV9/SparcV9.td	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===- SparcV9.td - Target Description for SparcV9 V9 Target ----------------===//
+//===- SparcV9.td - Target Description for SparcV9 Target -----------------===//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,7 +7,8 @@
 // 
 //===----------------------------------------------------------------------===//
 //
-// TODO: Need a description here.
+// TableGen target description file for the SparcV9. This is currently used 
+// primarily to generate part of the SparcV9CodeEmitter automatically.
 //
 //===----------------------------------------------------------------------===//
 


Index: llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.109 llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.110
--- llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.109	Mon Mar  1 00:43:28 2004
+++ llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- EmitAssembly.cpp - Emit SparcV9 Specific .s File ---------------------==//
+//===-- EmitAssembly.cpp - Emit SparcV9 Specific .s File -------------------==//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/SparcV9FrameInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9FrameInfo.cpp:1.2 llvm/lib/Target/SparcV9/SparcV9FrameInfo.cpp:1.3
--- llvm/lib/Target/SparcV9/SparcV9FrameInfo.cpp:1.2	Wed Feb 25 12:44:15 2004
+++ llvm/lib/Target/SparcV9/SparcV9FrameInfo.cpp	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- SparcV9.cpp - General implementation file for the SparcV9 Target ------===//
+//===-- SparcV9FrameInfo.cpp - Stack frame layout info for SparcV9 --------===//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/SparcV9FrameInfo.h
diff -u llvm/lib/Target/SparcV9/SparcV9FrameInfo.h:1.3 llvm/lib/Target/SparcV9/SparcV9FrameInfo.h:1.4
--- llvm/lib/Target/SparcV9/SparcV9FrameInfo.h:1.3	Fri Apr 23 13:15:47 2004
+++ llvm/lib/Target/SparcV9/SparcV9FrameInfo.h	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- SparcV9FrameInfo.h - Define TargetFrameInfo for SparcV9 -----*- C++ -*-===//
+//===-- SparcV9FrameInfo.h - Define TargetFrameInfo for SparcV9 -*- C++ -*-===//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/SparcV9Instr.def
diff -u llvm/lib/Target/SparcV9/SparcV9Instr.def:1.25 llvm/lib/Target/SparcV9/SparcV9Instr.def:1.26
--- llvm/lib/Target/SparcV9/SparcV9Instr.def:1.25	Mon Mar  1 09:05:17 2004
+++ llvm/lib/Target/SparcV9/SparcV9Instr.def	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- SparcInstr.def - Sparc Instruction Information -----------*- C++ -*-==//
+//===-- SparcV9Instr.def - SparcV9 Instruction Information -------*- C++ -*-==//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/SparcV9InstrInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9InstrInfo.cpp:1.62 llvm/lib/Target/SparcV9/SparcV9InstrInfo.cpp:1.63
--- llvm/lib/Target/SparcV9/SparcV9InstrInfo.cpp:1.62	Wed Apr  7 15:38:56 2004
+++ llvm/lib/Target/SparcV9/SparcV9InstrInfo.cpp	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- SparcV9InstrInfo.cpp ------------------------------------------------===//
+//===-- SparcV9InstrInfo.cpp - SparcV9 Instr. Selection Support Methods ---===//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -6,6 +6,10 @@
 // the University of Illinois Open Source License. See LICENSE.TXT for details.
 // 
 //===----------------------------------------------------------------------===//
+//
+// This file contains various methods of the class SparcV9InstrInfo, many of
+// which appear to build canned sequences of MachineInstrs, and are
+// used in instruction selection.
 //
 //===----------------------------------------------------------------------===//
 


Index: llvm/lib/Target/SparcV9/SparcV9InstrInfo.h
diff -u llvm/lib/Target/SparcV9/SparcV9InstrInfo.h:1.5 llvm/lib/Target/SparcV9/SparcV9InstrInfo.h:1.6
--- llvm/lib/Target/SparcV9/SparcV9InstrInfo.h:1.5	Sun Apr 25 01:32:16 2004
+++ llvm/lib/Target/SparcV9/SparcV9InstrInfo.h	Sun Apr 25 02:04:49 2004
@@ -8,7 +8,8 @@
 //===----------------------------------------------------------------------===//
 //
 // This class contains information about individual instructions.
-// Most information is stored in the SparcV9MachineInstrDesc array above.
+// Also see the SparcV9MachineInstrDesc array, which can be found in
+// SparcV9TargetMachine.cpp.
 // Other information is computed on demand, and most such functions
 // default to member functions in base class TargetInstrInfo. 
 //


Index: llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp:1.139 llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp:1.140
--- llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp:1.139	Wed Apr  7 15:55:32 2004
+++ llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- SparcV9InstrSelection.cpp -------------------------------------------===//
+//===-- SparcV9InstrSelection.cpp -----------------------------------------===//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h
diff -u llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h:1.15 llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h:1.16
--- llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h:1.15	Wed Apr  7 15:38:57 2004
+++ llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- llvm/CodeGen/SparcV9InstrSelectionSupport.h ---------------*- C++ -*-===//
+//===-- SparcV9InstrSelectionSupport.h --------------------------*- C++ -*-===//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,12 +7,12 @@
 // 
 //===----------------------------------------------------------------------===//
 //
-// TODO: Need a description here.
+// More instruction selection support routines for the SparcV9 target.
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef SPARC_INSTR_SELECTION_SUPPORT_h
-#define SPARC_INSTR_SELECTION_SUPPORT_h
+#ifndef SPARCV9INSTRSELECTIONSUPPORT_H
+#define SPARCV9INSTRSELECTIONSUPPORT_H
 
 #include "llvm/DerivedTypes.h"
 #include "SparcV9Internals.h"


Index: llvm/lib/Target/SparcV9/SparcV9Internals.h
diff -u llvm/lib/Target/SparcV9/SparcV9Internals.h:1.113 llvm/lib/Target/SparcV9/SparcV9Internals.h:1.114
--- llvm/lib/Target/SparcV9/SparcV9Internals.h:1.113	Fri Apr 23 13:15:47 2004
+++ llvm/lib/Target/SparcV9/SparcV9Internals.h	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- SparcV9Internals.h ----------------------------------------*- C++ -*-===//
+//===-- SparcV9Internals.h --------------------------------------*- C++ -*-===//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -12,8 +12,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef SPARC_INTERNALS_H
-#define SPARC_INTERNALS_H
+#ifndef SPARCV9INTERNALS_H
+#define SPARCV9INTERNALS_H
 
 #include "llvm/CodeGen/MachineInstrBuilder.h"
 #include "llvm/Target/TargetMachine.h"


Index: llvm/lib/Target/SparcV9/SparcV9JITInfo.h
diff -u llvm/lib/Target/SparcV9/SparcV9JITInfo.h:1.4 llvm/lib/Target/SparcV9/SparcV9JITInfo.h:1.5
--- llvm/lib/Target/SparcV9/SparcV9JITInfo.h:1.4	Wed Feb 25 12:44:15 2004
+++ llvm/lib/Target/SparcV9/SparcV9JITInfo.h	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===- SparcV9JITInfo.h - SparcV9 implementation of the JIT interface -*-C++-*-===//
+//===- SparcV9JITInfo.h - SparcV9 Target JIT interface ----------*- C++ -*-===//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,12 +7,14 @@
 // 
 //===----------------------------------------------------------------------===//
 //
-// This file contains the SparcV9 implementation of the TargetJITInfo class.
+// This file contains the SparcV9 implementation of the TargetJITInfo class,
+// which makes target-specific hooks available to the target-independent
+// LLVM JIT compiler.
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef SPARCJITINFO_H
-#define SPARCJITINFO_H
+#ifndef SPARCV9JITINFO_H
+#define SPARCV9JITINFO_H
 
 #include "llvm/Target/TargetJITInfo.h"
 


Index: llvm/lib/Target/SparcV9/SparcV9PeepholeOpts.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9PeepholeOpts.cpp:1.22 llvm/lib/Target/SparcV9/SparcV9PeepholeOpts.cpp:1.23
--- llvm/lib/Target/SparcV9/SparcV9PeepholeOpts.cpp:1.22	Wed Feb 25 12:44:15 2004
+++ llvm/lib/Target/SparcV9/SparcV9PeepholeOpts.cpp	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- PeepholeOpts.cpp --------------------------------------------------===//
+//===-- SparcV9PeepholeOpts.cpp -------------------------------------------===//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp:1.32 llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp:1.33
--- llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp:1.32	Wed Apr  7 13:31:47 2004
+++ llvm/lib/Target/SparcV9/SparcV9PreSelection.cpp	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===- PreSelection.cpp - Specialize LLVM code for target machine ---------===//
+//===- SparcV9PreSelection.cpp - Specialize LLVM code for SparcV9 ---------===//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,10 +7,10 @@
 // 
 //===----------------------------------------------------------------------===//
 //
-// This file defines the PreSelection pass which specializes LLVM code for a
-// target machine, while remaining in legal portable LLVM form and
-// preserving type information and type safety.  This is meant to enable
-// dataflow optimizations on target-specific operations such as accesses to
+// This file defines the PreSelection pass which specializes LLVM code for
+// the SparcV9 instruction selector, while remaining in legal portable LLVM
+// form and preserving type information and type safety. This is meant to enable
+// dataflow optimizations on SparcV9-specific operations such as accesses to
 // constants, globals, and array indexing.
 //
 //===----------------------------------------------------------------------===//
@@ -34,7 +34,7 @@
 namespace {
 
   //===--------------------------------------------------------------------===//
-  // PreSelection Pass - Specialize LLVM code for the current target machine.
+  // PreSelection Pass - Specialize LLVM code for the SparcV9 instr. selector.
   // 
   class PreSelection : public FunctionPass, public InstVisitor<PreSelection> {
     const TargetInstrInfo &instrInfo;


Index: llvm/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp:1.37 llvm/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp:1.38
--- llvm/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp:1.37	Wed Mar 31 14:58:37 2004
+++ llvm/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- PrologEpilogCodeInserter.cpp - Insert Prolog & Epilog code for fn -===//
+//===-- SparcV9PrologEpilogCodeInserter.cpp - Insert Fn Prolog & Epilog ---===//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/SparcV9RegClassInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9RegClassInfo.cpp:1.35 llvm/lib/Target/SparcV9/SparcV9RegClassInfo.cpp:1.36
--- llvm/lib/Target/SparcV9/SparcV9RegClassInfo.cpp:1.35	Wed Feb 25 12:44:15 2004
+++ llvm/lib/Target/SparcV9/SparcV9RegClassInfo.cpp	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- SparcV9RegClassInfo.cpp - Register class def'ns for SparcV9 -----------===//
+//===-- SparcV9RegClassInfo.cpp - Register class def'ns for SparcV9 -------===//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,7 +7,9 @@
 // 
 //===----------------------------------------------------------------------===//
 //
-//  This file defines the register classes used by the SparcV9 target description.
+// This file defines the methods used by the SparcV9 register allocator
+// to pick registers of various classes.  Most of this code should be
+// considered part of the register allocator.
 //
 //===----------------------------------------------------------------------===//
 


Index: llvm/lib/Target/SparcV9/SparcV9RegClassInfo.h
diff -u llvm/lib/Target/SparcV9/SparcV9RegClassInfo.h:1.26 llvm/lib/Target/SparcV9/SparcV9RegClassInfo.h:1.27
--- llvm/lib/Target/SparcV9/SparcV9RegClassInfo.h:1.26	Fri Apr 23 13:15:47 2004
+++ llvm/lib/Target/SparcV9/SparcV9RegClassInfo.h	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- SparcV9RegClassInfo.h - Register class def'ns for SparcV9 ---*- C++ -*-===//
+//===-- SparcV9RegClassInfo.h - Register class def'ns for SparcV9 -*- C++ -*-=//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,7 +7,10 @@
 // 
 //===----------------------------------------------------------------------===//
 //
-// This file defines the register classes used by the SparcV9 target description.
+// This file defines the register classes used by the SparcV9 target. It
+// implicitly defines (using enums) the "class register numbers" used in
+// the SparcV9 target, which are converted using a formula in the TargetRegInfo
+// class to "unified register numbers".
 //
 //===----------------------------------------------------------------------===//
 


Index: llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.125 llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.126
--- llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.125	Wed Apr 21 12:53:58 2004
+++ llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- SparcV9RegInfo.cpp - SparcV9 Target Register Information --------------===//
+//===-- SparcV9RegInfo.cpp - SparcV9 Target Register Information ----------===//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,7 +7,7 @@
 // 
 //===----------------------------------------------------------------------===//
 //
-// This file contains implementation of SparcV9 specific helper methods
+// This file contains implementations of SparcV9 specific helper methods
 // used for register allocation.
 //
 //===----------------------------------------------------------------------===//


Index: llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp:1.11 llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp:1.12
--- llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp:1.11	Sun Feb 29 02:40:02 2004
+++ llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- UltraSparcV9SchedInfo.cpp -------------------------------------------===//
+//===-- SparcV9SchedInfo.cpp ----------------------------------------------===//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,7 +7,7 @@
 // 
 //===----------------------------------------------------------------------===//
 //
-// Describe the scheduling characteristics of the UltraSparcV9
+// Describe the scheduling characteristics of the UltraSparc IIi.
 //
 //===----------------------------------------------------------------------===//
 


Index: llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp:1.10 llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp:1.11
--- llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp:1.10	Wed Feb 25 13:08:11 2004
+++ llvm/lib/Target/SparcV9/SparcV9StackSlots.cpp	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===- StackSlots.cpp  - Specialize LLVM code for target machine ----------===//
+//===- SparcV9StackSlots.cpp - Add empty stack slots to functions ---------===//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.109 llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.110
--- llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.109	Mon Apr 12 16:46:31 2004
+++ llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- SparcV9.cpp - General implementation file for the SparcV9 Target ------===//
+//===-- SparcV9TargetMachine.cpp - SparcV9 Target Machine Implementation --===//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/SparcV9TargetMachine.h
diff -u llvm/lib/Target/SparcV9/SparcV9TargetMachine.h:1.7 llvm/lib/Target/SparcV9/SparcV9TargetMachine.h:1.8
--- llvm/lib/Target/SparcV9/SparcV9TargetMachine.h:1.7	Sun Apr 25 01:32:28 2004
+++ llvm/lib/Target/SparcV9/SparcV9TargetMachine.h	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===-- SparcV9TargetMachine.h - Define TargetMachine for SparcV9 ---*- C++ -*-===//
+//===-- SparcV9TargetMachine.h - Define TargetMachine for SparcV9 -*- C++ -*-=//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,12 +7,12 @@
 // 
 //===----------------------------------------------------------------------===//
 // 
-// This file declares the top-level UltraSPARC target machine.
+// This file declares the top-level SparcV9 target machine.
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef SPARC_TARGETMACHINE_H
-#define SPARC_TARGETMACHINE_H
+#ifndef SPARCV9TARGETMACHINE_H
+#define SPARCV9TARGETMACHINE_H
 
 #include "llvm/Target/TargetFrameInfo.h"
 #include "llvm/Target/TargetMachine.h"


Index: llvm/lib/Target/SparcV9/SparcV9_F2.td
diff -u llvm/lib/Target/SparcV9/SparcV9_F2.td:1.9 llvm/lib/Target/SparcV9/SparcV9_F2.td:1.10
--- llvm/lib/Target/SparcV9/SparcV9_F2.td:1.9	Wed Feb 25 12:44:15 2004
+++ llvm/lib/Target/SparcV9/SparcV9_F2.td	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===- SparcV9_F2.td - Format 2 instructions: SparcV9 V9 Target -------------===//
+//===- SparcV9_F2.td - Format 2 instructions: SparcV9 Target --------------===//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/SparcV9_F3.td
diff -u llvm/lib/Target/SparcV9/SparcV9_F3.td:1.18 llvm/lib/Target/SparcV9/SparcV9_F3.td:1.19
--- llvm/lib/Target/SparcV9/SparcV9_F3.td:1.18	Wed Feb 25 12:44:15 2004
+++ llvm/lib/Target/SparcV9/SparcV9_F3.td	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===- SparcV9_F3.td - Format 3 Instructions: SparcV9 V9 Target -------------===//
+//===- SparcV9_F3.td - Format 3 Instructions: SparcV9 Target --------------===//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/SparcV9_F4.td
diff -u llvm/lib/Target/SparcV9/SparcV9_F4.td:1.11 llvm/lib/Target/SparcV9/SparcV9_F4.td:1.12
--- llvm/lib/Target/SparcV9/SparcV9_F4.td:1.11	Wed Feb 25 12:44:15 2004
+++ llvm/lib/Target/SparcV9/SparcV9_F4.td	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===- SparcV9_F4.td - Format 4 instructions: SparcV9 V9 Target -------------===//
+//===- SparcV9_F4.td - Format 4 instructions: SparcV9 Target --------------===//
 // 
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/SparcV9/SparcV9_Reg.td
diff -u llvm/lib/Target/SparcV9/SparcV9_Reg.td:1.8 llvm/lib/Target/SparcV9/SparcV9_Reg.td:1.9
--- llvm/lib/Target/SparcV9/SparcV9_Reg.td:1.8	Wed Feb 25 12:44:15 2004
+++ llvm/lib/Target/SparcV9/SparcV9_Reg.td	Sun Apr 25 02:04:49 2004
@@ -1,4 +1,4 @@
-//===- SparcV9_Reg.td - SparcV9 V9 Register definitions ---------------------===//
+//===- SparcV9_Reg.td - SparcV9 Register definitions ----------------------===//
 // 
 //                     The LLVM Compiler Infrastructure
 //





More information about the llvm-commits mailing list