Remove building with NOCRYPTO option
[minix.git] / minix / llvm / passes / include / asr / ASRPass.h
blob6a8f239f70674d3319b8708819ba1e1a08b0a865
1 #ifndef ASR_PASS_H
3 #define ASR_PASS_H
5 #include <pass.h>
7 #define DEFAULT_SEED 0
9 #define GV_DEFAULT_MAX_OFFSET 10000
10 #define GV_DEFAULT_MAX_PADDING 50
11 #define GV_DEFAULT_DO_PERMUTATE 1
13 #define FUNC_DEFAULT_MAX_OFFSET 10000
14 #define FUNC_DEFAULT_MAX_PADDING 100
15 #define FUNC_DEFAULT_MAX_BB_SHIFT 50
16 #define FUNC_DEFAULT_DO_PERMUTATE 1
18 #define STACK_DEFAULT_DO_OFFSET 1
19 #define STACK_DEFAULT_MAX_OFFSET 50
21 #define STACKFRAME_DEFAULT_DO_OFFSET 1
22 #define STACKFRAME_DEFAULT_MAX_OFFSET 50
23 #define STACKFRAME_DEFAULT_MAX_PADDING 5000
24 #define STACKFRAME_DEFAULT_DO_PERMUTATE 1
25 #define STACKFRAME_DEFAULT_STATIC_PADDING 1
26 #define STACKFRAME_DEFAULT_CALLER_PADDING 0 // broken, disabled (see note in code)
28 #define HEAP_MAP_DEFAULT_DO_PERMUTATE 1
30 #define HEAP_DEFAULT_MAX_OFFSET 10000
31 #define HEAP_DEFAULT_MAX_PADDING 100
33 #define MAP_DEFAULT_MAX_OFFSET_PAGES 10
34 #define MAP_DEFAULT_MAX_PADDING_PAGES 3
36 using namespace llvm;
38 namespace llvm {
40 class ASRPass : public ModulePass {
42 public:
43 static char ID;
45 ASRPass();
47 virtual bool runOnModule(Module &M);
53 #endif