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_" 49 struct InstrItinerary;
56 class MCObjectTargetWriter;
58 class MCSubtargetInfo;
59 class MCTargetOptions;
64 class raw_pwrite_stream;
73 namespace Hexagon_MC {
93 std::unique_ptr<MCObjectTargetWriter>
103 #define GET_REGINFO_ENUM 104 #include "HexagonGenRegisterInfo.inc" 108 #define GET_INSTRINFO_ENUM 109 #define GET_INSTRINFO_SCHED_ENUM 110 #include "HexagonGenInstrInfo.inc" 112 #define GET_SUBTARGETINFO_ENUM 113 #include "HexagonGenSubtargetInfo.inc" 115 #endif // LLVM_LIB_TARGET_HEXAGON_MCTARGETDESC_HEXAGONMCTARGETDESC_H This class represents lattice values for constants.
unsigned HexagonGetLastSlot()
MCCodeEmitter * createHexagonMCCodeEmitter(const MCInstrInfo &MCII, const MCRegisterInfo &MRI, MCContext &MCT)
MCAsmBackend * createHexagonAsmBackend(const Target &T, const MCSubtargetInfo &STI, const MCRegisterInfo &MRI, const MCTargetOptions &Options)
Context object for machine code objects.
MCInstrInfo * createHexagonMCInstrInfo()
StringRef selectHexagonCPU(StringRef CPU)
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...
unsigned const MachineRegisterInfo * MRI
Container class for subtarget features.
FeatureBitset completeHVXFeatures(const FeatureBitset &FB)
MCCodeEmitter - Generic instruction encoding interface.
Interface to description of machine instruction set.
cl::opt< bool > HexagonDisableCompound
MCSubtargetInfo * createHexagonMCSubtargetInfo(const Triple &TT, StringRef CPU, StringRef FS)
Create a Hexagon MCSubtargetInfo instance.
unsigned GetELFFlags(const MCSubtargetInfo &STI)
Triple - Helper class for working with autoconf configuration names.
std::unique_ptr< MCObjectTargetWriter > createHexagonELFObjectWriter(uint8_t OSABI, StringRef CPU)
Target - Wrapper for Target specific information.
Generic base class for all target subtargets.
const InstrStage HexagonStages[]
Generic interface to target specific assembler backends.
StringRef - Represent a constant reference to a string, i.e.
MCRegisterInfo * createHexagonMCRegisterInfo(StringRef TT)
cl::opt< bool > HexagonDisableDuplex