Thorin
1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
flags.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
#include "
thorin/config.h
"
6
7
namespace
thorin
{
8
9
/// Compiler switches that must be saved and looked up in later phases of compilation.
10
/// @see @ref cli
11
struct
Flags
{
12
uint32_t
dump_gid
= 0;
13
uint64_t
scalerize_threshold
= 32;
14
bool
ascii
=
false
;
15
bool
dump_recursive
=
false
;
16
bool
disable_type_checking
=
false
;
// TODO implement this flag
17
bool
bootstrap
=
false
;
18
bool
aggressive_lam_spec
=
false
;
// HACK makes LamSpec more agressive but potentially non-terminating
19
#ifdef THORIN_ENABLE_CHECKS
20
bool
reeval_breakpoints
=
false
;
21
bool
trace_gids
=
false
;
22
bool
break_on_error
=
false
;
23
bool
break_on_warn
=
false
;
24
bool
break_on_alpha_unequal
=
false
;
25
#endif
26
};
27
28
}
// namespace thorin
config.h
thorin
Definition
cfg.h:11
thorin::Flags::trace_gids
bool trace_gids
Definition
flags.h:21
thorin::Flags::bootstrap
bool bootstrap
Definition
flags.h:17
thorin::Flags::aggressive_lam_spec
bool aggressive_lam_spec
Definition
flags.h:18
thorin::Flags::scalerize_threshold
uint64_t scalerize_threshold
Definition
flags.h:13
thorin::Flags::dump_recursive
bool dump_recursive
Definition
flags.h:15
thorin::Flags::disable_type_checking
bool disable_type_checking
Definition
flags.h:16
thorin::Flags::break_on_error
bool break_on_error
Definition
flags.h:22
thorin::Flags::break_on_alpha_unequal
bool break_on_alpha_unequal
Definition
flags.h:24
thorin::Flags::break_on_warn
bool break_on_warn
Definition
flags.h:23
thorin::Flags::reeval_breakpoints
bool reeval_breakpoints
Definition
flags.h:20
thorin::Flags::ascii
bool ascii
Definition
flags.h:14
thorin::Flags::dump_gid
uint32_t dump_gid
Definition
flags.h:12
thorin::Flags
Compiler switches that must be saved and looked up in later phases of compilation.
Definition
flags.h:11
include
thorin
flags.h
Generated by
1.9.8