19#ifndef BACKENDS_TOFINO_BF_P4C_PARDE_MATCH_REGISTER_H_
20#define BACKENDS_TOFINO_BF_P4C_PARDE_MATCH_REGISTER_H_
24#include "backends/tofino/bf-p4c/specs/match_register_spec.h"
25#include "lib/cstring.h"
32class MatchRegister :
public MatchRegisterSpec {
34 MatchRegister() =
default;
35 explicit MatchRegister(
cstring n) : MatchRegisterSpec(n) {}
36 explicit MatchRegister(
const MatchRegisterSpec &spec) : MatchRegisterSpec(spec) {}
Definition json_generator.h:39
Definition json_loader.h:41
void toJSON(JSONGenerator &json) const
JSON serialization/deserialization.
Definition match_register.cpp:28
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24