summaryrefslogtreecommitdiff
path: root/lib/Target/R600/AMDGPURegisterInfo.td
blob: 835a1464395c3a627fe9db56ba190fbaeefd2939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//===-- 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 {
  // Indices are used in a variety of ways here, so don't set a size/offset.
  def sub#Index : SubRegIndex<-1, -1>;
}

def INDIRECT_BASE_ADDR : Register <"INDIRECT_BASE_ADDR">;

}

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