2002-10-29 20:51:29 +00:00
|
|
|
//===-- llvm/Target/TargetMachineImpls.h - Target Descriptions --*- C++ -*-===//
|
2003-10-20 20:19:47 +00:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file was developed by the LLVM research group and is distributed under
|
|
|
|
// the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
2001-09-14 03:37:52 +00:00
|
|
|
//
|
2002-10-29 20:51:29 +00:00
|
|
|
// This file defines the entry point to getting access to the various target
|
|
|
|
// machine implementations available to LLVM.
|
2001-09-14 03:37:52 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
2001-07-21 12:39:03 +00:00
|
|
|
|
2002-10-29 20:51:29 +00:00
|
|
|
#ifndef LLVM_TARGET_TARGETMACHINEIMPLS_H
|
|
|
|
#define LLVM_TARGET_TARGETMACHINEIMPLS_H
|
2001-07-21 12:39:03 +00:00
|
|
|
|
2003-11-11 22:41:34 +00:00
|
|
|
namespace llvm {
|
|
|
|
|
2003-12-28 09:48:17 +00:00
|
|
|
class TargetMachine;
|
|
|
|
class Module;
|
|
|
|
class IntrinsicLowering;
|
|
|
|
|
|
|
|
// allocateSparcTargetMachine - Allocate and return a subclass of
|
|
|
|
// TargetMachine that implements the Sparc backend. This takes ownership of
|
|
|
|
// the IntrinsicLowering pointer, deleting it when the target machine is
|
|
|
|
// destroyed.
|
|
|
|
//
|
|
|
|
TargetMachine *allocateSparcTargetMachine(const Module &M,
|
|
|
|
IntrinsicLowering *IL = 0);
|
|
|
|
|
|
|
|
// allocateX86TargetMachine - Allocate and return a subclass of TargetMachine
|
|
|
|
// that implements the X86 backend. This takes ownership of the
|
|
|
|
// IntrinsicLowering pointer, deleting it when the target machine is
|
|
|
|
// destroyed.
|
|
|
|
//
|
|
|
|
TargetMachine *allocateX86TargetMachine(const Module &M,
|
|
|
|
IntrinsicLowering *IL = 0);
|
2004-02-02 19:05:08 +00:00
|
|
|
|
|
|
|
// 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);
|
2003-11-11 22:41:34 +00:00
|
|
|
} // End llvm namespace
|
|
|
|
|
2001-07-21 12:39:03 +00:00
|
|
|
#endif
|