P4C
The P4 Compiler
Loading...
Searching...
No Matches
simplify_references.h
1
19#ifndef _MIDEND_SIMPLIFY_REFERENCES_H_
20#define _MIDEND_SIMPLIFY_REFERENCES_H_
21
22#include <vector>
23
24#include "ir/ir.h"
25#include "ir/pass_manager.h"
26
27namespace P4 {
28class ReferenceMap;
29class TypeMap;
30} // namespace P4
31
32class ParamBinding;
33
48struct SimplifyReferences : public PassManager {
62 SimplifyReferences(ParamBinding *bindings, P4::ReferenceMap *refMap, P4::TypeMap *typeMap);
63};
64
65#endif /* _MIDEND_SIMPLIFY_REFERENCES_H_ */
Class used to encode maps from paths to declarations.
Definition referenceMap.h:66
Definition typeMap.h:41
Definition param_binding.h:32
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24
Definition simplify_references.h:48
SimplifyReferences(ParamBinding *bindings, P4::ReferenceMap *refMap, P4::TypeMap *typeMap)
Definition simplify_references.cpp:300