diff options
author | Tony Linthicum <tlinth@codeaurora.org> | 2011-12-15 22:29:08 +0000 |
---|---|---|
committer | Tony Linthicum <tlinth@codeaurora.org> | 2011-12-15 22:29:08 +0000 |
commit | d239ff67f210094c205be7e57332948caecf6a24 (patch) | |
tree | 64947b11bba2720be4b3ce07e7d96158ae73fbfb /lib/Target/Hexagon/Hexagon.h | |
parent | 60d99a5278e4a0e7116a05c01cececb07ca1362a (diff) | |
download | llvm-d239ff67f210094c205be7e57332948caecf6a24.tar.gz llvm-d239ff67f210094c205be7e57332948caecf6a24.tar.bz2 llvm-d239ff67f210094c205be7e57332948caecf6a24.tar.xz |
Add MCTargetDesc library to Hexagon target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon/Hexagon.h')
-rw-r--r-- | lib/Target/Hexagon/Hexagon.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/Target/Hexagon/Hexagon.h b/lib/Target/Hexagon/Hexagon.h index ced3e9f846..a5f227931e 100644 --- a/lib/Target/Hexagon/Hexagon.h +++ b/lib/Target/Hexagon/Hexagon.h @@ -16,6 +16,7 @@ #define TARGET_Hexagon_H #include <cassert> +#include "MCTargetDesc/HexagonMCTargetDesc.h" #include "llvm/Target/TargetLowering.h" namespace llvm { @@ -37,23 +38,8 @@ namespace llvm { FunctionPass *createHexagonOptimizeSZExtends(); FunctionPass *createHexagonFixupHwLoops(); - extern Target TheHexagonTarget; - } // end namespace llvm; -// Defines symbolic names for Hexagon instructions and registers. -// This defines a mapping from register name to register number. -// - -#define GET_REGINFO_ENUM -#include "HexagonGenRegisterInfo.inc" - -#define GET_INSTRINFO_ENUM -#include "HexagonGenInstrInfo.inc" - -#define GET_SUBTARGETINFO_ENUM -#include "HexagonGenSubtargetInfo.inc" - #define Hexagon_POINTER_SIZE 4 #define Hexagon_PointerSize (Hexagon_POINTER_SIZE) |