Doxygenify comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11252 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2004-02-09 23:18:42 +00:00
parent 79caafeefe
commit 2647c3925b

View File

@ -120,9 +120,9 @@ SparcTargetMachine::SparcTargetMachine(IntrinsicLowering *il)
jitInfo(*this) { jitInfo(*this) {
} }
// addPassesToEmitAssembly - This method controls the entire code generation /// addPassesToEmitAssembly - This method controls the entire code generation
// process for the ultra sparc. /// process for the ultra sparc.
// ///
bool bool
SparcTargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out) 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, // 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 // allowing machine code representations for functions to be free'd after the
// function has been emitted. // function has been emitted.
//
PM.add(createAsmPrinterPass(Out, *this)); PM.add(createAsmPrinterPass(Out, *this));
PM.add(createSparcMachineCodeDestructionPass()); // Free mem no longer needed PM.add(createSparcMachineCodeDestructionPass()); // Free mem no longer needed
@ -187,9 +186,9 @@ SparcTargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out)
return false; return false;
} }
// addPassesToJITCompile - This method controls the JIT method of code /// addPassesToJITCompile - This method controls the JIT method of code
// generation for the UltraSparc. /// generation for the UltraSparc.
// ///
void SparcJITInfo::addPassesToJITCompile(FunctionPassManager &PM) { void SparcJITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
const TargetData &TD = TM.getTargetData(); const TargetData &TD = TM.getTargetData();
@ -230,11 +229,9 @@ void SparcJITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
PM.add(createPeepholeOptsPass(TM)); PM.add(createPeepholeOptsPass(TM));
} }
//---------------------------------------------------------------------------- /// allocateSparcTargetMachine - Allocate and return a subclass of TargetMachine
// allocateSparcTargetMachine - Allocate and return a subclass of TargetMachine /// that implements the Sparc backend. (the llvm/CodeGen/Sparc.h interface)
// that implements the Sparc backend. (the llvm/CodeGen/Sparc.h interface) ///
//----------------------------------------------------------------------------
TargetMachine *llvm::allocateSparcTargetMachine(const Module &M, TargetMachine *llvm::allocateSparcTargetMachine(const Module &M,
IntrinsicLowering *IL) { IntrinsicLowering *IL) {
return new SparcTargetMachine(IL); return new SparcTargetMachine(IL);