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