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
25namespace BFN {
26
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_
Definition visitor.h:400
Definition typeMap.h:41
PassManager that checks if the RegisterActions work on proper Registers.
Definition check_register_actions.h:35
The namespace encapsulating Barefoot/Intel-specific stuff.
Definition add_t2na_meta.cpp:21