-
Notifications
You must be signed in to change notification settings - Fork 122
/
Copy pathflags.h
52 lines (46 loc) · 1.57 KB
/
flags.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* Module : Data.Array.Accelerate.Debug.Flags
* Copyright : [2017..2020] The Accelerate Team
* License : BSD3
*
* Maintainer : Trevor L. McDonell <[email protected]>
* Stability : experimental
* Portability : non-portable (GHC extensions)
*/
#ifndef __ACCELERATE_FLAGS_H__
#define __ACCELERATE_FLAGS_H__
/* NOTE: [layout of command line options bitfield]
*/
typedef union {
uint32_t bitfield;
struct {
uint32_t seq_sharing : 1;
uint32_t acc_sharing : 1;
uint32_t exp_sharing : 1;
uint32_t fusion : 1;
uint32_t simplify : 1;
uint32_t inplace : 1;
uint32_t fast_math : 1;
uint32_t fast_permute_const : 1;
uint32_t flush_cache : 1;
uint32_t force_recomp : 1;
uint32_t debug : 1;
uint32_t verbose : 1;
uint32_t dump_phases : 1;
uint32_t dump_sharing : 1;
uint32_t dump_fusion : 1;
uint32_t dump_simpl_stats : 1;
uint32_t dump_simpl_iterations : 1;
uint32_t dump_vectorisation : 1;
uint32_t dump_dot : 1;
uint32_t dump_simpl_dot : 1;
uint32_t dump_gc : 1;
uint32_t dump_gc_stats : 1;
uint32_t dump_cc : 1;
uint32_t dump_ld : 1;
uint32_t dump_asm : 1;
uint32_t dump_exec : 1;
uint32_t dump_sched : 1;
};
} __flags_t;
#endif // __ACCELERATE_FLAGS_H__