1*2460bf2fSYingchi Long //===- BPFLegalizerInfo.h ----------------------------------------*- C++ -*-==// 2*2460bf2fSYingchi Long // 3*2460bf2fSYingchi Long // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*2460bf2fSYingchi Long // See https://llvm.org/LICENSE.txt for license information. 5*2460bf2fSYingchi Long // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*2460bf2fSYingchi Long // 7*2460bf2fSYingchi Long //===----------------------------------------------------------------------===// 8*2460bf2fSYingchi Long /// \file 9*2460bf2fSYingchi Long /// This file declares the targeting of the Machinelegalizer class for BPF 10*2460bf2fSYingchi Long //===----------------------------------------------------------------------===// 11*2460bf2fSYingchi Long 12*2460bf2fSYingchi Long #ifndef LLVM_LIB_TARGET_BPF_GISEL_BPFMACHINELEGALIZER_H 13*2460bf2fSYingchi Long #define LLVM_LIB_TARGET_BPF_GISEL_BPFMACHINELEGALIZER_H 14*2460bf2fSYingchi Long 15*2460bf2fSYingchi Long #include "llvm/CodeGen/GlobalISel/LegalizerInfo.h" 16*2460bf2fSYingchi Long 17*2460bf2fSYingchi Long namespace llvm { 18*2460bf2fSYingchi Long 19*2460bf2fSYingchi Long class BPFSubtarget; 20*2460bf2fSYingchi Long 21*2460bf2fSYingchi Long /// This class provides the information for the BPF target legalizer for 22*2460bf2fSYingchi Long /// GlobalISel. 23*2460bf2fSYingchi Long class BPFLegalizerInfo : public LegalizerInfo { 24*2460bf2fSYingchi Long public: 25*2460bf2fSYingchi Long BPFLegalizerInfo(const BPFSubtarget &ST); 26*2460bf2fSYingchi Long }; 27*2460bf2fSYingchi Long } // namespace llvm 28*2460bf2fSYingchi Long #endif 29