1 //===-- Nios2MCTargetDesc.h - Nios2 Target Descriptions ---------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file provides Nios2 specific target descriptions.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_NIOS2_MCTARGETDESC_NIOS2MCTARGETDESC_H
15 #define LLVM_LIB_TARGET_NIOS2_MCTARGETDESC_NIOS2MCTARGETDESC_H
21 Target &getTheNios2Target();
25 // Defines symbolic names for Nios2 registers. This defines a mapping from
26 // register name to register number.
27 #define GET_REGINFO_ENUM
28 #include "Nios2GenRegisterInfo.inc"
30 // Defines symbolic names for the Nios2 instructions.
31 #define GET_INSTRINFO_ENUM
32 #include "Nios2GenInstrInfo.inc"