[LLVMdev] Use the IR information to modify the AST
xiaoyaollvm at 126.com
Mon Mar 16 18:38:11 PDT 2015
Thanks a lot :)
At 2015-03-06 09:40:04, "陳韋任" <chenwj.cs97g at g2.nctu.edu.tw> wrote:
>> I am try to get some information from the IR, such as Function type,
>> Function arguments,
>> I want to save then to the data structure which defined by myself, and I
>> want use the data structure to modify the
>> But I know ,the IR was produced by the AST, I am not sure my thought is
>> wright or not.
>> If so, with API or function in the LLVM I will used? or some linkage or demo
>> that I can learn form?
> The frontend (clang) should be the right place to modify the AST.
>you want could be get from the frontend, too. You might refer  to
>see the basic idea.
>Wei-Ren Chen (陳韋任)
More information about the llvm-dev