1198090Srdivacky//===-- X86TargetInfo.cpp - X86 Target Implementation ---------------------===// 2198090Srdivacky// 3198090Srdivacky// The LLVM Compiler Infrastructure 4198090Srdivacky// 5198090Srdivacky// This file is distributed under the University of Illinois Open Source 6198090Srdivacky// License. See LICENSE.TXT for details. 7198090Srdivacky// 8198090Srdivacky//===----------------------------------------------------------------------===// 9198090Srdivacky 10198090Srdivacky#include "X86.h" 11249423Sdim#include "llvm/IR/Module.h" 12226633Sdim#include "llvm/Support/TargetRegistry.h" 13198090Srdivackyusing namespace llvm; 14198090Srdivacky 15198090SrdivackyTarget llvm::TheX86_32Target, llvm::TheX86_64Target; 16198090Srdivacky 17198090Srdivackyextern "C" void LLVMInitializeX86TargetInfo() { 18198090Srdivacky RegisterTarget<Triple::x86, /*HasJIT=*/true> 19198090Srdivacky X(TheX86_32Target, "x86", "32-bit X86: Pentium-Pro and above"); 20198090Srdivacky 21198090Srdivacky RegisterTarget<Triple::x86_64, /*HasJIT=*/true> 22198090Srdivacky Y(TheX86_64Target, "x86-64", "64-bit X86: EM64T and AMD64"); 23198090Srdivacky} 24