Home | History | Annotate | Download | only in MCTargetDesc
      1 //===-- HexagonMCTargetDesc.h - Hexagon 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 Hexagon specific target descriptions.
     11 //
     12 //===----------------------------------------------------------------------===//
     13 
     14 #ifndef HEXAGONMCTARGETDESC_H
     15 #define HEXAGONMCTARGETDESC_H
     16 
     17 namespace llvm {
     18 class MCSubtargetInfo;
     19 class Target;
     20 
     21 extern Target TheHexagonTarget;
     22 
     23 } // End llvm namespace
     24 
     25 // Define symbolic names for Hexagon registers.  This defines a mapping from
     26 // register name to register number.
     27 //
     28 #define GET_REGINFO_ENUM
     29 #include "HexagonGenRegisterInfo.inc"
     30 
     31 // Defines symbolic names for the Hexagon instructions.
     32 //
     33 #define GET_INSTRINFO_ENUM
     34 #include "HexagonGenInstrInfo.inc"
     35 
     36 #define GET_SUBTARGETINFO_ENUM
     37 #include "HexagonGenSubtargetInfo.inc"
     38 
     39 #endif
     40