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 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
Definition ast.h:14
uint64_t scalarize_threshold
Definition flags.h:12
bool trace_gids
Definition flags.h:19
bool break_on_error
Definition flags.h:20
bool aggressive_lam_spec
Definition flags.h:16
bool reeval_breakpoints
Definition flags.h:18
bool bootstrap
Definition flags.h:15
bool ascii
Definition flags.h:13
bool break_on_warn
Definition flags.h:21
bool break_on_alpha
Definition flags.h:22
bool dump_recursive
Definition flags.h:14
Compiler switches that must be saved and looked up in later phases of compilation.
Definition flags.h:11