brintos

brintos / llvm-project-archived public Read only

0
0
Text · 768 B · 7c95ecc Raw
22 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8/// \file9/// This file implements the targeting of the Machinelegalizer class for BPF10//===----------------------------------------------------------------------===//11 12#include "BPFLegalizerInfo.h"13 14#define DEBUG_TYPE "bpf-legalinfo"15 16using namespace llvm;17using namespace LegalizeActions;18 19BPFLegalizerInfo::BPFLegalizerInfo(const BPFSubtarget &ST) {20  getLegacyLegalizerInfo().computeTables();21}22