P4C
The P4 Compiler
Loading...
Searching...
No Matches
pa_solitary.h
1
19
#ifndef BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_SOLITARY_H_
20
#define BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_SOLITARY_H_
21
22
#include "backends/tofino/bf-p4c/phv/phv_fields.h"
23
#include "ir/ir.h"
24
25
using namespace
P4
;
26
27
class
PragmaSolitary
:
public
Inspector
{
28
PhvInfo
&phv_i;
29
30
bool
preorder(
const
IR::BFN::Pipe *pipe)
override
;
31
32
public
:
33
explicit
PragmaSolitary
(
PhvInfo
&phv) : phv_i(phv) {}
34
36
static
const
char
*
name
;
37
static
const
char
*description;
38
static
const
char
*help;
39
};
40
41
#endif
/* BACKENDS_TOFINO_BF_P4C_PHV_PRAGMA_PA_SOLITARY_H_ */
P4::Inspector
Definition
visitor.h:400
PhvInfo
Definition
phv_fields.h:1095
PragmaSolitary
Definition
pa_solitary.h:27
PragmaSolitary::name
static const char * name
BFN::Pragma interface.
Definition
pa_solitary.h:36
P4
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition
applyOptionsPragmas.cpp:24
backends
tofino
bf-p4c
phv
pragma
pa_solitary.h
Generated by
1.12.0