llvm-6502/lib/Target/X86/MCTargetDesc/X86TargetDesc.h
2011-06-28 20:07:07 +00:00

35 lines
934 B
C++

//===-- X86TargetDesc.h - 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.
//
//===----------------------------------------------------------------------===//
#ifndef X86TARGETDESC_H
#define X86TARGETDESC_H
namespace llvm {
class Target;
extern Target TheX86_32Target, TheX86_64Target;
} // End llvm namespace
// Defines symbolic names for X86 registers. This defines a mapping from
// register name to register number.
//
#define GET_REGINFO_ENUM
#include "X86GenRegisterInfo.inc"
// Defines symbolic names for the X86 instructions.
//
#define GET_INSTRINFO_ENUM
#include "X86GenInstrInfo.inc"
#endif