[LLVMdev] Ocaml bindings in 2.8

Jianzhou Zhao jianzhou at seas.upenn.edu
Sat Aug 14 20:25:36 PDT 2010


Does 2.8 release plan to change anything in Ocaml bindings?
http://llvm.org/docs/ReleaseNotes.html#whatsnew does not list any
relevant features.

2.7 added 'operand' that can access each operand from a value.
  external operand : llvalue -> int -> llvalue = "llvm_operand"
Does this binding also expose a primitive to return how many operands
a given value has?

I need some primitives that check kinds of instructions, and access
operands or other properties of a kind of instruction. Can 'operand'
work for this requirement?


More information about the llvm-dev mailing list