Evan Cheng | a347f85 | 2011-06-24 01:44:41 +0000 | [diff] [blame^] | 1 | //===-- X86TargetDesc.cpp - X86 Target Descriptions -------------*- C++ -*-===// |
| 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 | // |
| 10 | // This file provides X86 specific target descriptions. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #include "X86TargetDesc.h" |
| 15 | #include "llvm/MC/MCRegisterInfo.h" |
| 16 | #include "X86GenRegisterDesc.inc" |
| 17 | using namespace llvm; |
| 18 | |
| 19 | MCRegisterInfo *createX86MCRegisterInfo() { |
| 20 | MCRegisterInfo *X = new MCRegisterInfo(); |
| 21 | InitX86MCRegisterInfo(X); |
| 22 | return X; |
| 23 | } |