aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/TargetDesc/X86TargetDesc.cpp
blob: cf03d48f3c433caa4f0facbc516e55743269248a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//===-- X86TargetDesc.cpp - X86 Target Descriptions -------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file provides X86 specific target descriptions.
//
//===----------------------------------------------------------------------===//

#include "X86TargetDesc.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "X86GenRegisterDesc.inc"
using namespace llvm;

MCRegisterInfo *createX86MCRegisterInfo() {
  MCRegisterInfo *X = new MCRegisterInfo();
  InitX86MCRegisterInfo(X);
  return X;
}