[LLVMdev] Is it possible to write a llvm pass in OCaml?

proguan proguan at gmail.com
Wed Apr 30 09:56:35 PDT 2008


Dear All,

Is it possible to write a llvm pass in OCaml? Is there any API such as 
runOnModule() in ModulePass, runOnFunction() in FunctionPass in OCaml?

I have looked through the tutorial,  
http://llvm.org/docs/tutorial/OCamlLangImpl1.html, it looks like just a 
tutorial about "Implementing a language with LLVM" in Objective Caml.

Thank you for your help.

Best Regards,
  GUanhua



More information about the llvm-dev mailing list