P4C
The P4 Compiler
Toggle main menu visibility
Main Page
P4C Repository Organization
Getting Started
P4C Intermediate Representation (IR)
Frontend
Midend
Backends
Behavioral Model Backend
DPDK Backend
eBPF Backend
TC Backend
uBPF Backend
P4test Backend
Graphs Backend
p4fmt (P4 Formatter)
P4Tools
P4Smith
P4Testgen
Contribute to the P4 Compiler Project
Releases
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
x
z
Functions
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
x
Variables
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Typedefs
Enumerations
Enumerator
Related Symbols
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
Loading...
Searching...
No Matches
convert_struct_expr.h
1
#ifndef BACKENDS_P4TOOLS_COMMON_COMPILER_CONVERT_STRUCT_EXPR_H_
2
#define BACKENDS_P4TOOLS_COMMON_COMPILER_CONVERT_STRUCT_EXPR_H_
3
4
#include "frontends/p4/typeMap.h"
5
#include "ir/ir.h"
6
#include "ir/node.h"
7
#include "ir/visitor.h"
8
9
namespace
P4::P4Tools
{
10
14
class
ConvertStructExpr
:
public
Transform
{
15
private
:
16
const
P4::TypeMap
*typeMap;
17
18
public
:
19
explicit
ConvertStructExpr
(
const
P4::TypeMap
*typeMap);
20
21
const
IR::Node
*postorder(IR::StructExpression *expr)
override
;
22
};
14
class
ConvertStructExpr
:
public
Transform
{
…
};
23
24
}
// namespace P4::P4Tools
25
26
#endif
/* BACKENDS_P4TOOLS_COMMON_COMPILER_CONVERT_STRUCT_EXPR_H_ */
P4::IR::Node
Definition
node.h:95
P4::P4Tools::ConvertStructExpr
Definition
convert_struct_expr.h:14
P4::Transform
Definition
visitor.h:424
P4::TypeMap
Definition
typeMap.h:41
P4::P4Tools
Definition
common/compiler/compiler_result.cpp:3
backends
p4tools
common
compiler
convert_struct_expr.h
Generated by
1.12.0