Originally a github fork of the llvm-py repository from http://www.mdevan.org/llvm-py/index.html updated to work with LLVM 3.x. Since then it has changed significantly with multiple sub-projects. www.llvmpy.org
  • HTML 50.2%
  • Python 42.3%
  • C++ 3.4%
  • LLVM 2.1%
  • CSS 0.8%
  • Other 1.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Wladimir J. van der Laan 6e6bd1ea71 Add support for module named metadata
This is mainly useful to get access to top-level debug information through 'llvm.dbg.cu'.

Wraps LLVM C-API functions `LLVMGetNamedMetadataNumOperands`, `LLVMGetNamedMetadataOperands` and `LLVMAddNamedMetadataOperand`.

Also add testcase.
2012-09-12 20:03:24 +02:00
docs Finished editing PythonLangImpl7.rst 2012-08-23 11:16:54 -05:00
llvm Add support for module named metadata 2012-09-12 20:03:24 +02:00
test add invariant load 2012-09-06 20:00:01 -07:00
tools add NVPTX for LLVM 3.2; 2012-08-18 15:29:26 -07:00
www Updating to python 3 with 2to3. Check llvm/py3k_update.diff and llvm/py3k_update.out for the output from this. 2011-06-11 20:39:16 -05:00
.gitignore add ignore llvm/_intrinsic_ids.py 2012-08-18 15:31:33 -07:00
CHANGELOG Added llvm.core.Argument.alignment 2010-10-15 10:33:37 +00:00
LICENSE Update license and README 2012-08-02 02:46:10 -05:00
llvm-config-win32.py Add detection of whether LLVM has PTX in the windows build 2012-08-29 13:51:07 -07:00
MANIFEST.in Added MANIFEST.in 2008-06-15 03:48:09 +00:00
README.rst ENH: we should use llvmpy consistently as the project name 2012-09-09 22:42:22 -05:00
setup.py Add detection of whether LLVM has PTX in the windows build 2012-08-29 13:51:07 -07:00

================================
llvmpy: Python bindings for LLVM
================================

Home page
---------

http://www.llvmpy.org

Versions
--------

This package has only been tested with LLVM 3.1, and Python 2.7, (not Python 3.x).

Quickstart
----------

1. Get 3.1 version of LLVM, build it.  Make sure ``--enable-pic`` is passed to
   LLVM's ``configure``.

2. Get llvm-py and install it::

   $ git clone git@github.com:llvmpy/llvmpy.git
   $ cd llvmpy
   $ python setup.py install

   Run the tests::

   $ python -c "import llvm; llvm.test()"

3. See documentation at 'http://www.llvmpy.org/pages.html' and examples
   under 'test'.

LICENSE
-------

llvmpy is distributed under the new BSD license, which is similar to the LLVM
license itself.
See the file called LICENSE for the full license text.