aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-02-09 23:18:42 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-02-09 23:18:42 +0000
commit2647c3925b5344137c6f2373e9d5cd003cbd3a9b (patch)
treee8e5100f642c6fa4dd4f849098a2069221955681 /lib/Target/SparcV9/SparcV9TargetMachine.cpp
parent79caafeefe7606fd223bf7401ca72bc387bdfefc (diff)
downloadexternal_llvm-2647c3925b5344137c6f2373e9d5cd003cbd3a9b.zip
external_llvm-2647c3925b5344137c6f2373e9d5cd003cbd3a9b.tar.gz
external_llvm-2647c3925b5344137c6f2373e9d5cd003cbd3a9b.tar.bz2
Doxygenify comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11252 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/SparcV9TargetMachine.cpp')
-rw-r--r--lib/Target/SparcV9/SparcV9TargetMachine.cpp21
1 files changed, 9 insertions, 12 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
index f2ff6b0..2b4c3cb 100644
--- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp
+++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
@@ -120,9 +120,9 @@ SparcTargetMachine::SparcTargetMachine(IntrinsicLowering *il)
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 @@ SparcTargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out)
// 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 @@ SparcTargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out)
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 @@ void SparcJITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
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);