aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-02-02 19:05:08 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-02-02 19:05:08 +0000
commit2d62c896a56d344fac4600918699d1a6208538d6 (patch)
tree7ddac493c174087686d09e27d11a2bd85a25ec04
parentaf70362e405d58afc7a69036ed93c421abf9e8e8 (diff)
Add prototype for llvm::allocatePowerPCTargetMachine().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11072 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetMachineImpls.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetMachineImpls.h b/include/llvm/Target/TargetMachineImpls.h
index 6ed4152767..66124b10b4 100644
--- a/include/llvm/Target/TargetMachineImpls.h
+++ b/include/llvm/Target/TargetMachineImpls.h
@@ -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