Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/llvm-project/llvm/lib/Target/BPF/GISel/BPFLegalizerInfo.h
35294 views
1
//===- BPFLegalizerInfo.h ----------------------------------------*- C++ -*-==//
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 declares the targeting of the Machinelegalizer class for BPF
10
//===----------------------------------------------------------------------===//
11
12
#ifndef LLVM_LIB_TARGET_BPF_GISEL_BPFMACHINELEGALIZER_H
13
#define LLVM_LIB_TARGET_BPF_GISEL_BPFMACHINELEGALIZER_H
14
15
#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
16
17
namespace llvm {
18
19
class BPFSubtarget;
20
21
/// This class provides the information for the BPF target legalizer for
22
/// GlobalISel.
23
class BPFLegalizerInfo : public LegalizerInfo {
24
public:
25
BPFLegalizerInfo(const BPFSubtarget &ST);
26
};
27
} // namespace llvm
28
#endif
29
30