xref: /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/R600MCTargetDesc.h (revision e32fecd0c2c3ee37c47ee100f169e7eb0282a873)
1 //===-- R600MCTargetDesc.h - R600 Target Descriptions -----*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 /// \file
10 /// Provides R600 specific target descriptions.
11 //
12 //===----------------------------------------------------------------------===//
13 //
14 
15 #ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_R600MCTARGETDESC_H
16 #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_R600MCTARGETDESC_H
17 
18 #include <cstdint>
19 
20 namespace llvm {
21 class MCCodeEmitter;
22 class MCContext;
23 class MCInstrInfo;
24 class MCRegisterInfo;
25 
26 MCCodeEmitter *createR600MCCodeEmitter(const MCInstrInfo &MCII,
27                                        MCContext &Ctx);
28 MCInstrInfo *createR600MCInstrInfo();
29 
30 } // namespace llvm
31 
32 #define GET_REGINFO_ENUM
33 #include "R600GenRegisterInfo.inc"
34 
35 #define GET_INSTRINFO_ENUM
36 #define GET_INSTRINFO_OPERAND_ENUM
37 #define GET_INSTRINFO_SCHED_ENUM
38 #define GET_INSTRINFO_MC_HELPER_DECLS
39 #include "R600GenInstrInfo.inc"
40 
41 #define GET_SUBTARGETINFO_ENUM
42 #include "R600GenSubtargetInfo.inc"
43 
44 #endif
45