Path: blob/main/contrib/llvm-project/llvm/lib/Target/BPF/GISel/BPFRegisterBankInfo.h
96385 views
//===-- BPFRegisterBankInfo.h -----------------------------------*- C++ -*-===//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///8/// \file9/// This file declares the targeting of the RegisterBankInfo class for BPF.10///11//===----------------------------------------------------------------------===//1213#ifndef LLVM_LIB_TARGET_BPF_GISEL_BPFREGISTERBANKINFO_H14#define LLVM_LIB_TARGET_BPF_GISEL_BPFREGISTERBANKINFO_H1516#include "MCTargetDesc/BPFMCTargetDesc.h"17#include "llvm/CodeGen/RegisterBankInfo.h"18#include "llvm/CodeGen/TargetRegisterInfo.h"1920#define GET_REGBANK_DECLARATIONS21#include "BPFGenRegisterBank.inc"2223namespace llvm {24class TargetRegisterInfo;2526class BPFGenRegisterBankInfo : public RegisterBankInfo {27protected:28#define GET_TARGET_REGBANK_CLASS29#include "BPFGenRegisterBank.inc"30};3132class BPFRegisterBankInfo final : public BPFGenRegisterBankInfo {33public:34BPFRegisterBankInfo(const TargetRegisterInfo &TRI);35};36} // namespace llvm3738#endif394041