P4C
The P4 Compiler
Loading...
Searching...
No Matches
tofino/bf-p4c/midend/check_unsupported.h
1
19#ifndef BF_P4C_MIDEND_CHECK_UNSUPPORTED_H_
20#define BF_P4C_MIDEND_CHECK_UNSUPPORTED_H_
21
22#include "frontends/common/resolveReferences/referenceMap.h"
23#include "frontends/p4/typeMap.h"
24#include "ir/ir.h"
25
26namespace P4 {
27class TypeMap;
28} // namespace P4
29
30namespace BFN {
31
36class CheckUnsupported final : public Inspector {
37 bool preorder(const IR::PathExpression *path_expression) override;
38 void postorder(const IR::P4Table *) override;
39 bool preorder(const IR::Declaration_Instance *instance) override;
40
41 public:
43};
44
45} // namespace BFN
46
47#endif /* BF_P4C_MIDEND_CHECK_UNSUPPORTED_H_ */
Definition visitor.h:400
Class used to encode maps from paths to declarations.
Definition referenceMap.h:66
Definition typeMap.h:41
Check for unsupported features in the backend compiler.
Definition tofino/bf-p4c/midend/check_unsupported.h:36
The namespace encapsulating Barefoot/Intel-specific stuff.
Definition add_t2na_meta.cpp:21
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24