summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-11-13 00:17:20 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-11-13 00:17:20 +0000
commit167026f8c85ada956b63a4ddbd89b0d1ae543e17 (patch)
tree306c5de874fc3aac02e009834e15f8d5fcd74aec /llvm/lib/Target/Sparc
parentb26c6fa4eb7fbadc37e58e9ed88495ddf5de7595 (diff)
downloadbcm5719-llvm-167026f8c85ada956b63a4ddbd89b0d1ae543e17.tar.gz
bcm5719-llvm-167026f8c85ada956b63a4ddbd89b0d1ae543e17.zip
The functions to create new instances of passes are no longer methods in the
UltraSparc class. Comments are also doxygen-compatible now. llvm-svn: 9951
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r--llvm/lib/Target/Sparc/SparcInternals.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInternals.h b/llvm/lib/Target/Sparc/SparcInternals.h
index 5e5f155e399..e6926bbcd61 100644
--- a/llvm/lib/Target/Sparc/SparcInternals.h
+++ b/llvm/lib/Target/Sparc/SparcInternals.h
@@ -641,15 +641,28 @@ struct UltraSparcCacheInfo: public TargetCacheInfo {
/// createStackSlotsPass - External interface to stack-slots pass that enters 2
/// empty slots at the top of each function stack
+///
Pass *createStackSlotsPass(const TargetMachine &TM);
-// Interface to pre-selection pass that specializes LLVM code for a target
-// machine.
+/// Specializes LLVM code for a target machine.
+///
FunctionPass *createPreSelectionPass(const TargetMachine &TM);
-// External interface to peephole optimization pass operating on machine code.
+/// Peephole optimization pass operating on machine code
+///
FunctionPass *createPeepholeOptsPass(const TargetMachine &TM);
+/// Writes out assembly code for the module, one function at a time
+///
+FunctionPass *createAsmPrinterPass(std::ostream &Out, const TargetMachine &TM);
+
+/// getPrologEpilogInsertionPass - Inserts prolog/epilog code.
+///
+FunctionPass* createPrologEpilogInsertionPass();
+
+/// getBytecodeAsmPrinterPass - Emits final LLVM bytecode to assembly file.
+///
+Pass* createBytecodeAsmPrinterPass(std::ostream &Out);
//---------------------------------------------------------------------------
// class UltraSparc
@@ -681,18 +694,6 @@ public:
virtual bool addPassesToEmitMachineCode(FunctionPassManager &PM,
MachineCodeEmitter &MCE);
virtual void replaceMachineCodeForFunction(void *Old, void *New);
-
- // getPrologEpilogInsertionPass - Inserts prolog/epilog code.
- FunctionPass* getPrologEpilogInsertionPass();
-
- // getFunctionAsmPrinterPass - Writes out machine code for a single function
- Pass* getFunctionAsmPrinterPass(std::ostream &Out);
-
- // getModuleAsmPrinterPass - Writes generated machine code to assembly file.
- Pass* getModuleAsmPrinterPass(std::ostream &Out);
-
- // getBytecodeAsmPrinterPass - Emits final LLVM bytecode to assembly file.
- Pass* getBytecodeAsmPrinterPass(std::ostream &Out);
};
} // End llvm namespace
OpenPOWER on IntegriCloud