summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
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
commit7f7a842bd61d83e03a98ab703055f804814ae12a (patch)
tree8c01989c49f1f5d140ad52881e8c03d2d06b4adc /llvm/lib/Target/Sparc
parenta52b206d9122706340ddf027b974a9b22207caae (diff)
downloadbcm5719-llvm-7f7a842bd61d83e03a98ab703055f804814ae12a.tar.gz
bcm5719-llvm-7f7a842bd61d83e03a98ab703055f804814ae12a.zip
Doxygenify comments.
llvm-svn: 11252
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r--llvm/lib/Target/Sparc/Sparc.cpp21
1 files changed, 9 insertions, 12 deletions
diff --git a/llvm/lib/Target/Sparc/Sparc.cpp b/llvm/lib/Target/Sparc/Sparc.cpp
index f2ff6b062ee..2b4c3cb1801 100644
--- a/llvm/lib/Target/Sparc/Sparc.cpp
+++ b/llvm/lib/Target/Sparc/Sparc.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);
OpenPOWER on IntegriCloud