[LLVMdev] LLVM bindings, scope of llvm-c
gordonhenriksen at me.com
Mon Sep 15 09:27:54 PDT 2008
On 2008-09-15, at 10:38, Christian Plessl wrote:
> llvm-c could be extended to expose more details of the LLVM IR which
> would allow more powerful program analysis and transformations.
> But maybe this negates the design goals for llvm-c.
> Is the functionality provided by llvm-c kept intentionally simple
> for some reason?
They are constrained only by contributions. Patches for additional
bindings are welcome.
The only willful omission from the bindings are "detached"
instructions. Instructions must be inserted into a basic block at
creation time and can only be moved or erased (remove+delete).
Likewise globals, aliases, functions, parameters, basic blocks, etc.
This greatly simplifies memory management for garbage collected
More information about the llvm-dev