Rename Sparc.h to TargetMachineImpls.h. Add hook for X86 target
[oota-llvm.git] / include / llvm / Target / TargetMachineImpls.h
1 //===-- llvm/Target/TargetMachineImpls.h - Target Descriptions --*- C++ -*-===//
2 //
3 // This file defines the entry point to getting access to the various target
4 // machine implementations available to LLVM.
5 //
6 //===----------------------------------------------------------------------===//
7
8 #ifndef LLVM_TARGET_TARGETMACHINEIMPLS_H
9 #define LLVM_TARGET_TARGETMACHINEIMPLS_H
10
11 class TargetMachine;
12
13 // allocateSparcTargetMachine - Allocate and return a subclass of TargetMachine
14 // that implements the Sparc backend.
15 //
16 TargetMachine *allocateSparcTargetMachine();
17
18 // allocateX86TargetMachine - Allocate and return a subclass of TargetMachine
19 // that implements the X86 backend.
20 //
21 TargetMachine *allocateX86TargetMachine();
22
23 #endif