P4C
The P4 Compiler
Loading...
Searching...
No Matches
bmv2/portable_common/midend.h
1
/*
2
* Copyright 2024 Marvell Technology, Inc.
3
* SPDX-FileCopyrightText: 2024 Marvell Technology, Inc.
4
*
5
* SPDX-License-Identifier: Apache-2.0
6
*/
7
8
#ifndef BACKENDS_BMV2_PORTABLE_COMMON_MIDEND_H_
9
#define BACKENDS_BMV2_PORTABLE_COMMON_MIDEND_H_
10
11
#include "backends/bmv2/common/midend.h"
12
#include "backends/bmv2/common/options.h"
13
#include "frontends/common/options.h"
14
#include "ir/ir.h"
15
#include "midend/convertEnums.h"
16
17
namespace
P4::BMV2
{
18
19
class
PortableMidEnd :
public
MidEnd {
20
public
:
21
explicit
PortableMidEnd(
CompilerOptions
&options) : MidEnd(options) {}
22
};
23
24
}
// namespace P4::BMV2
25
26
#endif
/* BACKENDS_BMV2_PORTABLE_COMMON_MIDEND_H_ */
P4::CompilerOptions
Definition
frontends/common/options.h:31
P4::BMV2
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition
action.cpp:9
backends
bmv2
portable_common
midend.h
Generated by
1.13.2