2013-05-07 00:15:19 +08:00
|
|
|
//===-- SystemZ.td - Describe the SystemZ target machine -----*- tblgen -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Target-independent interfaces which we are implementing
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
include "llvm/Target/Target.td"
|
|
|
|
|
2016-10-20 16:27:16 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
2016-10-31 22:33:29 +08:00
|
|
|
// SystemZ subtarget features
|
2016-10-20 16:27:16 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
2016-10-31 22:33:29 +08:00
|
|
|
|
|
|
|
include "SystemZFeatures.td"
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// SystemZ subtarget scheduling models
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2016-10-20 16:27:16 +08:00
|
|
|
include "SystemZSchedule.td"
|
|
|
|
|
2013-05-07 00:15:19 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
2016-10-31 22:33:29 +08:00
|
|
|
// SystemZ supported processors
|
2013-05-07 00:15:19 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2013-07-20 00:09:03 +08:00
|
|
|
include "SystemZProcessors.td"
|
2013-05-07 00:15:19 +08:00
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Register file description
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
include "SystemZRegisterInfo.td"
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Calling convention description
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
include "SystemZCallingConv.td"
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Instruction descriptions
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
include "SystemZOperators.td"
|
|
|
|
include "SystemZOperands.td"
|
|
|
|
include "SystemZPatterns.td"
|
|
|
|
include "SystemZInstrFormats.td"
|
|
|
|
include "SystemZInstrInfo.td"
|
2015-05-06 03:23:40 +08:00
|
|
|
include "SystemZInstrVector.td"
|
2015-05-06 03:28:34 +08:00
|
|
|
include "SystemZInstrFP.td"
|
2017-05-30 18:13:23 +08:00
|
|
|
include "SystemZInstrHFP.td"
|
2017-05-30 18:15:16 +08:00
|
|
|
include "SystemZInstrDFP.td"
|
2017-07-01 04:43:40 +08:00
|
|
|
include "SystemZInstrSystem.td"
|
2013-05-07 00:15:19 +08:00
|
|
|
|
|
|
|
def SystemZInstrInfo : InstrInfo {}
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Assembly parser
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
def SystemZAsmParser : AsmParser {
|
|
|
|
let ShouldEmitMatchRegisterName = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Top-level target declaration
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
def SystemZ : Target {
|
|
|
|
let InstructionSet = SystemZInstrInfo;
|
|
|
|
let AssemblyParsers = [SystemZAsmParser];
|
|
|
|
}
|