[llvm-dev] python to llvm IR

James Courtier-Dutton via llvm-dev llvm-dev at lists.llvm.org
Mon Jun 5 12:13:16 PDT 2017


Hi,

I have not tried it, but you would be some way towards getting this
working, if you google "Calling Python Functions from C"
Once you get the python being called from C, you can compile the C
into LLVM-IR  (--emit-llvm) and then work out how to do it from
LLVM-IR.

Kind Regards

James


On 5 June 2017 at 19:33, Samaneh Berenjian via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> hi all,
> Does anyone know how can I import python functions and parameters into llvm
> Ir code? (how to generate llvm IR using having python function)?
>
> Best
>
> --
> This email was Anti Virus checked by  Security Gateway.
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>


More information about the llvm-dev mailing list