P4C
The P4 Compiler
Loading...
Searching...
No Matches
alloc_setting.h
1
19#ifndef BF_P4C_PHV_ALLOC_SETTING_H_
20#define BF_P4C_PHV_ALLOC_SETTING_H_
21
22namespace PHV {
23
24// AllocSetting holds various alloc settings.
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 /* BF_P4C_PHV_ALLOC_SETTING_H_ */
The namespace encapsulating PHV-related stuff.
Definition gateway.h:32
bool trivial_alloc
Definition alloc_setting.h:30
Definition alloc_setting.h:25