1 //===- BPFRegisterBankInfo.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 BPF 10 //===----------------------------------------------------------------------===// 11 12 #include "BPFRegisterBankInfo.h" 13 #include "llvm/CodeGen/MachineFunction.h" 14 #include "llvm/CodeGen/MachineRegisterInfo.h" 15 #include "llvm/Support/Debug.h" 16 17 #define DEBUG_TYPE "bpf-reg-bank-info" 18 19 #define GET_TARGET_REGBANK_IMPL 20 #include "BPFGenRegisterBank.inc" 21 22 using namespace llvm; 23 BPFRegisterBankInfo(const TargetRegisterInfo & TRI)24BPFRegisterBankInfo::BPFRegisterBankInfo(const TargetRegisterInfo &TRI) 25 : BPFGenRegisterBankInfo() {} 26