aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-02-02 19:05:28 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-02-02 19:05:28 +0000
commitb77232d1fc2796a5917f4044dfe82162e32cc0a7 (patch)
treed65faf4b07ab95c4e341374f805fe1dd8da56a05
parent2d62c896a56d344fac4600918699d1a6208538d6 (diff)
Add comments describing how you would add prototypes for factory methods for
PowerPC-specific passes here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11073 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PowerPC/PowerPC.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PowerPC.h b/lib/Target/PowerPC/PowerPC.h
index 8ce3dbd83f..0142dad12b 100644
--- a/lib/Target/PowerPC/PowerPC.h
+++ b/lib/Target/PowerPC/PowerPC.h
@@ -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.
//