LLVM  7.0.0svn
LanaiMCTargetDesc.h
Go to the documentation of this file.
1 //===-- LanaiMCTargetDesc.h - Lanai 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 Lanai specific target descriptions.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIMCTARGETDESC_H
15 #define LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIMCTARGETDESC_H
16 
17 #include "llvm/MC/MCRegisterInfo.h"
19 #include "llvm/Support/DataTypes.h"
20 
21 namespace llvm {
22 class MCAsmBackend;
23 class MCCodeEmitter;
24 class MCContext;
25 class MCInstrInfo;
26 class MCInstrAnalysis;
27 class MCObjectTargetWriter;
28 class MCRelocationInfo;
29 class MCSubtargetInfo;
30 class Target;
31 class Triple;
32 class StringRef;
33 class raw_pwrite_stream;
34 
35 Target &getTheLanaiTarget();
36 
37 MCCodeEmitter *createLanaiMCCodeEmitter(const MCInstrInfo &MCII,
38  const MCRegisterInfo &MRI,
39  MCContext &Ctx);
40 
41 MCAsmBackend *createLanaiAsmBackend(const Target &T, const MCSubtargetInfo &STI,
42  const MCRegisterInfo &MRI,
43  const MCTargetOptions &Options);
44 
45 std::unique_ptr<MCObjectTargetWriter> createLanaiELFObjectWriter(uint8_t OSABI);
46 } // namespace llvm
47 
48 // Defines symbolic names for Lanai registers. This defines a mapping from
49 // register name to register number.
50 #define GET_REGINFO_ENUM
51 #include "LanaiGenRegisterInfo.inc"
52 
53 // Defines symbolic names for the Lanai instructions.
54 #define GET_INSTRINFO_ENUM
55 #include "LanaiGenInstrInfo.inc"
56 
57 #define GET_SUBTARGETINFO_ENUM
58 #include "LanaiGenSubtargetInfo.inc"
59 
60 #endif // LLVM_LIB_TARGET_LANAI_MCTARGETDESC_LANAIMCTARGETDESC_H
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
Target & getTheLanaiTarget()
MCCodeEmitter * createLanaiMCCodeEmitter(const MCInstrInfo &MCII, const MCRegisterInfo &MRI, MCContext &Ctx)
unsigned const MachineRegisterInfo * MRI
std::unique_ptr< MCObjectTargetWriter > createLanaiELFObjectWriter(uint8_t OSABI)
MCAsmBackend * createLanaiAsmBackend(const Target &T, const MCSubtargetInfo &STI, const MCRegisterInfo &MRI, const MCTargetOptions &Options)