P4C
The P4 Compiler
Loading...
Searching...
No Matches
smith/targets/bmv2/register.h
1
/*
2
* SPDX-FileCopyrightText: 2024 The P4 Language Consortium
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef BACKENDS_P4TOOLS_MODULES_SMITH_TARGETS_BMV2_REGISTER_H_
8
#define BACKENDS_P4TOOLS_MODULES_SMITH_TARGETS_BMV2_REGISTER_H_
9
10
#include "backends/p4tools/modules/smith/targets/bmv2/psa.h"
11
#include "backends/p4tools/modules/smith/targets/bmv2/v1model.h"
12
13
namespace
P4::P4Tools::P4Smith {
14
15
inline
void
bmv2RegisterSmithTarget() {
16
BMv2::Bmv2V1modelSmithTarget::make
();
17
BMv2::Bmv2PsaSmithTarget::make
();
18
}
19
20
}
// namespace P4::P4Tools::P4Smith
21
22
#endif
/* BACKENDS_P4TOOLS_MODULES_SMITH_TARGETS_BMV2_REGISTER_H_ */
P4::P4Tools::P4Smith::BMv2::Bmv2PsaSmithTarget::make
static void make()
Registers this target.
Definition
p4tools/modules/smith/targets/bmv2/psa.cpp:36
P4::P4Tools::P4Smith::BMv2::Bmv2V1modelSmithTarget::make
static void make()
Registers this target.
Definition
backends/p4tools/modules/smith/targets/bmv2/v1model.cpp:36
backends
p4tools
modules
smith
targets
bmv2
register.h
Generated by
1.13.2