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
uint64_t
scalarize_threshold
= 32;
13
bool
ascii
=
false
;
14
bool
dump_recursive
=
false
;
15
bool
bootstrap
=
false
;
16
bool
aggressive_lam_spec
=
false
;
// HACK makes LamSpec more agressive but potentially non-terminating
17
#ifdef MIM_ENABLE_CHECKS
18
bool
reeval_breakpoints
=
false
;
19
bool
trace_gids
=
false
;
20
bool
break_on_error
=
false
;
21
bool
break_on_warn
=
false
;
22
bool
break_on_alpha
=
false
;
23
#endif
24
};
25
26
}
// namespace mim
config.h
mim
Definition
ast.h:14
mim::Flags::scalarize_threshold
uint64_t scalarize_threshold
Definition
flags.h:12
mim::Flags::trace_gids
bool trace_gids
Definition
flags.h:19
mim::Flags::break_on_error
bool break_on_error
Definition
flags.h:20
mim::Flags::aggressive_lam_spec
bool aggressive_lam_spec
Definition
flags.h:16
mim::Flags::reeval_breakpoints
bool reeval_breakpoints
Definition
flags.h:18
mim::Flags::bootstrap
bool bootstrap
Definition
flags.h:15
mim::Flags::ascii
bool ascii
Definition
flags.h:13
mim::Flags::break_on_warn
bool break_on_warn
Definition
flags.h:21
mim::Flags::break_on_alpha
bool break_on_alpha
Definition
flags.h:22
mim::Flags::dump_recursive
bool dump_recursive
Definition
flags.h:14
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.16.1