]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/Nios2/MCTargetDesc/Nios2MCTargetDesc.h
Merge llvm, clang, lld, lldb, compiler-rt and libc++ r304149, and update
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / Nios2 / MCTargetDesc / Nios2MCTargetDesc.h
1 //===-- Nios2MCTargetDesc.h - Nios2 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 Nios2 specific target descriptions.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_LIB_TARGET_NIOS2_MCTARGETDESC_NIOS2MCTARGETDESC_H
15 #define LLVM_LIB_TARGET_NIOS2_MCTARGETDESC_NIOS2MCTARGETDESC_H
16
17 namespace llvm {
18 class Target;
19 class Triple;
20
21 Target &getTheNios2Target();
22
23 } // namespace llvm
24
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"
29
30 // Defines symbolic names for the Nios2 instructions.
31 #define GET_INSTRINFO_ENUM
32 #include "Nios2GenInstrInfo.inc"
33
34 #endif