P4C
The P4 Compiler
Loading...
Searching...
No Matches
wred.h
1
19
#ifndef BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_WRED_H_
20
#define BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_WRED_H_
21
22
#include "frontends/p4-14/fromv1.0/converters.h"
23
24
namespace
P4
{
25
namespace
P4V1 {
26
27
class
WREDConverter
:
public
ExternConverter
{
28
WREDConverter
();
29
static
WREDConverter
singleton;
30
31
public
:
32
const
IR::Type_Extern *convertExternType(
P4V1::ProgramStructure
*,
const
IR::Type_Extern *,
33
cstring
)
override
;
34
const
IR::Declaration_Instance *convertExternInstance(
35
P4V1::ProgramStructure
*,
const
IR::Declaration_Instance *,
cstring
,
36
IR::IndexedVector<IR::Declaration>
*)
override
;
37
const
IR::Statement *convertExternCall(
P4V1::ProgramStructure
*,
38
const
IR::Declaration_Instance *,
39
const
IR::Primitive *)
override
;
40
};
41
42
}
// namespace P4V1
43
}
// namespace P4
44
45
#endif
/* BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_WRED_H_ */
P4::IR::IndexedVector
Definition
node.h:52
P4::P4V1::ExternConverter
Definition
converters.h:97
P4::P4V1::ProgramStructure
Information about the structure of a P4-14 program, used to convert it to a P4-16 program.
Definition
frontends/p4-14/fromv1.0/programStructure.h:45
P4::P4V1::WREDConverter
Definition
wred.h:27
P4::cstring
Definition
cstring.h:85
P4
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition
applyOptionsPragmas.cpp:24
backends
tofino
bf-p4c
arch
fromv1.0
wred.h
Generated by
1.12.0