LLVM 24.0.0git
PISAMCTargetDesc.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
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/// This file declares the PISA MC target descriptions.
11///
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_PISA_MCTARGETDESC_PISAMCTARGETDESC_H
15#define LLVM_LIB_TARGET_PISA_MCTARGETDESC_PISAMCTARGETDESC_H
16
17#include "llvm/MC/MCInstrDesc.h"
19#include <memory>
20
21namespace llvm {
22class MCInstrInfo;
23class MCRegisterInfo;
24class MCSubtargetInfo;
25class Target;
26} // namespace llvm
27
28// Defines symbolic names for PISA registers. This defines a mapping from
29// register name to register number.
30#define GET_REGINFO_ENUM
31#include "PISAGenRegisterInfo.inc"
32
33// Defines symbolic names for the PISA instructions.
34#define GET_INSTRINFO_ENUM
35#define GET_INSTRINFO_MC_HELPER_DECLS
36#include "PISAGenInstrInfo.inc"
37
38#define GET_SUBTARGETINFO_ENUM
39#include "PISAGenSubtargetInfo.inc"
40
41#endif // LLVM_LIB_TARGET_PISA_MCTARGETDESC_PISAMCTARGETDESC_H
Interface to description of machine instruction set.
Definition MCInstrInfo.h:27
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...
Generic base class for all target subtargets.
Target - Wrapper for Target specific information.
This is an optimization pass for GlobalISel generic memory operations.