[LLVMdev] Emit C
F van der Meeren
filip at code2develop.com
Mon Sep 13 11:18:36 PDT 2010
thanks
Mvg,
Filip van der Meeren
filip at code2develop.com
http://sourceforge.net/projects/xlinterpreter
*** Send from my IPhone ***
On 13-sep.-2010, at 20:02, Devang Patel <dpatel at apple.com> wrote:
>
> On Sep 13, 2010, at 10:40 AM, F van der Meeren wrote:
>
>> I am still having some trouble finding my way in the C++ files.
>> Could you give me a clearer direction?
>
> If you have llvm IR then you can use 'llc' to generate c code. Try
> $ llc <input_llvm_ir> -march=c -o /tmp/output.c
>
> This C backend is implemented in llvm/lib/Target/CBackend
>
> -
> Devang
>
More information about the llvm-dev
mailing list