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
15
namespace
P4::UBPF {
16
17
class
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_ */
P4::EBPF::MidEnd
Definition
ebpf/midend.h:27
P4::EbpfOptions
Definition
ebpfOptions.h:26
backends
ubpf
midend.h
Generated by
1.13.2