Mercurial > projects > ldc
annotate gen/optimizer.h @ 1173:b0f9652f31de
Forgot to commit this file, sorry
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 29 Mar 2009 18:50:41 +0200 |
parents | |
children | 0b26cfb2d445 |
rev | line source |
---|---|
1173
b0f9652f31de
Forgot to commit this file, sorry
Frits van Bommel <fvbommel wxs.nl>
parents:
diff
changeset
|
1 #ifndef LDC_GEN_OPTIMIZER_H |
b0f9652f31de
Forgot to commit this file, sorry
Frits van Bommel <fvbommel wxs.nl>
parents:
diff
changeset
|
2 #define LDC_GEN_OPTIMIZER_H |
b0f9652f31de
Forgot to commit this file, sorry
Frits van Bommel <fvbommel wxs.nl>
parents:
diff
changeset
|
3 |
b0f9652f31de
Forgot to commit this file, sorry
Frits van Bommel <fvbommel wxs.nl>
parents:
diff
changeset
|
4 namespace llvm { class Module; } |
b0f9652f31de
Forgot to commit this file, sorry
Frits van Bommel <fvbommel wxs.nl>
parents:
diff
changeset
|
5 |
b0f9652f31de
Forgot to commit this file, sorry
Frits van Bommel <fvbommel wxs.nl>
parents:
diff
changeset
|
6 bool ldc_optimize_module(llvm::Module* m); |
b0f9652f31de
Forgot to commit this file, sorry
Frits van Bommel <fvbommel wxs.nl>
parents:
diff
changeset
|
7 |
b0f9652f31de
Forgot to commit this file, sorry
Frits van Bommel <fvbommel wxs.nl>
parents:
diff
changeset
|
8 bool doInline(); |
b0f9652f31de
Forgot to commit this file, sorry
Frits van Bommel <fvbommel wxs.nl>
parents:
diff
changeset
|
9 |
b0f9652f31de
Forgot to commit this file, sorry
Frits van Bommel <fvbommel wxs.nl>
parents:
diff
changeset
|
10 int optLevel(); |
b0f9652f31de
Forgot to commit this file, sorry
Frits van Bommel <fvbommel wxs.nl>
parents:
diff
changeset
|
11 |
b0f9652f31de
Forgot to commit this file, sorry
Frits van Bommel <fvbommel wxs.nl>
parents:
diff
changeset
|
12 bool optimize(); |
b0f9652f31de
Forgot to commit this file, sorry
Frits van Bommel <fvbommel wxs.nl>
parents:
diff
changeset
|
13 |
b0f9652f31de
Forgot to commit this file, sorry
Frits van Bommel <fvbommel wxs.nl>
parents:
diff
changeset
|
14 #endif |