search for: llvmgetvalueid

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

2012 Mar 19
0
[LLVMdev] Python bindings in tree
...IW, all my work is at https://github.com/indygreg/llvm/tree/python_bindings/bindings/python. Parts of Core.h still need love (especially the Value system). I'm doing some dynamic type creation at run-time using the Value hierarchy. Somewhat scary stuff, but it does seem to work. I really need a LLVMGetValueID() API to fetch llvm::Value::getValueID() to enable more efficient value casting. From some discussion on #llvm, I think people are receptive to this. The main concern would be that the C API would be tied to a specific version of the shared library because the value ID enumeration aren't guaran...
2012 Mar 17
3
[LLVMdev] Python bindings in tree
At Fri, 16 Mar 2012 14:12:08 +0100, Christoph Grenz wrote: > > Hello, > > Am Donnerstag, 15. März 2012, 21:15:02 schrieb Gregory Szorc: > > There was some talk on IRC last week about desire for Python bindings to > > LLVM's Object.h C interface. So, I coded up some and you can now find > > some Python bindings in trunk at bindings/python. Currently, the >
2012 Mar 19
2
[LLVMdev] Python bindings in tree
.../tests /tools I do like having the tests outside the dir. > Parts of Core.h still need love (especially the Value system). I'm doing > some dynamic type creation at run-time using the Value hierarchy. > Somewhat scary stuff, but it does seem to work. I really need a > LLVMGetValueID() API to fetch llvm::Value::getValueID() to enable more > efficient value casting. I'm doing the very same thing in my bindings, and yes it is a bit inefficient, but seems to work fine and should work fine as long as classes are not moved in the hierarchy. I use the same hierarchy at pytho...