Add comments describing how you would add prototypes for factory methods for

PowerPC-specific passes here.

llvm-svn: 11073
This commit is contained in:
Brian Gaeke 2004-02-02 19:05:28 +00:00
parent fea8eb8938
commit 2458bd6507
1 changed files with 15 additions and 0 deletions

View File

@ -15,6 +15,21 @@
#ifndef TARGET_POWERPC_H
#define TARGET_POWERPC_H
#include <iosfwd>
namespace llvm {
class FunctionPass;
class TargetMachine;
// Here is where you would define factory methods for powerpc-specific
// passes. For example:
// FunctionPass *createPowerPCSimpleInstructionSelector (TargetMachine &TM);
// FunctionPass *createPowerPCCodePrinterPass(std::ostream &OS,
// TargetMachine &TM);
} // end namespace llvm;
// Defines symbolic names for PowerPC registers. This defines a mapping from
// register name to register number.
//