LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AMDGPUMCTargetDesc.h
Go to the documentation of this file.
1 //===-- AMDGPUMCTargetDesc.h - AMDGPU 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 /// \file
11 /// \brief Provides AMDGPU specific target descriptions.
12 //
13 //===----------------------------------------------------------------------===//
14 //
15 
16 #ifndef AMDGPUMCTARGETDESC_H
17 #define AMDGPUMCTARGETDESC_H
18 
19 #include "llvm/ADT/StringRef.h"
20 
21 namespace llvm {
22 class MCAsmBackend;
23 class MCCodeEmitter;
24 class MCContext;
25 class MCInstrInfo;
26 class MCObjectWriter;
27 class MCRegisterInfo;
28 class MCSubtargetInfo;
29 class Target;
31 
32 extern Target TheAMDGPUTarget;
33 
35  const MCRegisterInfo &MRI,
36  const MCSubtargetInfo &STI);
37 
39  const MCRegisterInfo &MRI,
40  const MCSubtargetInfo &STI,
41  MCContext &Ctx);
42 
44  StringRef TT, StringRef CPU);
45 
47 } // End llvm namespace
48 
49 #define GET_REGINFO_ENUM
50 #include "AMDGPUGenRegisterInfo.inc"
51 
52 #define GET_INSTRINFO_ENUM
53 #include "AMDGPUGenInstrInfo.inc"
54 
55 #define GET_SUBTARGETINFO_ENUM
56 #include "AMDGPUGenSubtargetInfo.inc"
57 
58 #endif // AMDGPUMCTARGETDESC_H
MCCodeEmitter * createR600MCCodeEmitter(const MCInstrInfo &MCII, const MCRegisterInfo &MRI, const MCSubtargetInfo &STI)
Target TheAMDGPUTarget
The target for the AMDGPU backend.
MCObjectWriter * createAMDGPUELFObjectWriter(raw_ostream &OS)
MCCodeEmitter - Generic instruction encoding interface.
Definition: MCCodeEmitter.h:22
MCCodeEmitter * createSIMCCodeEmitter(const MCInstrInfo &MCII, const MCRegisterInfo &MRI, const MCSubtargetInfo &STI, MCContext &Ctx)
MCAsmBackend - Generic interface to target specific assembler backends.
Definition: MCAsmBackend.h:34
const MCRegisterInfo & MRI
MCAsmBackend * createAMDGPUAsmBackend(const Target &T, const MCRegisterInfo &MRI, StringRef TT, StringRef CPU)