llvm.org GIT mirror llvm / 28fe7a0 lib / Target / AMDGPU / AMDGPURegisterInfo.td
28fe7a0

Tree @28fe7a0 (Download .tar.gz)

AMDGPURegisterInfo.td @28fe7a0raw · history · blame

//===-- AMDGPURegisterInfo.td - AMDGPU register info -------*- tablegen -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// Tablegen register definitions common to all hw codegen targets.
//
//===----------------------------------------------------------------------===//

let Namespace = "AMDGPU" in {

foreach Index = 0-15 in {
  def sub#Index : SubRegIndex<32, !shl(Index, 5)>;
}

def INDIRECT_BASE_ADDR : Register <"INDIRECT_BASE_ADDR">;

}

include "R600RegisterInfo.td"
include "SIRegisterInfo.td"