Add comments describing how you would add prototypes for factory methods for
authorBrian Gaeke <gaeke@uiuc.edu>
Mon, 2 Feb 2004 19:05:28 +0000 (19:05 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Mon, 2 Feb 2004 19:05:28 +0000 (19:05 +0000)
PowerPC-specific passes here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11073 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PowerPC.h

index 8ce3dbd83fec2ecff44f864fb5213b65fa3d8835..0142dad12b9d22497123b7122f8115593d000c6c 100644 (file)
 #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.
 //