Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 17 Aug 2015 09:14:38 +0100] rev 31
LLVM C API Extensions: added utility conversion/data extraction routines
* to convert metadata to values and vice-versa.
* to extract bit-width from integer types.
These comes handy when generating debug information.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 17 Aug 2015 09:08:47 +0100] rev 30
LLVM C API Extensions: added llvm-c-ext/DWARF.h with (some) DWARF constants required to generate debug info.
Most importantly, DWARF encoding used when describing a variable to tell the debugger
how to interpret the data (as float, signed/unsigned int, etc). More constants will be
added as needed.
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 13 Aug 2015 06:21:00 +0100] rev 29
Added bindings to LLVM C API Extensions library.
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 13 Aug 2015 06:19:28 +0100] rev 28
Renamed LLVMBuilder to LLVMIRBuilder
to make naming consistent with coming LLVMDIBuilder
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 14 Aug 2015 06:26:02 +0100] rev 27
LLVM type system refactored to use a subclass per kind.
This models LLVM types bit more object-oriented as type-specific methods such as
access to parameter/member types is implemented in specific classes only.
The FFI callouts still return a generic LLVMType, which later changes its class
during it's initialization (see LLVMType>>initialize).
Added some tests for types.
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 12 Aug 2015 06:45:40 +0100] rev 26
Added DIBuilder API to LLVM C Ext library
The DIBuilder API is shamelessly copied & modified from
LLVM's GO bindings (see bindings/go/llvm in LLVM sources)
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 12 Aug 2015 06:43:20 +0100] rev 25
Added LLVM's LICENSE.TXT to llvm_c_ext. Updated READMEs.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 10 Aug 2015 19:26:29 +0100] rev 24
Added support for intrinsics.
As access to intrinsics is not exposed by LLVM-C API, a custom C++ library
exposing those hase been added - llvm_c_ext. Smalltalk binds to this library
in addition to LLVM's.
In a future this library will expose whatever C++ API will be needed
in scope of this project. However, it's designed to usable standalone, i.e.,
it contains no Smalltalk-specic code.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 10 Aug 2015 10:33:42 +0100] rev 23
Added an example of iterative factorial function
It does not check for integer overflow as that would require using
an intrinsic (which are not yet supported)
Jan Vrany <jan.vrany@fit.cvut.cz> [Sat, 08 Aug 2015 04:43:00 +0100] rev 22
Added example for compiling conditional. Added convenience API to simply code generation.