kai
e6a07ffdfe
Several changes to optimizer related code.
...
- New functions codeGenOptLevel() and verifyModule() to remove code duplication
- Hidden option no-verify renamed to disable-verify and moved to optimizer (like opt tool)
- Removed global.params.noVerify
2012-08-16 23:26:52 +02:00
kai
c01cae1c2b
Prefer C++-style casts.
...
This is based on Item 2 of "More Effective C++". In general, the C++ cast operators are more expressive and easy to find,
e.g. by grep. Using const_cast also shuts up some compiler warnings.
2012-08-03 22:46:14 +02:00
kai
76cf66f50b
Expose LLVM as global version symbol.
...
Required because prototypes of intrinsics changed between 3.0 and 3.1.
2012-08-03 16:44:34 +02:00
kai
8d06145ac0
Fixes ticket 457 from dsource.org.
...
-mattr=help does not printout help without source file
2012-07-29 20:46:14 +02:00
kai
10a0bdf891
More unification work.
2012-07-29 15:19:13 +02:00
kai
41bf3ea5c8
Fix warning about casting away constness by using const_cast<>.
2012-07-25 18:20:42 +02:00
kai
508dd9ff70
Simplify CMakeLists.txt.
...
This version works with LLVM 3.0 and 3.1.
2012-07-24 23:33:15 +02:00
kai
54d054b00c
Fix #142 .
2012-07-20 18:43:32 +02:00
kai
a69c90ee6a
Change error message for -mtriple argument. Should finally fix #130 .
2012-07-20 17:29:56 +02:00
kai
b71429fc2a
Differentiate between Win32 and MinGW.
...
Removes also serach for OS name windows because this is unsupported by LLVM.
2012-07-20 06:48:29 +02:00
kai
d986d08f37
Add info about registered targets (mimic LLVM tools).
2012-07-16 23:32:57 +02:00
kai
d78fee1b7f
Add version identifier for Win64.
2012-07-14 21:46:39 +02:00
alexrp
b12784aa4e
Define ARM even in Thumb mode.
2012-07-08 03:25:49 +02:00
alexrp
22302f5f45
Correctly define D_PIC version identifier when relocation model is PIC.
2012-06-10 21:29:28 +02:00
alexrp
00926c5654
Return 0 immediately after printing -version/--version.
2012-06-09 20:43:50 +02:00
Eldar Insafutdinov
a8398d64e8
Moved configfile to the driver
2012-04-03 21:18:16 +01:00
Eldar Insafutdinov
feefad412c
Move cl_options out of LDCShared
2012-04-02 14:53:52 +01:00
Eldar Insafutdinov
71044056e4
split toobj.cpp and moved writeModule outside of LDCShared
2012-04-02 00:11:30 +01:00
Eldar Insafutdinov
0b411b873c
Separated compiler from the driver into the shared library
2012-04-01 22:06:08 +01:00