[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcTargetMachine.cpp

Misha Brukman brukman at cs.uiuc.edu
Mon Feb 9 17:19:01 PST 2004


Changes in directory llvm/lib/Target/Sparc:

SparcTargetMachine.cpp updated: 1.98 -> 1.99

---
Log message:

Doxygenify comments.


---
Diffs of the changes:  (+9 -12)

Index: llvm/lib/Target/Sparc/SparcTargetMachine.cpp
diff -u llvm/lib/Target/Sparc/SparcTargetMachine.cpp:1.98 llvm/lib/Target/Sparc/SparcTargetMachine.cpp:1.99
--- llvm/lib/Target/Sparc/SparcTargetMachine.cpp:1.98	Tue Jan 13 13:26:21 2004
+++ llvm/lib/Target/Sparc/SparcTargetMachine.cpp	Mon Feb  9 17:18:42 2004
@@ -120,9 +120,9 @@
     jitInfo(*this) {
 }
 
-// addPassesToEmitAssembly - This method controls the entire code generation
-// process for the ultra sparc.
-//
+/// addPassesToEmitAssembly - This method controls the entire code generation
+/// process for the ultra sparc.
+///
 bool
 SparcTargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out)
 {
@@ -176,7 +176,6 @@
   // function output is pipelined with all of the rest of code generation stuff,
   // allowing machine code representations for functions to be free'd after the
   // function has been emitted.
-  //
   PM.add(createAsmPrinterPass(Out, *this));
   PM.add(createSparcMachineCodeDestructionPass()); // Free mem no longer needed
 
@@ -187,9 +186,9 @@
   return false;
 }
 
-// addPassesToJITCompile - This method controls the JIT method of code
-// generation for the UltraSparc.
-//
+/// addPassesToJITCompile - This method controls the JIT method of code
+/// generation for the UltraSparc.
+///
 void SparcJITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
   const TargetData &TD = TM.getTargetData();
 
@@ -230,11 +229,9 @@
     PM.add(createPeepholeOptsPass(TM));
 }
 
-//----------------------------------------------------------------------------
-// allocateSparcTargetMachine - Allocate and return a subclass of TargetMachine
-// that implements the Sparc backend. (the llvm/CodeGen/Sparc.h interface)
-//----------------------------------------------------------------------------
-
+/// allocateSparcTargetMachine - Allocate and return a subclass of TargetMachine
+/// that implements the Sparc backend. (the llvm/CodeGen/Sparc.h interface)
+///
 TargetMachine *llvm::allocateSparcTargetMachine(const Module &M,
                                                 IntrinsicLowering *IL) {
   return new SparcTargetMachine(IL);





More information about the llvm-commits mailing list