Add prototype for llvm::allocatePowerPCTargetMachine().
authorBrian Gaeke <gaeke@uiuc.edu>
Mon, 2 Feb 2004 19:05:08 +0000 (19:05 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Mon, 2 Feb 2004 19:05:08 +0000 (19:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11072 91177308-0d34-0410-b5e6-96231b3b80d8

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