//===-- R600.td - R600 Tablegen files ----------------------*- tablegen -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// include "llvm/Target/Target.td" def R600InstrInfo : InstrInfo { let guessInstructionProperties = 1; let noNamedPositionallyEncodedOperands = 1; } def R600 : Target { let InstructionSet = R600InstrInfo; let AllowRegisterRenaming = 1; } let Namespace = "R600" in { foreach Index = 0-15 in { def sub#Index : SubRegIndex<32, !shl(Index, 5)>; } include "R600RegisterInfo.td" } def NullALU : InstrItinClass; def ALU_NULL : FuncUnit; include "AMDGPUFeatures.td" include "R600Schedule.td" include "R600Processors.td" include "AMDGPUInstrInfo.td" include "AMDGPUInstructions.td" include "R600Instructions.td" include "R700Instructions.td" include "EvergreenInstructions.td" include "CaymanInstructions.td" // Calling convention for R600 def CC_R600 : CallingConv<[ CCIfInReg>> ]>;