1//===-- PPCRegisterBanks.td - Describe the PPC Banks -------*- tablegen -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8///
9/// \file
10/// Define the PPC register banks used for GlobalISel.
11///
12//===----------------------------------------------------------------------===//
13
14/// General Purpose Registers
15def GPRRegBank : RegisterBank<"GPR", [G8RC, G8RC_NOX0]>;
16/// Floating point Registers
17def FPRRegBank : RegisterBank<"FPR", [VSSRC]>;
18/// Vector Registers
19def VECRegBank : RegisterBank<"VEC", [VSRC]>;
20/// Condition Registers
21def CRRegBank : RegisterBank<"CR", [CRRC]>;
22