|
|
|
@1650:40bd4a0d4870
|
[1650:40bd4a0d4870]
|
05/19/10 06:42:32 |
Tomas Lindquist Olsen |
Update to work with LLVM 2.7.
Removed use of dyn_cast, llvm no … |
|
|
|
@1575:299a6b634178
|
[1575:299a6b634178]
|
08/25/09 15:21:37 |
Benjamin Kramer <benny.kra@gmail.com> |
This flush is not needed anymore. |
|
|
|
@1572:30bdcfb8299e
|
[1572:30bdcfb8299e]
|
08/13/09 19:43:30 |
Benjamin Kramer <benny.kra@gmail.com> |
Avoid some unecessary heap allocations by using llvm's StringRef? class. |
|
|
|
@1571:8d086d552909
|
[1571:8d086d552909]
|
08/13/09 18:39:18 |
Benjamin Kramer <benny.kra@gmail.com> |
IntegerType? is now contextifed.
Requires llvm >= 78969. resistor says … |
|
|
|
@1569:755abafbf25d
|
[1569:755abafbf25d]
|
08/05/09 19:47:39 |
Benjamin Kramer <benny.kra@gmail.com> |
Push the context through StructType::get.
Requires LLVM >= 78258. Also … |
|
|
|
@1566:c03d164e96d9
|
[1566:c03d164e96d9]
|
08/04/09 06:21:59 |
Benjamin Kramer <benny.kra@gmail.com> |
lookupTarget no longer takes a Module.
And we need to get TargetData? from … |
|
|
|
@1560:1d5c3354b3c2
|
[1560:1d5c3354b3c2]
|
07/31/09 17:01:29 |
Benjamin Kramer <benny.kra@gmail.com> |
getNullValue is in Constant again
Requires LLVM >= r77721 |
|
|
|
@1554:d6e8d5db259f
|
[1554:d6e8d5db259f]
|
07/30/09 09:25:10 |
Benjamin Kramer <benny.kra@gmail.com> |
LLVMContext changes up to r77366 |
|
|
|
@1547:259b031f3d22
|
[1547:259b031f3d22]
|
07/20/09 12:16:11 |
Benjamin Kramer <benny.kra@gmail.com> |
Some minor cleanups
* remove an #ifdef USE_METADATA I accidently left … |
|
|
|
@1542:ba2a5d2fe748
|
[1542:ba2a5d2fe748]
|
07/15/09 14:04:42 |
Benjamin Kramer <benny.kra@gmail.com> |
raw_fd_ostream takes a force parameter now
Build fix for LLVM 75801. |
|
|
|
@1541:1e7a09548e67
|
[1541:1e7a09548e67]
|
07/14/09 17:06:31 |
Benjamin Kramer <benny.kra@gmail.com> |
Target.addPassesToEmitFile takes a formatted_raw_ostream now
Build fix … |
|
|
|
@1535:61f12f4651b5
|
[1535:61f12f4651b5]
|
07/13/09 14:16:15 |
Benjamin Kramer <benny.kra@gmail.com> |
Don't use llvm::getGlobalContext() anymore |
|
|
|
@1534:8ca25bd765a3
|
[1534:8ca25bd765a3]
|
07/13/09 06:17:58 |
Benjamin Kramer <benny.kra@gmail.com> |
Build fix for the latest LLVMContext changes (LLVM r75445)
This shouldn't … |
|
|
|
@1532:c88b16d4a13c
|
[1532:c88b16d4a13c]
|
07/11/09 08:09:33 |
Benjamin Kramer <benny.kra@gmail.com> |
Remove all of the now unecessary #if LLVM_REV |
|
|
|
@1529:ad7f2f1862d6
|
[1529:ad7f2f1862d6]
|
07/10/09 15:30:02 |
Christian Kamm <kamm incasoftware de> |
Adjust LDC to work with the LLVMContext LLVM changes.
This means we now … |
|
|
|
@1521:982eb70e83b2
|
[1521:982eb70e83b2]
|
07/03/09 11:24:35 |
Benjamin Kramer <benny.kra@gmail.com> |
Fix build for LLVM >= r74640
Some LLVM objects now take a 'Context' to … |
|
|
|
@1502:2292878925f4
|
[1502:2292878925f4]
|
06/16/09 13:31:10 |
Frits van Bommel <fvbommel wxs.nl> |
Add an llvm::OStream workalike class for use with Logger::cout(), with … |
|
|
|
@1478:4dca8ed9d8b7
|
[1478:4dca8ed9d8b7]
|
06/06/09 03:47:32 |
Christian Kamm <kamm incasoftware de> |
Fix #318 by making a list of all seen template instances in a module … |
|
|
|
@1467:630fc54f7c1e
|
[1467:630fc54f7c1e]
|
06/03/09 06:32:35 |
Frits van Bommel <fvbommel wxs.nl> |
Fix a bug in DtoNestedInit? and update an unrelated comment. |
|
|
|
@1464:93644700a0b3
|
[1464:93644700a0b3]
|
06/02/09 21:04:47 |
Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
Some minor changes to handling of variables referenced from nested … |
|
|
|
@1456:7b218ec1044f
|
[1456:7b218ec1044f]
|
06/02/09 12:12:37 |
Robert Clipsham <robert@octarineparrot.com> |
Automated merge with http://hg.dsource.org/projects/ldc |
|
|
|
@1453:f35a9a77d256
|
[1453:f35a9a77d256]
|
06/01/09 13:58:21 |
Robert Clipsham <robert@octarineparrot.com> |
More tweaks. |
|
|
|
@1450:83bdf7bed9c5
|
[1450:83bdf7bed9c5]
|
06/01/09 17:17:47 |
Frits van Bommel <fvbommel wxs.nl> |
Fix a type mismatch in ModuleInfo? generation. |
|
|
|
@1386:402bffb1b356
|
[1386:402bffb1b356]
|
05/17/09 11:04:47 |
Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
Use RTTIBuilder to build ModuleInfo, still needs some work. |
|
|
|
@1380:98d435fa2a2d
|
[1380:98d435fa2a2d]
|
05/17/09 08:40:09 |
Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
Added error messages when failed to open files for .bc and .ll output, … |
|
|
|
@1379:d430a41fbb45
|
[1379:d430a41fbb45]
|
05/17/09 08:20:27 |
Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
Add error message when failed to open output stream for native asm output. … |
|
|
|
@1364:46f6365a50d7
|
[1364:46f6365a50d7]
|
05/16/09 12:19:52 |
Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
Added IrTypeFunction? and IrTypeDelegate? and eliminated IrDType. This means … |
|
|
|
@1341:681dd955c53b
|
[1341:681dd955c53b]
|
05/10/09 14:22:08 |
Frits van Bommel <fvbommel wxs.nl> |
Run backend without optimizations when no optimization parameters were … |
|
|
|
@1299:847b767b2d0b
|
[1299:847b767b2d0b]
|
05/04/09 07:32:16 |
Frits van Bommel <fvbommel wxs.nl> |
Factor out the code to find gcc, and add a command-line option to override … |
|
|
|
@1280:00a307a393f2
|
[1280:00a307a393f2]
|
04/30/09 05:56:03 |
Frits van Bommel <fvbommel wxs.nl> |
Now the backend wants an enum value as optimization level.
Hopefully … |
|
|
|
@1276:fa20726fe074
|
[1276:fa20726fe074]
|
04/29/09 04:26:28 |
Frits van Bommel <fvbommel wxs.nl> |
Update codegen to (hopefully) work correctly with newer LLVM trunk, … |
|
|
|
@1271:0686701178d3
|
[1271:0686701178d3]
|
04/27/09 07:30:48 |
Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
Moved special casing of 'assert(this, "null this");' generated statements … |
|
|
|
@1266:17d4d554300a
|
[1266:17d4d554300a]
|
04/26/09 12:21:07 |
Christian Kamm <kamm incasoftware de> |
Force 'fast' compilation when debug info is requested. LLVM trunk seems … |
|
|
|
@1247:2a92c115461d
|
[1247:2a92c115461d]
|
04/17/09 11:16:55 |
Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
Disabled resetting types between modules MAO (more at once). Fixes … |
|
|
|
@1241:fc579f389f9a
|
[1241:fc579f389f9a]
|
04/16/09 18:54:20 |
Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
ClassInfo instances were not mutable, this is necessary for .classinfo … |
|
|
|
@1228:79758fd2f48a
|
[1228:79758fd2f48a]
|
04/15/09 14:06:25 |
Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
Added Doxygen file.
Completely seperated type and symbol generation. … |
|
|
|
@1184:a6dbd571d417
|
[1184:a6dbd571d417]
|
03/31/09 14:21:28 |
Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
Moved ir/irtype.* into ir/irdtype.*.
Renamed IrType? to IrDType, analogous … |
|
|
|
@1170:e40c65bd8c5d
|
[1170:e40c65bd8c5d]
|
03/29/09 09:46:55 |
Frits van Bommel <fvbommel wxs.nl> |
Allow specific optimization passes to be requested from the command … |
|
|
|
@1163:ea52660f828b
|
[1163:ea52660f828b]
|
03/28/09 15:45:33 |
Christian Kamm <kamm incasoftware de> |
Emit function bodies before generating the module info to make sure … |
|
|
|
@1161:f528e55fb32f
|
[1161:f528e55fb32f]
|
03/28/09 15:01:37 |
Christian Kamm <kamm incasoftware de> |
Force initialize the runtime module in Module::genLLVMModule. It is … |
|
|
|
@1148:3d1b16dabd25
|
[1148:3d1b16dabd25]
|
03/27/09 16:50:32 |
Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
Eliminated the need for resolve, declare, const-init and define lists to … |
|
|
|
@1147:dbe4af57b240
|
[1147:dbe4af57b240]
|
03/27/09 12:54:27 |
Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
Changed use of toObjFile to a new codegen method.
More versioning of DMD … |
|
|
|
@1146:1860414bf3b7
|
[1146:1860414bf3b7]
|
03/26/09 15:45:53 |
Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
* Moved ir/irsymbol.cpp/h into ir/irdsymbol.cpp/h.
* Added #if IN_DMD … |
|
|
|
@1062:b9f9bde1707e
|
[1062:b9f9bde1707e]
|
03/08/09 06:46:55 |
Frits van Bommel <fvbommel wxs.nl> |
Make error message on assembler failure more informative (hopefully) |
|
|
|
@1052:12ea38902e83
|
[1052:12ea38902e83]
|
03/07/09 13:38:00 |
Christian Kamm <kamm incasoftware de> |
Add '-singleobj' command line switch that will tell LDC to link LLVM … |
|
|
|
@1026:f756c47f310a
|
[1026:f756c47f310a]
|
03/01/09 16:59:03 |
Frits van Bommel <fvbommel wxs.nl> |
Pass -m32/-m64 on to gcc when assembling and linking |
|
|
|
@1005:5aa5d25508c6
|
[1005:5aa5d25508c6]
|
02/28/09 03:06:25 |
Christian Kamm <kamm incasoftware de> |
Don't reset gTargetData after compiling a module. Fixes segfault … |
|
|
|
@994:18ad5601dff7
|
[994:18ad5601dff7]
|
02/26/09 08:51:02 |
Frits van Bommel <fvbommel wxs.nl> |
Use LLVM OStream wrapper instead of <iostream> in the … |
|
|
|
@993:27956b440c0a
|
[993:27956b440c0a]
|
02/26/09 09:24:20 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Fixed const/invariant struc/class fields of the form const int i = 4; they … |
|
|
|
@988:2667e3a145be
|
[988:2667e3a145be]
|
02/26/09 08:11:49 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
- Fixed LLVM style CL args for D2.
- Moved main() into its own file … |
|
|
|
@986:a8cb25d478c4
|
[986:a8cb25d478c4]
|
02/25/09 11:34:51 |
Frits van Bommel <fvbommel wxs.nl> |
Use LLVM-style command line (instead of DMD-style)
Note: For a backward … |
|
|
|
@951:e71c61befd6d
|
[951:e71c61befd6d]
|
02/12/09 12:39:03 |
Christian Kamm <kamm incasoftware de> |
Now that we're using LLVM 2.5, we can stop always running … |
|
|
|
@946:1714836f2c0b
|
[946:1714836f2c0b]
|
02/08/09 10:50:22 |
Christian Kamm <kamm incasoftware de> |
Mostly rewrite debug info generation in terms of … |
|
|
|
@945:03d7c4aac654
|
[945:03d7c4aac654]
|
02/07/09 23:26:54 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
SWITCHED TO LLVM 2.5 !
Applied patch from ticket #129 to compile against … |
|
|
|
@936:2ebac4750adb
|
[936:2ebac4750adb]
|
02/03/09 20:10:23 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Removed some dead code.
Fixed assertion filenames for imported template … |
|
|
|
@933:d3a6f1a96731
|
[933:d3a6f1a96731]
|
02/03/09 18:04:09 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Replace assertion with errormessage for unsupported calling conventions. … |
|
|
|
@920:545f54041d91
|
[920:545f54041d91]
|
02/03/09 02:54:57 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Implemented proper support for naked asm using llvm module level asm. … |
|
|
|
@919:c76f74d09fb1
|
[919:c76f74d09fb1]
|
02/01/09 20:35:44 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Fixed assertion failure when object.d is missing the ModuleInfo? class |
|
|
|
@902:893d72ab95d0
|
[902:893d72ab95d0]
|
01/23/09 04:12:57 |
Christian Kamm <kamm incasoftware de> |
Add -m64 switch to gcc calls on 64-bit platforms. |
|
|
|
@890:5a03f3f74615
|
[890:5a03f3f74615]
|
01/17/09 11:52:09 |
Christian Kamm <kamm incasoftware de> |
Apply afb's patch from #168 to use $CC instead of "gcc" for toobj and … |
|
|
|
@852:c1aeb2d0b559
|
[852:c1aeb2d0b559]
|
12/14/08 10:39:27 |
Christian Kamm <kamm incasoftware de> |
Missed line when removing env sanitizing. |
|
|
|
@849:ba390e5e9150
|
[849:ba390e5e9150]
|
12/14/08 10:30:06 |
Christian Kamm <kamm incasoftware de> |
Remove unportable env-sanitizing code. If it is really needed, it needs to … |
|
|
|
@824:b972fec8a5f5
|
[824:b972fec8a5f5]
|
12/04/08 08:36:11 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Fixed problem with moduleinfo thinking it imports itself, causing … |
|
|
|
@815:35de5ba7d36d
|
[815:35de5ba7d36d]
|
12/01/08 09:21:33 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Added error when gcc cannot be found. |
|
|
|
@814:05f2651caa6c
|
[814:05f2651caa6c]
|
12/01/08 09:18:22 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Added error when invoking gcc fails |
|
|
|
@811:8e6135be6999
|
[811:8e6135be6999]
|
11/30/08 20:10:16 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Fixed ModuleInfo? generation to no longer use the ModuleInfo? class' default … |
|
|
|
@810:67fcd9df8b79
|
[810:67fcd9df8b79]
|
11/30/08 14:41:17 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Fixed ModuleInfo? patch check, failed on 64bit |
|
|
|
@797:340acf1535d0
|
[797:340acf1535d0]
|
11/29/08 15:25:43 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Removed KDevelop3 project files, CMake can generate them just fine!
Fixed … |
|
|
|
@766:af04bbae8553
|
[766:af04bbae8553]
|
11/11/08 23:40:31 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
D2: Fixed global constants not initialized until module constructor. |
|
|
|
@763:9a9f403ab399
|
[763:9a9f403ab399]
|
11/12/08 01:22:05 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
D2 changes!
Removed druntime from the repository again.. Sorry :/
Updated … |
|
|
|
@758:f04dde6e882c
|
[758:f04dde6e882c]
|
11/10/08 19:38:48 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Added initial D2 support, D2 frontend and changes to codegen to make … |
|
|
|
@751:dc8b8b7ea0c1
|
[751:dc8b8b7ea0c1]
|
11/03/08 06:35:29 |
Christian Kamm <kamm incasoftware de> |
Fix compile-time warnings. Adjust include in d-asm-i386. |
|
|
|
@737:041c1596d217
|
[737:041c1596d217]
|
10/28/08 10:41:09 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Removed warnings on ignored aligns. Only do aligment on packed structs, … |
|
|
|
@735:eee9efe5b51f
|
[735:eee9efe5b51f]
|
10/27/08 12:37:34 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Attempt at getting LLVM to provide a proper target data layout. Should … |
|
|
|
@733:cc8ba72c0350
|
[733:cc8ba72c0350]
|
10/26/08 20:40:47 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Nested access to with statement should work now. fixes #105 |
|
|
|
@732:6aeaef263289
|
[732:6aeaef263289]
|
10/26/08 20:11:41 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Fixed tuple fields, thanx downs |
|
|
|
@722:bd56056a581f
|
[722:bd56056a581f]
|
10/23/08 13:42:55 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Commented that codegen: <modulename> printf … |
|
|
|
@719:7261ff0f95ff
|
[719:7261ff0f95ff]
|
10/22/08 15:50:08 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Implemented first class delegates. closes #101 |
|
|
|
@715:30b42a283c8e
|
[715:30b42a283c8e]
|
10/22/08 08:55:33 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Removed TypeOpaque? from DMD.
Changed runtime functions taking opaque[] to … |
|
|
|
@708:fd5665da3a27
|
[708:fd5665da3a27]
|
10/16/08 16:07:02 |
Christian Kamm <kamm incasoftware de> |
Hopefully sensible command switch handling. Changed default ext to .o on … |
|
|
|
@707:1556a9328ba1
|
[707:1556a9328ba1]
|
10/15/08 14:22:18 |
Christian Kamm <kamm incasoftware de> |
Fixed bug with generated functions having wrong calling conventions. … |
|
|
|
@699:ed9a9e6dd1cc
|
[699:ed9a9e6dd1cc]
|
10/13/08 11:28:39 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Started changing target triple stuff, part of fixing #97 |
|
|
|
@694:931333ea35c6
|
[694:931333ea35c6]
|
10/13/08 04:58:00 |
Christian Kamm <kamm incasoftware de> |
Allow output of only bc, ll, or s by making -of set the output type … |
|
|
|
@689:06c05906b054
|
[689:06c05906b054]
|
10/12/08 09:33:14 |
Christian Kamm <kamm incasoftware de> |
Always run SimplifyCFG to workaround LLVM bug 2613. |
|
|
|
@686:363bb6c0cc80
|
[686:363bb6c0cc80]
|
10/12/08 08:38:55 |
Christian Kamm <kamm incasoftware de> |
Emit stub debug info for generated functions to work around LLVM bug 2172. |
|
|
|
@683:b411c41a9716
|
[683:b411c41a9716]
|
10/12/08 04:35:16 |
Christian Kamm <kamm incasoftware de> |
Only allocate the module file name once. Fixes #90. |
|
|
|
@677:075c1272a01d
|
[677:075c1272a01d]
|
10/11/08 15:21:21 |
Christian Kamm <kamm incasoftware de> |
Link using gcc instead. |
|
|
|
@676:1f0a78174598
|
[676:1f0a78174598]
|
10/11/08 14:00:36 |
Christian Kamm <kamm incasoftware de> |
Make ldc call gcc to assemble. |
|
|
|
@675:bfe5229f9d8e
|
[675:bfe5229f9d8e]
|
10/11/08 07:07:59 |
Christian Kamm <kamm incasoftware de> |
Disable bc output by default. Remove -dis. Add -output-bc, -output-ll, … |
|
|
|
@674:db6a7e574cbd
|
[674:db6a7e574cbd]
|
10/11/08 05:41:56 |
Christian Kamm <kamm incasoftware de> |
Move to separate function and cleanup. |
|
|
|
@673:37a7688a7494
|
[673:37a7688a7494]
|
10/11/08 05:07:53 |
Christian Kamm <kamm incasoftware de> |
Add basics for direct assembly output. |
|
|
|
@663:6aaa3d3c1183
|
[663:6aaa3d3c1183]
|
10/06/08 16:46:55 |
Christian Kamm <kamm incasoftware de> |
First part of rename to LDC. |
|
|
|
@650:aa6a0b7968f7
|
[650:aa6a0b7968f7]
|
10/05/08 11:28:15 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Added test case for bug #100
Removed dubious check for not emitting static … |
|
|
|
@626:e83ba4ae4878
|
[626:e83ba4ae4878]
|
10/01/08 13:16:10 |
Christian Kamm <kamm incasoftware de> |
Fix import visibility bugs 313 and 314. |
|
|
|
@622:26fce59fe80a
|
[622:26fce59fe80a]
|
10/01/08 12:32:31 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Wrapped all the most potentially expensive logging calls in a conditional … |
|
|
|
@605:e235b80c92bc
|
[605:e235b80c92bc]
|
09/16/08 10:06:39 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Removed useless assert in ArrayLiteralExp::toConstElem
Added second … |
|
|
|
@583:12bda38ea366
|
[583:12bda38ea366]
|
09/07/08 20:44:25 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Fixed choosing default target machine without needing to link in targets. |
|
|
|
@580:7824c21a58e3
|
[580:7824c21a58e3]
|
09/06/08 06:27:27 |
Christian Kamm <kamm incasoftware de> |
Restructure path handling a bit. Fixes #66. |
|
|
|
@565:3c07287765bc
|
[565:3c07287765bc]
|
08/31/08 12:38:16 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Fixed toobj.cpp to compile with latest LLVM, seems a method overload was … |
|
|
|
@511:a0b0676e787d
|
[511:a0b0676e787d]
|
08/14/08 23:08:33 |
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
Fixed problem when instantiating a template with private global variables. |