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 14 #define DEBUG_TYPE "bpf-reg-bank-info" 15 16 #define GET_TARGET_REGBANK_IMPL 17 #include "BPFGenRegisterBank.inc" 18 19 using namespace llvm; 20 BPFRegisterBankInfo(const TargetRegisterInfo & TRI)21BPFRegisterBankInfo::BPFRegisterBankInfo(const TargetRegisterInfo &TRI) 22 : BPFGenRegisterBankInfo() {} 23