search for: basic_block_obj

Displaying 3 results from an estimated 3 matches for "basic_block_obj".

2008 May 11
2
[LLVMdev] Python bindings available.
...them), so you might want to add overloads for new in order to > avoid boilerplate code. By 'uninitialized', I guess you're referring to builders that are yet positioned on a block/instruction? Maybe it makes more sense to create it 'from' a block, something like: builder = basic_block_obj.builder() with it being positioned at the end of the block by default. But then, your ocaml syntax is much cleaner: > // At the start or end of a BB: > Builder.new(At_end bb) > Builder.new(bb.begin) > > // Before or after a given instruction: > Builder.n...
2008 May 10
0
[LLVMdev] Python bindings available.
On May 10, 2008, at 05:44, Mahadevan R wrote: > I'd like to announce the availability of Python bindings for LLVM. > > It is built over llvm-c, and currently exposes enough APIs to build an > in-memory IR (and dump it!). It needs LLVM 2.3 latest and Python 2.5 > (2.4 should be sufficient, but I haven't tested). Tested only on > Linux/i386. > > Would love to hear
2008 May 10
4
[LLVMdev] Python bindings available.
Hi all, I'd like to announce the availability of Python bindings for LLVM. It is built over llvm-c, and currently exposes enough APIs to build an in-memory IR (and dump it!). It needs LLVM 2.3 latest and Python 2.5 (2.4 should be sufficient, but I haven't tested). Tested only on Linux/i386. Would love to hear your comments. [Needless to say, it's all work in progress, but mostly it