P4C
The P4 Compiler
Loading...
Searching...
No Matches
check_register_actions.h
1
19
#ifndef BACKENDS_TOFINO_BF_P4C_MIDEND_CHECK_REGISTER_ACTIONS_H_
20
#define BACKENDS_TOFINO_BF_P4C_MIDEND_CHECK_REGISTER_ACTIONS_H_
21
22
#include "frontends/p4/typeMap.h"
23
#include "ir/ir.h"
24
25
namespace
BFN
{
26
35
class
CheckRegisterActions
:
public
Inspector
{
36
P4::TypeMap
*typeMap;
37
38
bool
preorder(
const
IR::Declaration_Instance *di)
override
;
39
40
public
:
41
explicit
CheckRegisterActions
(
P4::TypeMap
*typeMap) : typeMap(typeMap) {}
42
};
43
44
}
// namespace BFN
45
46
#endif
// BACKENDS_TOFINO_BF_P4C_MIDEND_CHECK_REGISTER_ACTIONS_H_
P4::Inspector
Definition
visitor.h:400
P4::TypeMap
Definition
typeMap.h:41
BFN::CheckRegisterActions
PassManager that checks if the RegisterActions work on proper Registers.
Definition
check_register_actions.h:35
BFN
The namespace encapsulating Barefoot/Intel-specific stuff.
Definition
add_t2na_meta.cpp:21
backends
tofino
bf-p4c
midend
check_register_actions.h
Generated by
1.12.0