]> git.proxmox.com Git - rustc.git/blame - src/llvm/lib/Target/X86/TargetInfo/X86TargetInfo.cpp
Imported Upstream version 1.0.0+dfsg1
[rustc.git] / src / llvm / lib / Target / X86 / TargetInfo / X86TargetInfo.cpp
CommitLineData
223e47cc
LB
1//===-- X86TargetInfo.cpp - X86 Target Implementation ---------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
1a4d82fc 10#include "MCTargetDesc/X86MCTargetDesc.h"
223e47cc
LB
11#include "llvm/Support/TargetRegistry.h"
12using namespace llvm;
13
14Target llvm::TheX86_32Target, llvm::TheX86_64Target;
15
85aaf69f 16extern "C" void LLVMInitializeX86TargetInfo() {
223e47cc
LB
17 RegisterTarget<Triple::x86, /*HasJIT=*/true>
18 X(TheX86_32Target, "x86", "32-bit X86: Pentium-Pro and above");
19
20 RegisterTarget<Triple::x86_64, /*HasJIT=*/true>
21 Y(TheX86_64Target, "x86-64", "64-bit X86: EM64T and AMD64");
22}