[LLVMdev] Ocaml bindings in 2.8

Jianzhou Zhao
Sun, 15 Aug 2010 03:25:36 -0000

Hi,

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?

Thanks
--
Jianzhou