1 //===-- llvm/Target/TargetMachineImpls.h - Target Descriptions --*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
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.
8 //===----------------------------------------------------------------------===//
10 // This file defines the entry point to getting access to the various target
11 // machine implementations available to LLVM.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_TARGET_TARGETMACHINEIMPLS_H
16 #define LLVM_TARGET_TARGETMACHINEIMPLS_H
21 // allocateSparcTargetMachine - Allocate and return a subclass of TargetMachine
22 // that implements the Sparc backend.
24 TargetMachine *allocateSparcTargetMachine(const Module &M);
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.
31 TargetMachine *allocateX86TargetMachine(const Module &M);