P4C
The P4 Compiler
Loading...
Searching...
No Matches
bmv2/psa_switch/midend.h
1
/*
2
* SPDX-FileCopyrightText: 2013 Barefoot Networks, Inc.
3
* Copyright 2013-present Barefoot Networks, Inc.
4
*
5
* SPDX-License-Identifier: Apache-2.0
6
*/
7
8
#ifndef BACKENDS_BMV2_PSA_SWITCH_MIDEND_H_
9
#define BACKENDS_BMV2_PSA_SWITCH_MIDEND_H_
10
11
#include "backends/bmv2/portable_common/midend.h"
12
13
namespace
P4::BMV2
{
14
15
class
PsaSwitchMidEnd :
public
PortableMidEnd {
16
public
:
17
// If p4c is run with option '--listMidendPasses', outStream is used for printing passes names
18
explicit
PsaSwitchMidEnd(
CompilerOptions
&options, std::ostream *outStream =
nullptr
);
19
};
20
21
}
// namespace P4::BMV2
22
23
#endif
/* BACKENDS_BMV2_PSA_SWITCH_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
psa_switch
midend.h
Generated by
1.13.2