P4C
The P4 Compiler
Loading...
Searching...
No Matches
ubpf/midend.h
1
/*
2
Copyright 2019 Orange
3
4
Licensed under the Apache License, Version 2.0 (the "License");
5
you may not use this file except in compliance with the License.
6
You may obtain a copy of the License at
7
8
http://www.apache.org/licenses/LICENSE-2.0
9
10
Unless required by applicable law or agreed to in writing, software
11
distributed under the License is distributed on an "AS IS" BASIS,
12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
See the License for the specific language governing permissions and
14
limitations under the License.
15
*/
16
17
#ifndef BACKENDS_UBPF_MIDEND_H_
18
#define BACKENDS_UBPF_MIDEND_H_
19
20
#include "backends/ebpf/ebpfOptions.h"
21
#include "backends/ebpf/midend.h"
22
#include "ir/ir.h"
23
24
namespace
P4::UBPF {
25
26
class
MidEnd
:
public
EBPF::MidEnd
{
27
public
:
28
MidEnd
() :
EBPF::MidEnd
() {}
29
const
IR::ToplevelBlock *run(
EbpfOptions
&options,
const
IR::P4Program *program,
30
std::ostream *outStream =
nullptr
);
31
};
32
33
}
// namespace P4::UBPF
34
35
#endif
/* BACKENDS_UBPF_MIDEND_H_ */
P4::EBPF::MidEnd
Definition
ebpf/midend.h:27
P4::EbpfOptions
Definition
ebpfOptions.h:26
P4::UBPF::MidEnd
Definition
ubpf/midend.h:26
backends
ubpf
midend.h
Generated by
1.12.0