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