PPCRegisterBankInfo.cpp 966 B

123456789101112131415161718192021222324252627
  1. //===- PPCRegisterBankInfo.cpp --------------------------------------------===//
  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. /// \file
  9. /// This file implements the targeting of the RegisterBankInfo class for
  10. /// PowerPC.
  11. //===----------------------------------------------------------------------===//
  12. #include "PPCRegisterBankInfo.h"
  13. #include "PPCRegisterInfo.h"
  14. #include "llvm/CodeGen/MachineFunction.h"
  15. #include "llvm/CodeGen/MachineRegisterInfo.h"
  16. #include "llvm/Support/Debug.h"
  17. #define DEBUG_TYPE "ppc-reg-bank-info"
  18. #define GET_TARGET_REGBANK_IMPL
  19. #include "PPCGenRegisterBank.inc"
  20. using namespace llvm;
  21. PPCRegisterBankInfo::PPCRegisterBankInfo(const TargetRegisterInfo &TRI)
  22. : PPCGenRegisterBankInfo() {}