P4C
The P4 Compiler
Loading...
Searching...
No Matches
v1_program_structure.h
1
19#ifndef BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_V1_PROGRAM_STRUCTURE_H_
20#define BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_V1_PROGRAM_STRUCTURE_H_
21
22#include "backends/tofino/bf-p4c/arch/program_structure.h"
23#include "backends/tofino/bf-p4c/ir/gress.h"
24#include "frontends/common/resolveReferences/resolveReferences.h"
25#include "frontends/p4/evaluator/evaluator.h"
26#include "ir/ir.h"
27#include "ir/namemap.h"
28#include "lib/ordered_set.h"
29
30namespace BFN {
31
32namespace V1 {
33
39 cstring type_m;
40 const IR::Parameter *user_metadata;
41 bool backward_compatible = false;
42
43 void createParsers() override;
44 void createControls() override;
45 void createMain() override;
46 void createPipeline();
47 const IR::P4Program *create(const IR::P4Program *program) override;
48};
49
50} // namespace V1
51
52} // namespace BFN
53
54#endif /* BACKENDS_TOFINO_BF_P4C_ARCH_FROMV1_0_V1_PROGRAM_STRUCTURE_H_ */
Definition backends/common/programStructure.h:32
Definition cstring.h:85
The namespace encapsulating Barefoot/Intel-specific stuff.
Definition add_t2na_meta.cpp:21
Definition v1_program_structure.h:36
cstring type_h
user program specific info
Definition v1_program_structure.h:38