]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/AMDGPU/AMDGPURegisterBanks.td
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / AMDGPU / AMDGPURegisterBanks.td
1 //=- AMDGPURegisterBank.td - Describe the AMDGPU Banks -------*- tablegen -*-=//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 def SGPRRegBank : RegisterBank<"SGPR",
11   [SReg_32, SReg_64, SReg_128, SReg_256, SReg_512]
12 >;
13
14 def VGPRRegBank : RegisterBank<"VGPR",
15   [VGPR_32, VReg_64, VReg_96, VReg_128, VReg_256, VReg_512]
16 >;
17
18 def SCCRegBank : RegisterBank <"SCC", [SCC_CLASS]>;
19
20 // It is helpful to distinguish conditions from ordinary SGPRs.
21 def VCCRegBank : RegisterBank <"VCC", [SReg_64]>;