[LLVMdev] Two languages in the same IR
Ralf Karrenberg
Chareos at gmx.de
Sat Mar 5 03:26:59 PST 2011
Hey,
we are intermixing LLVM IR generated from C code with IR generated from
our custom RenderMan frontend. I am not sure whether this is relevant
for you, but in our restricted setting (the C code does not change
frequently and we have full control at link time) this works flawless.
Best,
Ralf
Am 05.03.2011 11:42, schrieb Renato Golin:
> Hi all,
>
> Is it possible to merge two different languages in the same IR?
>
> With Java, JNI specifies a whole lot of rules to make C structures and
> PCS work with Java classes, if we were to do the same thing in IR,
> would that work?
>
> Is there anyone doing this today (with any language)?
>
More information about the llvm-dev
mailing list