LLVM  7.0.0svn
Nios2MCTargetDesc.h
Go to the documentation of this file.
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 #include <memory>
18 
19 namespace llvm {
20 class MCAsmBackend;
21 class MCObjectWriter;
22 class MCRegisterInfo;
23 class MCTargetOptions;
24 class Target;
25 class Triple;
26 class StringRef;
27 class raw_pwrite_stream;
28 
29 Target &getTheNios2Target();
30 
31 MCAsmBackend *createNios2AsmBackend(const Target &T, const MCRegisterInfo &MRI,
32  const Triple &TT, StringRef CPU,
33  const MCTargetOptions &Options);
34 
35 std::unique_ptr<MCObjectWriter>
36 createNios2ELFObjectWriter(raw_pwrite_stream &OS, uint8_t OSABI);
37 
38 } // namespace llvm
39 
40 // Defines symbolic names for Nios2 registers. This defines a mapping from
41 // register name to register number.
42 #define GET_REGINFO_ENUM
43 #include "Nios2GenRegisterInfo.inc"
44 
45 // Defines symbolic names for the Nios2 instructions.
46 #define GET_INSTRINFO_ENUM
47 #include "Nios2GenInstrInfo.inc"
48 
49 #define GET_SUBTARGETINFO_ENUM
50 #include "Nios2GenSubtargetInfo.inc"
51 
52 #endif
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
Target & getTheNios2Target()
std::unique_ptr< MCObjectWriter > createNios2ELFObjectWriter(raw_pwrite_stream &OS, uint8_t OSABI)
unsigned const MachineRegisterInfo * MRI
MCAsmBackend * createNios2AsmBackend(const Target &T, const MCRegisterInfo &MRI, const Triple &TT, StringRef CPU, const MCTargetOptions &Options)