Displaying 2 results from an estimated 2 matches for "xlinterpret".
Did you mean:
interpret
2010 Sep 13
3
[LLVMdev] Emit C
I am still having some trouble finding my way in the C++ files.
Could you give me a clearer direction?
Filip
On 13 Sep 2010, at 18:39, Charles Davis wrote:
> On 9/13/10 10:32 AM, F van der Meeren wrote:
>> Hello,
>>
>> I am trying to emit C code from the module I just created. And this from LLVM-C.
>> If someone could give me a pointer on how to do this in llvm (with
2010 Sep 13
0
[LLVMdev] Emit C
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