Name : python3-llvmlite
| |
Version : 0.37.0
| Vendor : Fedora Project
|
Release : 6.fc37
| Date : 2022-07-22 21:55:28
|
Group : Unspecified
| Source RPM : python-llvmlite-0.37.0-6.fc37.src.rpm
|
Size : 1.67 MB
| |
Packager : Fedora Project
| |
Summary : Lightweight LLVM Python binding for writing JIT compilers
|
Description :
llvmlite provides a Python binding to LLVM for use in Numba.
Numba previously relied on llvmpy. While llvmpy exposed large parts of the LLVM C++ API for direct calls into the LLVM library, llvmlite takes an entirely different approach. Llvmlite starts from the needs of a JIT compiler and splits them into two decoupled tasks:
- Construction of a Module, function by function, Instruction by instruction. - Compilation and optimization of the module into machine code.
The construction of an LLVM module does not call the LLVM C++ API. Rather, it constructs the LLVM intermediate representation (IR) in pure Python. This is the role of the IR layer.
The compilation of an LLVM module takes the IR in textual form and feeds it into LLVM\'s parsing API. It then returns a thin wrapper around LLVM\'s C++ module object. This is the role of the binding layer.
Once parsed, the module\'s source code cannot be modified, which loses the flexibility of the direct mapping of C++ APIs into Python that was provided by llvmpy but saves a great deal of maintenance.
|
RPM found in directory: /packages/linux-pbone/archive.fedoraproject.org/fedora/linux/releases/37/Everything/x86_64/os/Packages/p |