Mercurial > projects > ldc
annotate gen/optimizer.h @ 1257:7af860e4f403
Changes for mingw to compile properly
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Wed, 22 Apr 2009 14:49:49 -0600 |
parents | 0b26cfb2d445 |
children | d9c5f5a43403 |
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 |
1174
0b26cfb2d445
Add newlines to end of file.
Christian Kamm <kamm incasoftware de>
parents:
1173
diff
changeset
|
14 #endif |
0b26cfb2d445
Add newlines to end of file.
Christian Kamm <kamm incasoftware de>
parents:
1173
diff
changeset
|
15 |