Add prototype for llvm::allocatePowerPCTargetMachine().
[oota-llvm.git] / include / llvm / Target / TargetMachineImpls.h
index 6ed4152767e7bf3ea9f9630d5bc4b286c1a27a35..66124b10b483609480456d5e770504253ddcf3bc 100644 (file)
@@ -36,6 +36,14 @@ namespace llvm {
   //
   TargetMachine *allocateX86TargetMachine(const Module &M,
                                           IntrinsicLowering *IL = 0);
+
+  // allocatePowerPCTargetMachine - Allocate and return a subclass
+  // of TargetMachine that implements the PowerPC backend.  This takes
+  // ownership of the IntrinsicLowering pointer, deleting it when
+  // the target machine is destroyed.
+  //
+  TargetMachine *allocatePowerPCTargetMachine(const Module &M,
+                                              IntrinsicLowering *IL = 0);
 } // End llvm namespace
 
 #endif