P4C
The P4 Compiler
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
};
23
24
}
// namespace P4::P4Tools
25
26
#endif
/* BACKENDS_P4TOOLS_COMMON_COMPILER_CONVERT_STRUCT_EXPR_H_ */
P4::IR::Node
Definition
node.h:94
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