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
7namespace thorin {
8
9/// Compiler switches that must be saved and looked up in later phases of compilation.
10/// @see @ref cli
11struct 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;
25#endif
26};
27
28} // namespace thorin
Definition cfg.h:11
bool trace_gids
Definition flags.h:21
bool bootstrap
Definition flags.h:17
bool aggressive_lam_spec
Definition flags.h:18
uint64_t scalerize_threshold
Definition flags.h:13
bool dump_recursive
Definition flags.h:15
bool disable_type_checking
Definition flags.h:16
bool break_on_error
Definition flags.h:22
bool break_on_alpha_unequal
Definition flags.h:24
bool break_on_warn
Definition flags.h:23
bool reeval_breakpoints
Definition flags.h:20
bool ascii
Definition flags.h:14
uint32_t dump_gid
Definition flags.h:12
Compiler switches that must be saved and looked up in later phases of compilation.
Definition flags.h:11