blob: 16f3bd8cf4a754521b03899bab57e763d4114d8d [file] [log] [blame]
//===-- PPCRegisterBanks.td - Describe the PPC 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
//
//===----------------------------------------------------------------------===//
///
/// \file
/// Define the PPC register banks used for GlobalISel.
///
//===----------------------------------------------------------------------===//
/// General Purpose Registers
def GPRRegBank : RegisterBank<"GPR", [G8RC, G8RC_NOX0]>;
/// Floating point Registers
def FPRRegBank : RegisterBank<"FPR", [VSSRC]>;
/// Condition Registers
def CRRegBank : RegisterBank<"CR", [CRRC]>;