MimIR
0.1
MimIR is my 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 "
mim/config.h
"
6
7
namespace
mim
{
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
scalarize_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 MIM_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 mim
config.h
mim
Definition
cfg.h:11
mim::Flags::dump_gid
uint32_t dump_gid
Definition
flags.h:12
mim::Flags::scalarize_threshold
uint64_t scalarize_threshold
Definition
flags.h:13
mim::Flags::break_on_alpha_unequal
bool break_on_alpha_unequal
Definition
flags.h:24
mim::Flags::trace_gids
bool trace_gids
Definition
flags.h:21
mim::Flags::break_on_error
bool break_on_error
Definition
flags.h:22
mim::Flags::aggressive_lam_spec
bool aggressive_lam_spec
Definition
flags.h:18
mim::Flags::reeval_breakpoints
bool reeval_breakpoints
Definition
flags.h:20
mim::Flags::bootstrap
bool bootstrap
Definition
flags.h:17
mim::Flags::ascii
bool ascii
Definition
flags.h:14
mim::Flags::break_on_warn
bool break_on_warn
Definition
flags.h:23
mim::Flags::disable_type_checking
bool disable_type_checking
Definition
flags.h:16
mim::Flags::dump_recursive
bool dump_recursive
Definition
flags.h:15
mim::Flags
Compiler switches that must be saved and looked up in later phases of compilation.
Definition
flags.h:11
include
mim
flags.h
Generated by
1.12.0