P4C
The P4 Compiler
Loading...
Searching...
No Matches
smith/targets/tofino/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_TOFINO_REGISTER_H_
8#define BACKENDS_P4TOOLS_MODULES_SMITH_TARGETS_TOFINO_REGISTER_H_
9
10#include "backends/p4tools/modules/smith/targets/tofino/target.h"
11
12namespace P4::P4Tools::P4Smith {
13
14inline void tofinoRegisterSmithTarget() { Tofino::TofinoTnaSmithTarget::make(); }
15
16} // namespace P4::P4Tools::P4Smith
17
18#endif /* BACKENDS_P4TOOLS_MODULES_SMITH_TARGETS_TOFINO_REGISTER_H_ */
static void make()
Registers this target.
Definition p4tools/modules/smith/targets/tofino/target.cpp:45