2016-01-26 12:49:22 +08:00
|
|
|
//===-- AMDGPU.td - AMDGPU Tablegen files --------*- tablegen -*-===//
|
2012-12-12 05:25:42 +08:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
2016-01-26 12:49:22 +08:00
|
|
|
//===------------------------------------------------------------===//
|
2012-12-12 05:25:42 +08:00
|
|
|
|
2014-06-14 00:38:59 +08:00
|
|
|
include "llvm/Target/Target.td"
|
2012-12-12 05:25:42 +08:00
|
|
|
|
2016-01-26 12:49:22 +08:00
|
|
|
//===------------------------------------------------------------===//
|
|
|
|
// Subtarget Features (device properties)
|
|
|
|
//===------------------------------------------------------------===//
|
2013-11-19 03:43:33 +08:00
|
|
|
|
2014-06-20 14:50:05 +08:00
|
|
|
def FeatureFP64 : SubtargetFeature<"fp64",
|
2016-01-26 12:49:22 +08:00
|
|
|
"FP64",
|
|
|
|
"true",
|
|
|
|
"Enable double precision operations"
|
|
|
|
>;
|
2014-07-15 07:40:49 +08:00
|
|
|
|
2015-01-30 03:34:25 +08:00
|
|
|
def FeatureFastFMAF32 : SubtargetFeature<"fast-fmaf",
|
2016-01-26 12:49:22 +08:00
|
|
|
"FastFMAF32",
|
|
|
|
"true",
|
|
|
|
"Assuming f32 fma is at least as fast as mul + add"
|
|
|
|
>;
|
2015-01-30 03:34:25 +08:00
|
|
|
|
2016-01-19 05:13:50 +08:00
|
|
|
def HalfRate64Ops : SubtargetFeature<"half-rate-64-ops",
|
2016-01-26 12:49:22 +08:00
|
|
|
"HalfRate64Ops",
|
|
|
|
"true",
|
|
|
|
"Most fp64 instructions are half rate instead of quarter"
|
|
|
|
>;
|
2014-07-15 07:40:49 +08:00
|
|
|
|
2013-06-08 04:28:49 +08:00
|
|
|
def FeatureR600ALUInst : SubtargetFeature<"R600ALUInst",
|
2016-01-26 12:49:22 +08:00
|
|
|
"R600ALUInst",
|
|
|
|
"false",
|
|
|
|
"Older version of ALU instructions encoding"
|
|
|
|
>;
|
2013-06-08 04:28:49 +08:00
|
|
|
|
|
|
|
def FeatureVertexCache : SubtargetFeature<"HasVertexCache",
|
2016-01-26 12:49:22 +08:00
|
|
|
"HasVertexCache",
|
|
|
|
"true",
|
|
|
|
"Specify use of dedicated vertex cache"
|
|
|
|
>;
|
2013-06-08 04:28:49 +08:00
|
|
|
|
2013-06-08 04:37:48 +08:00
|
|
|
def FeatureCaymanISA : SubtargetFeature<"caymanISA",
|
2016-01-26 12:49:22 +08:00
|
|
|
"CaymanISA",
|
|
|
|
"true",
|
|
|
|
"Use Cayman ISA"
|
|
|
|
>;
|
2013-06-08 04:37:48 +08:00
|
|
|
|
2014-01-24 00:18:02 +08:00
|
|
|
def FeatureCFALUBug : SubtargetFeature<"cfalubug",
|
2016-01-26 12:49:22 +08:00
|
|
|
"CFALUBug",
|
|
|
|
"true",
|
|
|
|
"GPU has CF_ALU bug"
|
|
|
|
>;
|
2015-12-23 04:55:23 +08:00
|
|
|
|
2014-09-15 23:41:53 +08:00
|
|
|
def FeatureFlatAddressSpace : SubtargetFeature<"flat-address-space",
|
2016-01-26 12:49:22 +08:00
|
|
|
"FlatAddressSpace",
|
|
|
|
"true",
|
|
|
|
"Support flat address space"
|
|
|
|
>;
|
2014-09-15 23:41:53 +08:00
|
|
|
|
2016-01-05 07:35:53 +08:00
|
|
|
def FeatureXNACK : SubtargetFeature<"xnack",
|
2016-01-26 12:49:22 +08:00
|
|
|
"EnableXNACK",
|
|
|
|
"true",
|
|
|
|
"Enable XNACK support"
|
|
|
|
>;
|
2015-01-21 03:33:04 +08:00
|
|
|
|
2015-03-09 23:48:09 +08:00
|
|
|
def FeatureSGPRInitBug : SubtargetFeature<"sgpr-init-bug",
|
2016-01-26 12:49:22 +08:00
|
|
|
"SGPRInitBug",
|
|
|
|
"true",
|
|
|
|
"VI SGPR initilization bug requiring a fixed SGPR allocation size"
|
|
|
|
>;
|
2016-01-21 12:28:34 +08:00
|
|
|
|
2013-06-08 04:28:55 +08:00
|
|
|
class SubtargetFeatureFetchLimit <string Value> :
|
|
|
|
SubtargetFeature <"fetch"#Value,
|
2016-01-26 12:49:22 +08:00
|
|
|
"TexVTXClauseSize",
|
|
|
|
Value,
|
|
|
|
"Limit the maximum number of fetches in a clause to "#Value
|
|
|
|
>;
|
2013-06-08 04:28:49 +08:00
|
|
|
|
2013-06-08 04:28:55 +08:00
|
|
|
def FeatureFetchLimit8 : SubtargetFeatureFetchLimit <"8">;
|
|
|
|
def FeatureFetchLimit16 : SubtargetFeatureFetchLimit <"16">;
|
|
|
|
|
2014-01-23 05:55:40 +08:00
|
|
|
class SubtargetFeatureWavefrontSize <int Value> : SubtargetFeature<
|
2016-01-26 12:49:22 +08:00
|
|
|
"wavefrontsize"#Value,
|
|
|
|
"WavefrontSize",
|
|
|
|
!cast<string>(Value),
|
|
|
|
"The number of threads per wavefront"
|
|
|
|
>;
|
2014-01-23 05:55:40 +08:00
|
|
|
|
|
|
|
def FeatureWavefrontSize16 : SubtargetFeatureWavefrontSize<16>;
|
|
|
|
def FeatureWavefrontSize32 : SubtargetFeatureWavefrontSize<32>;
|
|
|
|
def FeatureWavefrontSize64 : SubtargetFeatureWavefrontSize<64>;
|
|
|
|
|
2015-05-26 00:15:54 +08:00
|
|
|
class SubtargetFeatureLDSBankCount <int Value> : SubtargetFeature <
|
2016-01-26 12:49:22 +08:00
|
|
|
"ldsbankcount"#Value,
|
|
|
|
"LDSBankCount",
|
|
|
|
!cast<string>(Value),
|
|
|
|
"The number of LDS banks per compute unit."
|
|
|
|
>;
|
2015-05-26 00:15:54 +08:00
|
|
|
|
|
|
|
def FeatureLDSBankCount16 : SubtargetFeatureLDSBankCount<16>;
|
|
|
|
def FeatureLDSBankCount32 : SubtargetFeatureLDSBankCount<32>;
|
|
|
|
|
2015-06-27 05:15:07 +08:00
|
|
|
class SubtargetFeatureISAVersion <int Major, int Minor, int Stepping>
|
|
|
|
: SubtargetFeature <
|
2016-01-26 12:49:22 +08:00
|
|
|
"isaver"#Major#"."#Minor#"."#Stepping,
|
|
|
|
"IsaVersion",
|
|
|
|
"ISAVersion"#Major#"_"#Minor#"_"#Stepping,
|
|
|
|
"Instruction set version number"
|
2015-06-27 05:15:07 +08:00
|
|
|
>;
|
|
|
|
|
|
|
|
def FeatureISAVersion7_0_0 : SubtargetFeatureISAVersion <7,0,0>;
|
|
|
|
def FeatureISAVersion7_0_1 : SubtargetFeatureISAVersion <7,0,1>;
|
|
|
|
def FeatureISAVersion8_0_0 : SubtargetFeatureISAVersion <8,0,0>;
|
|
|
|
def FeatureISAVersion8_0_1 : SubtargetFeatureISAVersion <8,0,1>;
|
2016-01-14 04:39:25 +08:00
|
|
|
def FeatureISAVersion8_0_3 : SubtargetFeatureISAVersion <8,0,3>;
|
2015-06-27 05:15:07 +08:00
|
|
|
|
2014-06-18 00:53:14 +08:00
|
|
|
class SubtargetFeatureLocalMemorySize <int Value> : SubtargetFeature<
|
2016-01-26 12:49:22 +08:00
|
|
|
"localmemorysize"#Value,
|
|
|
|
"LocalMemorySize",
|
|
|
|
!cast<string>(Value),
|
|
|
|
"The size of local memory in bytes"
|
|
|
|
>;
|
2014-06-18 00:53:14 +08:00
|
|
|
|
2015-04-08 09:09:26 +08:00
|
|
|
def FeatureGCN : SubtargetFeature<"gcn",
|
2016-01-26 12:49:22 +08:00
|
|
|
"IsGCN",
|
|
|
|
"true",
|
|
|
|
"GCN or newer GPU"
|
|
|
|
>;
|
2015-04-08 09:09:26 +08:00
|
|
|
|
|
|
|
def FeatureGCN1Encoding : SubtargetFeature<"gcn1-encoding",
|
2016-01-26 12:49:22 +08:00
|
|
|
"GCN1Encoding",
|
|
|
|
"true",
|
|
|
|
"Encoding format for SI and CI"
|
|
|
|
>;
|
2015-04-08 09:09:26 +08:00
|
|
|
|
|
|
|
def FeatureGCN3Encoding : SubtargetFeature<"gcn3-encoding",
|
2016-01-26 12:49:22 +08:00
|
|
|
"GCN3Encoding",
|
|
|
|
"true",
|
|
|
|
"Encoding format for VI"
|
|
|
|
>;
|
2015-04-24 03:33:54 +08:00
|
|
|
|
|
|
|
def FeatureCIInsts : SubtargetFeature<"ci-insts",
|
2016-01-26 12:49:22 +08:00
|
|
|
"CIInsts",
|
|
|
|
"true",
|
|
|
|
"Additional intstructions for CI+"
|
|
|
|
>;
|
|
|
|
|
2016-02-27 16:53:46 +08:00
|
|
|
def FeatureVIInsts : SubtargetFeature<"vi-insts",
|
|
|
|
"VIInsts",
|
|
|
|
"true",
|
|
|
|
"Additional intstructions for VI+"
|
|
|
|
>;
|
|
|
|
|
2016-01-26 12:49:22 +08:00
|
|
|
//===------------------------------------------------------------===//
|
|
|
|
// Subtarget Features (options and debugging)
|
|
|
|
//===------------------------------------------------------------===//
|
|
|
|
|
|
|
|
// Some instructions do not support denormals despite this flag. Using
|
|
|
|
// fp32 denormals also causes instructions to run at the double
|
|
|
|
// precision rate for the device.
|
|
|
|
def FeatureFP32Denormals : SubtargetFeature<"fp32-denormals",
|
|
|
|
"FP32Denormals",
|
|
|
|
"true",
|
|
|
|
"Enable single precision denormal handling"
|
|
|
|
>;
|
|
|
|
|
|
|
|
def FeatureFP64Denormals : SubtargetFeature<"fp64-denormals",
|
|
|
|
"FP64Denormals",
|
|
|
|
"true",
|
|
|
|
"Enable double precision denormal handling",
|
|
|
|
[FeatureFP64]
|
|
|
|
>;
|
|
|
|
|
2016-01-29 04:53:42 +08:00
|
|
|
def FeatureFPExceptions : SubtargetFeature<"fp-exceptions",
|
|
|
|
"FPExceptions",
|
|
|
|
"true",
|
|
|
|
"Enable floating point exceptions"
|
|
|
|
>;
|
|
|
|
|
2016-02-12 10:40:47 +08:00
|
|
|
class FeatureMaxPrivateElementSize<int size> : SubtargetFeature<
|
|
|
|
"max-private-element-size-"#size,
|
|
|
|
"MaxPrivateElementSize",
|
|
|
|
!cast<string>(size),
|
|
|
|
"Maximum private access size may be "#size
|
|
|
|
>;
|
|
|
|
|
|
|
|
def FeatureMaxPrivateElementSize4 : FeatureMaxPrivateElementSize<4>;
|
|
|
|
def FeatureMaxPrivateElementSize8 : FeatureMaxPrivateElementSize<8>;
|
|
|
|
def FeatureMaxPrivateElementSize16 : FeatureMaxPrivateElementSize<16>;
|
|
|
|
|
|
|
|
|
2016-01-26 12:49:22 +08:00
|
|
|
def FeatureEnableHugeScratchBuffer : SubtargetFeature<
|
|
|
|
"huge-scratch-buffer",
|
|
|
|
"EnableHugeScratchBuffer",
|
|
|
|
"true",
|
|
|
|
"Enable scratch buffer sizes greater than 128 GB"
|
|
|
|
>;
|
|
|
|
|
|
|
|
def FeatureVGPRSpilling : SubtargetFeature<"vgpr-spilling",
|
|
|
|
"EnableVGPRSpilling",
|
|
|
|
"true",
|
|
|
|
"Enable spilling of VGPRs to scratch memory"
|
|
|
|
>;
|
|
|
|
|
|
|
|
def FeatureDumpCode : SubtargetFeature <"DumpCode",
|
|
|
|
"DumpCode",
|
|
|
|
"true",
|
|
|
|
"Dump MachineInstrs in the CodeEmitter"
|
|
|
|
>;
|
|
|
|
|
|
|
|
def FeatureDumpCodeLower : SubtargetFeature <"dumpcode",
|
|
|
|
"DumpCode",
|
|
|
|
"true",
|
|
|
|
"Dump MachineInstrs in the CodeEmitter"
|
|
|
|
>;
|
|
|
|
|
|
|
|
def FeatureIRStructurizer : SubtargetFeature <"disable-irstructurizer",
|
|
|
|
"EnableIRStructurizer",
|
|
|
|
"false",
|
|
|
|
"Disable IR Structurizer"
|
|
|
|
>;
|
|
|
|
|
|
|
|
def FeaturePromoteAlloca : SubtargetFeature <"promote-alloca",
|
|
|
|
"EnablePromoteAlloca",
|
|
|
|
"true",
|
|
|
|
"Enable promote alloca pass"
|
|
|
|
>;
|
|
|
|
|
|
|
|
// XXX - This should probably be removed once enabled by default
|
|
|
|
def FeatureEnableLoadStoreOpt : SubtargetFeature <"load-store-opt",
|
|
|
|
"EnableLoadStoreOpt",
|
|
|
|
"true",
|
|
|
|
"Enable SI load/store optimizer pass"
|
|
|
|
>;
|
|
|
|
|
|
|
|
// Performance debugging feature. Allow using DS instruction immediate
|
|
|
|
// offsets even if the base pointer can't be proven to be base. On SI,
|
|
|
|
// base pointer values that won't give the same result as a 16-bit add
|
|
|
|
// are not safe to fold, but this will override the conservative test
|
|
|
|
// for the base pointer.
|
|
|
|
def FeatureEnableUnsafeDSOffsetFolding : SubtargetFeature <
|
|
|
|
"unsafe-ds-offset-folding",
|
|
|
|
"EnableUnsafeDSOffsetFolding",
|
|
|
|
"true",
|
|
|
|
"Force using DS instruction immediate offsets on SI"
|
|
|
|
>;
|
|
|
|
|
|
|
|
def FeatureIfCvt : SubtargetFeature <"disable-ifcvt",
|
|
|
|
"EnableIfCvt",
|
|
|
|
"false",
|
|
|
|
"Disable the if conversion pass"
|
|
|
|
>;
|
|
|
|
|
|
|
|
def FeatureEnableSIScheduler : SubtargetFeature<"si-scheduler",
|
|
|
|
"EnableSIScheduler",
|
|
|
|
"true",
|
|
|
|
"Enable SI Machine Scheduler"
|
|
|
|
>;
|
|
|
|
|
|
|
|
def FeatureFlatForGlobal : SubtargetFeature<"flat-for-global",
|
|
|
|
"FlatForGlobal",
|
|
|
|
"true",
|
|
|
|
"Force to generate flat instruction for global"
|
|
|
|
>;
|
2015-04-24 03:33:54 +08:00
|
|
|
|
|
|
|
// Dummy feature used to disable assembler instructions.
|
|
|
|
def FeatureDisable : SubtargetFeature<"",
|
2016-01-26 12:49:22 +08:00
|
|
|
"FeatureDisable","true",
|
|
|
|
"Dummy feature to disable assembler instructions"
|
|
|
|
>;
|
2015-04-24 03:33:54 +08:00
|
|
|
|
2013-06-08 04:37:48 +08:00
|
|
|
class SubtargetFeatureGeneration <string Value,
|
|
|
|
list<SubtargetFeature> Implies> :
|
|
|
|
SubtargetFeature <Value, "Gen", "AMDGPUSubtarget::"#Value,
|
|
|
|
Value#" GPU generation", Implies>;
|
|
|
|
|
2014-06-18 00:53:14 +08:00
|
|
|
def FeatureLocalMemorySize0 : SubtargetFeatureLocalMemorySize<0>;
|
|
|
|
def FeatureLocalMemorySize32768 : SubtargetFeatureLocalMemorySize<32768>;
|
|
|
|
def FeatureLocalMemorySize65536 : SubtargetFeatureLocalMemorySize<65536>;
|
|
|
|
|
2013-06-08 04:37:48 +08:00
|
|
|
def FeatureR600 : SubtargetFeatureGeneration<"R600",
|
2016-01-26 12:49:22 +08:00
|
|
|
[FeatureR600ALUInst, FeatureFetchLimit8, FeatureLocalMemorySize0]
|
|
|
|
>;
|
2013-06-08 04:37:48 +08:00
|
|
|
|
|
|
|
def FeatureR700 : SubtargetFeatureGeneration<"R700",
|
2016-01-26 12:49:22 +08:00
|
|
|
[FeatureFetchLimit16, FeatureLocalMemorySize0]
|
|
|
|
>;
|
2013-06-08 04:37:48 +08:00
|
|
|
|
|
|
|
def FeatureEvergreen : SubtargetFeatureGeneration<"EVERGREEN",
|
2016-01-26 12:49:22 +08:00
|
|
|
[FeatureFetchLimit16, FeatureLocalMemorySize32768]
|
|
|
|
>;
|
2013-06-08 04:37:48 +08:00
|
|
|
|
|
|
|
def FeatureNorthernIslands : SubtargetFeatureGeneration<"NORTHERN_ISLANDS",
|
2016-01-26 12:49:22 +08:00
|
|
|
[FeatureFetchLimit16, FeatureWavefrontSize64,
|
|
|
|
FeatureLocalMemorySize32768]
|
2014-06-18 00:53:14 +08:00
|
|
|
>;
|
2013-06-08 04:37:48 +08:00
|
|
|
|
|
|
|
def FeatureSouthernIslands : SubtargetFeatureGeneration<"SOUTHERN_ISLANDS",
|
2016-01-26 12:49:22 +08:00
|
|
|
[FeatureFP64, FeatureLocalMemorySize32768,
|
|
|
|
FeatureWavefrontSize64, FeatureGCN, FeatureGCN1Encoding,
|
|
|
|
FeatureLDSBankCount32]
|
|
|
|
>;
|
2013-06-08 04:37:48 +08:00
|
|
|
|
2013-10-30 00:37:28 +08:00
|
|
|
def FeatureSeaIslands : SubtargetFeatureGeneration<"SEA_ISLANDS",
|
2016-01-26 12:49:22 +08:00
|
|
|
[FeatureFP64, FeatureLocalMemorySize65536,
|
|
|
|
FeatureWavefrontSize64, FeatureGCN, FeatureFlatAddressSpace,
|
|
|
|
FeatureGCN1Encoding, FeatureCIInsts]
|
|
|
|
>;
|
2014-12-07 20:18:57 +08:00
|
|
|
|
|
|
|
def FeatureVolcanicIslands : SubtargetFeatureGeneration<"VOLCANIC_ISLANDS",
|
2016-01-26 12:49:22 +08:00
|
|
|
[FeatureFP64, FeatureLocalMemorySize65536,
|
|
|
|
FeatureWavefrontSize64, FeatureFlatAddressSpace, FeatureGCN,
|
2016-02-27 16:53:46 +08:00
|
|
|
FeatureGCN3Encoding, FeatureCIInsts, FeatureVIInsts]
|
2016-01-26 12:49:22 +08:00
|
|
|
>;
|
2014-12-07 20:18:57 +08:00
|
|
|
|
2013-06-08 04:28:55 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
2012-12-12 05:25:42 +08:00
|
|
|
|
|
|
|
def AMDGPUInstrInfo : InstrInfo {
|
|
|
|
let guessInstructionProperties = 1;
|
2015-02-18 10:15:32 +08:00
|
|
|
let noNamedPositionallyEncodedOperands = 1;
|
2012-12-12 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2014-11-14 22:08:00 +08:00
|
|
|
def AMDGPUAsmParser : AsmParser {
|
|
|
|
// Some of the R600 registers have the same name, so this crashes.
|
|
|
|
// For example T0_XYZW and T0_XY both have the asm name T0.
|
|
|
|
let ShouldEmitMatchRegisterName = 0;
|
|
|
|
}
|
|
|
|
|
2012-12-12 05:25:42 +08:00
|
|
|
def AMDGPU : Target {
|
|
|
|
// Pull in Instruction Info:
|
|
|
|
let InstructionSet = AMDGPUInstrInfo;
|
2014-11-14 22:08:00 +08:00
|
|
|
let AssemblyParsers = [AMDGPUAsmParser];
|
2012-12-12 05:25:42 +08:00
|
|
|
}
|
|
|
|
|
2014-06-14 00:38:59 +08:00
|
|
|
// Dummy Instruction itineraries for pseudo instructions
|
|
|
|
def ALU_NULL : FuncUnit;
|
|
|
|
def NullALU : InstrItinClass;
|
|
|
|
|
2014-05-17 04:56:45 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Predicate helper class
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2015-04-24 03:33:54 +08:00
|
|
|
def TruePredicate : Predicate<"true">;
|
2016-01-26 12:49:22 +08:00
|
|
|
|
2015-04-24 03:33:54 +08:00
|
|
|
def isSICI : Predicate<
|
|
|
|
"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
|
|
|
|
"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS"
|
|
|
|
>, AssemblerPredicate<"FeatureGCN1Encoding">;
|
|
|
|
|
2015-12-24 11:18:18 +08:00
|
|
|
def isVI : Predicate <
|
|
|
|
"Subtarget->getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS">,
|
|
|
|
AssemblerPredicate<"FeatureGCN3Encoding">;
|
|
|
|
|
2016-01-26 12:49:22 +08:00
|
|
|
def isCIVI : Predicate <
|
|
|
|
"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS || "
|
|
|
|
"Subtarget->getGeneration() == AMDGPUSubtarget::VOLCANIC_ISLANDS"
|
|
|
|
>, AssemblerPredicate<"FeatureCIInsts">;
|
|
|
|
|
|
|
|
def HasFlatAddressSpace : Predicate<"Subtarget->hasFlatAddressSpace()">;
|
|
|
|
|
2014-05-17 04:56:45 +08:00
|
|
|
class PredicateControl {
|
|
|
|
Predicate SubtargetPredicate;
|
2015-04-24 03:33:54 +08:00
|
|
|
Predicate SIAssemblerPredicate = isSICI;
|
2015-12-24 11:18:18 +08:00
|
|
|
Predicate VIAssemblerPredicate = isVI;
|
2015-04-08 09:09:26 +08:00
|
|
|
list<Predicate> AssemblerPredicates = [];
|
2015-04-24 03:33:54 +08:00
|
|
|
Predicate AssemblerPredicate = TruePredicate;
|
2014-05-17 04:56:45 +08:00
|
|
|
list<Predicate> OtherPredicates = [];
|
2015-04-24 03:33:54 +08:00
|
|
|
list<Predicate> Predicates = !listconcat([SubtargetPredicate, AssemblerPredicate],
|
2015-04-08 09:09:26 +08:00
|
|
|
AssemblerPredicates,
|
2014-05-17 04:56:45 +08:00
|
|
|
OtherPredicates);
|
|
|
|
}
|
|
|
|
|
2012-12-12 05:25:42 +08:00
|
|
|
// Include AMDGPU TD files
|
|
|
|
include "R600Schedule.td"
|
|
|
|
include "SISchedule.td"
|
|
|
|
include "Processors.td"
|
|
|
|
include "AMDGPUInstrInfo.td"
|
|
|
|
include "AMDGPUIntrinsics.td"
|
|
|
|
include "AMDGPURegisterInfo.td"
|
|
|
|
include "AMDGPUInstructions.td"
|
2013-03-07 17:03:52 +08:00
|
|
|
include "AMDGPUCallingConv.td"
|