13#ifndef LLVM_LIB_TARGET_HEXAGON_MCTARGETDESC_HEXAGONMCTARGETDESC_H
14#define LLVM_LIB_TARGET_HEXAGON_MCTARGETDESC_HEXAGONMCTARGETDESC_H
20#define Hexagon_POINTER_SIZE 4
22#define Hexagon_PointerSize (Hexagon_POINTER_SIZE)
23#define Hexagon_PointerSize_Bits (Hexagon_POINTER_SIZE * 8)
24#define Hexagon_WordSize Hexagon_PointerSize
25#define Hexagon_WordSize_Bits Hexagon_PointerSize_Bits
29#define HEXAGON_LRFP_SIZE 8
32#define HEXAGON_INSTR_SIZE 4
35#define HEXAGON_PACKET_SIZE 4
36#define HEXAGON_MAX_PACKET_SIZE (HEXAGON_PACKET_SIZE * HEXAGON_INSTR_SIZE)
38#define HEXAGON_PACKET_INNER_SIZE 2
39#define HEXAGON_PACKET_OUTER_SIZE 3
42#define HEXAGON_PRESHUFFLE_PACKET_SIZE (HEXAGON_PACKET_SIZE + 3)
45#define HEXAGON_GOT_SYM_NAME "_GLOBAL_OFFSET_TABLE_"
55class MCObjectTargetWriter;
98std::unique_ptr<MCObjectTargetWriter>
109#define GET_REGINFO_ENUM
110#include "HexagonGenRegisterInfo.inc"
114#define GET_INSTRINFO_ENUM
115#define GET_INSTRINFO_SCHED_ENUM
116#define GET_INSTRINFO_MC_HELPER_DECLS
117#include "HexagonGenInstrInfo.inc"
119#define GET_SUBTARGETINFO_ENUM
120#include "HexagonGenSubtargetInfo.inc"
unsigned const MachineRegisterInfo * MRI
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Container class for subtarget features.
Generic interface to target specific assembler backends.
MCCodeEmitter - Generic instruction encoding interface.
Context object for machine code objects.
Interface to description of machine instruction set.
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...
Generic base class for all target subtargets.
StringRef - Represent a constant reference to a string, i.e.
Target - Wrapper for Target specific information.
Triple - Helper class for working with autoconf configuration names.
llvm::ArrayRef< MCPhysReg > GetVectRegRev()
unsigned getArchVersion(const FeatureBitset &Features)
unsigned GetELFFlags(const MCSubtargetInfo &STI)
std::optional< unsigned > getHVXVersion(const FeatureBitset &Features)
MCSubtargetInfo const * getArchSubtarget(MCSubtargetInfo const *STI)
StringRef selectHexagonCPU(StringRef CPU)
void addArchSubtarget(MCSubtargetInfo const *STI, StringRef FS)
FeatureBitset completeHVXFeatures(const FeatureBitset &FB)
MCSubtargetInfo * createHexagonMCSubtargetInfo(const Triple &TT, StringRef CPU, StringRef FS)
Create a Hexagon MCSubtargetInfo instance.
This is an optimization pass for GlobalISel generic memory operations.
unsigned HexagonConvertUnits(unsigned ItinUnits, unsigned *Lanes)
cl::opt< bool > HexagonDisableCompound
MCCodeEmitter * createHexagonMCCodeEmitter(const MCInstrInfo &MCII, MCContext &MCT)
MCRegisterInfo * createHexagonMCRegisterInfo(StringRef TT)
unsigned HexagonGetLastSlot()
std::unique_ptr< MCObjectTargetWriter > createHexagonELFObjectWriter(uint8_t OSABI, StringRef CPU)
MCAsmBackend * createHexagonAsmBackend(const Target &T, const MCSubtargetInfo &STI, const MCRegisterInfo &MRI, const MCTargetOptions &Options)
MCInstrInfo * createHexagonMCInstrInfo()
const InstrStage HexagonStages[]
cl::opt< bool > HexagonDisableDuplex