P4C
The P4 Compiler
Loading...
Searching...
No Matches
backends/bmv2/portable_common/options.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_OPTIONS_H_
9
#define BACKENDS_BMV2_PORTABLE_COMMON_OPTIONS_H_
10
11
#include "backends/bmv2/common/options.h"
12
#include "backends/bmv2/portable_common/midend.h"
13
14
namespace
P4::BMV2
{
15
16
class
PortableOptions
:
public
BMV2Options {
17
public
:
19
std::vector<const char *> *
process
(
int
argc,
char
*
const
argv[])
override
;
20
};
21
22
}
// namespace P4::BMV2
23
24
#endif
/* BACKENDS_BMV2_PORTABLE_COMMON_OPTIONS_H_ */
P4::BMV2::PortableOptions
Definition
backends/bmv2/portable_common/options.h:16
P4::BMV2::PortableOptions::process
std::vector< const char * > * process(int argc, char *const argv[]) override
Process the command line arguments and set options accordingly.
Definition
backends/bmv2/portable_common/options.cpp:10
P4::BMV2
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition
action.cpp:9
backends
bmv2
portable_common
options.h
Generated by
1.13.2