Added LLVM copyright header (for lack of a better term).
[oota-llvm.git] / include / llvm / Target / TargetMachineImpls.h
1 //===-- llvm/Target/TargetMachineImpls.h - Target Descriptions --*- C++ -*-===//
2 // 
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
7 // 
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines the entry point to getting access to the various target
11 // machine implementations available to LLVM.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #ifndef LLVM_TARGET_TARGETMACHINEIMPLS_H
16 #define LLVM_TARGET_TARGETMACHINEIMPLS_H
17
18 class TargetMachine;
19 class Module;
20
21 // allocateSparcTargetMachine - Allocate and return a subclass of TargetMachine
22 // that implements the Sparc backend.
23 //
24 TargetMachine *allocateSparcTargetMachine(const Module &M);
25
26 // allocateX86TargetMachine - Allocate and return a subclass of TargetMachine
27 // that implements the X86 backend.  The X86 target machine can run in
28 // "emulation" mode, where it is capable of emulating machines of larger pointer
29 // size and different endianness if desired.
30 //
31 TargetMachine *allocateX86TargetMachine(const Module &M);
32
33 #endif