P4C
The P4 Compiler
Loading...
Searching...
No Matches
alloc_setting.h
1
18
19
#ifndef BACKENDS_TOFINO_BF_P4C_PHV_ALLOC_SETTING_H_
20
#define BACKENDS_TOFINO_BF_P4C_PHV_ALLOC_SETTING_H_
21
22
namespace
PHV
{
23
24
// AllocSetting holds various alloc settings.
25
struct
AllocSetting
{
30
bool
trivial_alloc
=
false
;
31
bool
no_code_change =
false
;
// true if disable metadata and dark init.
32
bool
physical_liverange_overlay =
false
;
// true if allow physical liverange overlay.
33
bool
limit_tmp_creation =
false
;
// true if intermediate tmp value are limited.
34
bool
single_gress_parser_group =
false
;
// true if PragmaParserGroupMonogress enabled.
35
bool
prioritize_ara_inits =
false
;
// true if PragmaPrioritizeARAinits enabled.
36
bool
physical_stage_trivial =
false
;
// true if minstage based trivial alloc failed.
37
};
38
39
}
// namespace PHV
40
41
#endif
/* BACKENDS_TOFINO_BF_P4C_PHV_ALLOC_SETTING_H_ */
PHV
The namespace encapsulating PHV-related stuff.
Definition
bf-p4c/mau/gateway.h:32
PHV::AllocSetting::trivial_alloc
bool trivial_alloc
Definition
alloc_setting.h:30
PHV::AllocSetting
Definition
alloc_setting.h:25
backends
tofino
bf-p4c
phv
alloc_setting.h
Generated by
1.13.2