mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
891c1876b8
llvm-svn: 364308
21 lines
743 B
TableGen
21 lines
743 B
TableGen
//=- AMDGPURegisterBank.td - Describe the AMDGPU Banks -------*- 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
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
def SGPRRegBank : RegisterBank<"SGPR",
|
|
[SReg_32, SReg_64, SReg_128, SReg_256, SReg_512]
|
|
>;
|
|
|
|
def VGPRRegBank : RegisterBank<"VGPR",
|
|
[VGPR_32, VReg_64, VReg_96, VReg_128, VReg_256, VReg_512]
|
|
>;
|
|
|
|
def SCCRegBank : RegisterBank <"SCC", [SReg_32, SCC_CLASS]>;
|
|
|
|
// It is helpful to distinguish conditions from ordinary SGPRs.
|
|
def VCCRegBank : RegisterBank <"VCC", [SReg_64]>;
|