[cfe-dev] Generating C code using Clang

Aditya Avinash adityaavinash1 at gmail.com
Sat May 16 04:02:57 PDT 2015


Hi,
I did not build a full AST. It's enough to support the abstractions. The
format is not Clang AST. There is no problem in changing to it

On Saturday, May 16, 2015, mats petersson <mats at planetcatfish.com> wrote:

> As per the discussion in the LLVM thread, can you explain what kind of AST
> it is - I'm guessing it is NOT Clang's AST, but something else...
>
> --
> Mats
>
> On 15 May 2015 at 13:19, Aditya Avinash <adityaavinash1 at gmail.com
> <javascript:_e(%7B%7D,'cvml','adityaavinash1 at gmail.com');>> wrote:
>
>> Hi,
>> I am trying to use Clang to generate C (partly, Intel AVX) code to test
>> some abstractions. Apparently, most of the documentation is related to
>> generating LLVM-IR. Are there any tools to do this? (I have generated AST
>> from these abstractions. I want to generate C code from it).
>>
>> My goal is AST->C. That's it. I already have AST and I am not translating
>> to LLVM-IR.
>>
>> Thank you! :)
>>
>>
>> --
>> Regards,
>>
>> *Aditya Atluri,*
>>
>> *USA.*
>>
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu <javascript:_e(%7B%7D,'cvml','cfe-dev at cs.uiuc.edu');>
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
>>
>

-- 
Regards,

*Aditya Atluri,*

*USA.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150516/46d20f14/attachment.html>


More information about the cfe-dev mailing list