P4C
The P4 Compiler
Loading...
Searching...
No Matches
ubpf/midend.h
1/*
2 * Copyright 2019 Orange
3 * SPDX-FileCopyrightText: 2019 Orange
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8#ifndef BACKENDS_UBPF_MIDEND_H_
9#define BACKENDS_UBPF_MIDEND_H_
10
11#include "backends/ebpf/ebpfOptions.h"
12#include "backends/ebpf/midend.h"
13#include "ir/ir.h"
14
15namespace P4::UBPF {
16
17class MidEnd : public EBPF::MidEnd {
18 public:
19 MidEnd() : EBPF::MidEnd() {}
20 const IR::ToplevelBlock *run(EbpfOptions &options, const IR::P4Program *program,
21 std::ostream *outStream = nullptr);
22};
23
24} // namespace P4::UBPF
25
26#endif /* BACKENDS_UBPF_MIDEND_H_ */
Definition ebpf/midend.h:27
Definition ebpfOptions.h:26