Path: blob/main/contrib/llvm-project/llvm/lib/Target/BPF/GISel/BPFRegisterBankInfo.cpp
96383 views
//===- BPFRegisterBankInfo.cpp --------------------------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7/// \file8/// This file implements the targeting of the RegisterBankInfo class for BPF9//===----------------------------------------------------------------------===//1011#include "BPFRegisterBankInfo.h"12#include "llvm/CodeGen/MachineFunction.h"13#include "llvm/CodeGen/MachineRegisterInfo.h"14#include "llvm/Support/Debug.h"1516#define DEBUG_TYPE "bpf-reg-bank-info"1718#define GET_TARGET_REGBANK_IMPL19#include "BPFGenRegisterBank.inc"2021using namespace llvm;2223BPFRegisterBankInfo::BPFRegisterBankInfo(const TargetRegisterInfo &TRI)24: BPFGenRegisterBankInfo() {}252627