1 //===-- SystemZMCTargetDesc.h - SystemZ target descriptions -----*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef SYSTEMZMCTARGETDESC_H
11 #define SYSTEMZMCTARGETDESC_H
13 #include "llvm/Support/DataTypes.h"
23 class MCSubtargetInfo;
28 extern Target TheSystemZTarget;
31 // How many bytes are in the ABI-defined, caller-allocated part of
33 const int64_t CallFrameSize = 160;
35 // The offset of the DWARF CFA from the incoming stack pointer.
36 const int64_t CFAOffsetFromInitialSP = CallFrameSize;
39 MCCodeEmitter *createSystemZMCCodeEmitter(const MCInstrInfo &MCII,
40 const MCRegisterInfo &MRI,
41 const MCSubtargetInfo &STI,
44 MCAsmBackend *createSystemZMCAsmBackend(const Target &T, StringRef TT,
47 MCObjectWriter *createSystemZObjectWriter(raw_ostream &OS, uint8_t OSABI);
48 } // end namespace llvm
50 // Defines symbolic names for SystemZ registers.
51 // This defines a mapping from register name to register number.
52 #define GET_REGINFO_ENUM
53 #include "SystemZGenRegisterInfo.inc"
55 // Defines symbolic names for the SystemZ instructions.
56 #define GET_INSTRINFO_ENUM
57 #include "SystemZGenInstrInfo.inc"
59 #define GET_SUBTARGETINFO_ENUM
60 #include "SystemZGenSubtargetInfo.inc"