P4C
The P4 Compiler
Loading...
Searching...
No Matches
count_strided_header_refs.h
1
19#ifndef BACKENDS_TOFINO_BF_P4C_PARDE_COUNT_STRIDED_HEADER_REFS_H_
20#define BACKENDS_TOFINO_BF_P4C_PARDE_COUNT_STRIDED_HEADER_REFS_H_
21
22#include "ir/visitor.h"
23
24using namespace P4;
25
27 std::map<cstring, std::set<unsigned>> header_stack_to_indices;
28
29 bool preorder(const IR::HeaderStackItemRef *hs);
30};
31
32#endif /* BACKENDS_TOFINO_BF_P4C_PARDE_COUNT_STRIDED_HEADER_REFS_H_ */
Definition visitor.h:400
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24
Definition count_strided_header_refs.h:26
bool preorder(const IR::HeaderStackItemRef *hs)
Definition count_strided_header_refs.cpp:23