P4C
The P4 Compiler
Loading...
Searching...
No Matches
copy_header.h
1
18
19
#ifndef BACKENDS_TOFINO_BF_P4C_MIDEND_COPY_HEADER_H_
20
#define BACKENDS_TOFINO_BF_P4C_MIDEND_COPY_HEADER_H_
21
22
#include "frontends/p4/typeChecking/typeChecker.h"
23
#include "ir/ir.h"
24
25
// Whilst the original PR consolidated code, moving it out of the back-end and
26
// canonicalising the IR sooner, it caused ripples that caused issue to the PHV allocator.
27
// For now, we only partially implement the PR by setting `ENABLE_P4C3251 0`.
28
#define ENABLE_P4C3251 0
29
30
namespace
BFN
{
31
32
class
CopyHeaders :
public
PassRepeated {
33
public
:
34
CopyHeaders(
P4::ReferenceMap
*refMap,
P4::TypeMap
*typeMap,
P4::TypeChecking
*typeChecking);
35
};
36
37
}
// namespace BFN
38
39
#endif
/* BACKENDS_TOFINO_BF_P4C_MIDEND_COPY_HEADER_H_ */
P4::ReferenceMap
Class used to encode maps from paths to declarations.
Definition
referenceMap.h:66
P4::TypeChecking
Definition
typeChecker.h:55
P4::TypeMap
Definition
typeMap.h:41
BFN
The namespace encapsulating Barefoot/Intel-specific stuff.
Definition
add_t2na_meta.cpp:21
backends
tofino
bf-p4c
midend
copy_header.h
Generated by
1.13.2