PPCRegisterBanks.td 755 B

12345678910111213141516171819
  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. /// General Purpose Registers
  14. def GPRRegBank : RegisterBank<"GPR", [G8RC, G8RC_NOX0]>;
  15. /// Floating point Registers
  16. def FPRRegBank : RegisterBank<"FPR", [VSSRC]>;
  17. /// Condition Registers
  18. def CRRegBank : RegisterBank<"CR", [CRRC]>;