1*af732203SDimitry Andric //===- PPCRegisterBankInfo.cpp --------------------------------------------===// 2*af732203SDimitry Andric // 3*af732203SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*af732203SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5*af732203SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*af732203SDimitry Andric // 7*af732203SDimitry Andric //===----------------------------------------------------------------------===// 8*af732203SDimitry Andric /// \file 9*af732203SDimitry Andric /// This file implements the targeting of the RegisterBankInfo class for 10*af732203SDimitry Andric /// PowerPC. 11*af732203SDimitry Andric //===----------------------------------------------------------------------===// 12*af732203SDimitry Andric 13*af732203SDimitry Andric #include "PPCRegisterBankInfo.h" 14*af732203SDimitry Andric #include "PPCRegisterInfo.h" 15*af732203SDimitry Andric #include "llvm/CodeGen/MachineFunction.h" 16*af732203SDimitry Andric #include "llvm/CodeGen/MachineRegisterInfo.h" 17*af732203SDimitry Andric #include "llvm/Support/Debug.h" 18*af732203SDimitry Andric 19*af732203SDimitry Andric #define DEBUG_TYPE "ppc-reg-bank-info" 20*af732203SDimitry Andric 21*af732203SDimitry Andric #define GET_TARGET_REGBANK_IMPL 22*af732203SDimitry Andric #include "PPCGenRegisterBank.inc" 23*af732203SDimitry Andric 24*af732203SDimitry Andric using namespace llvm; 25*af732203SDimitry Andric PPCRegisterBankInfo(const TargetRegisterInfo & TRI)26*af732203SDimitry AndricPPCRegisterBankInfo::PPCRegisterBankInfo(const TargetRegisterInfo &TRI) 27*af732203SDimitry Andric : PPCGenRegisterBankInfo() {} 28