search for: decl_symbols

Displaying 2 results from an estimated 2 matches for "decl_symbols".

2009 Nov 03
0
[LLVMdev] LLVM + FORTRAN 95
Hi David/Renato, By AST I mean Abstract Syntax Tree. We are writing an optimization pass for some FORTRAN95 + MPI code that requires us to analyze the AST. We thought of 2 ways of doing this: 1. Compile the code using Clang/llvm-gfortran, get the textual AST dump (somehow), analyze the AST dump using Ruby, modify it and then feed back the modified AST to LLVM. 2. Do the analysis as an LLVM
2009 Nov 03
7
[LLVMdev] LLVM + FORTRAN 95
2009/11/3 David Greene <dag at cray.com>: > Your best bet is to use llvm-gfortran.  I don't know what you mean by > "AST."  Do you really want an AST or something else (LLVM IR, something > higher-level, etc.)?  LLVM doesn't understand ASTs directly. Probably for high-level optimisations, or just to see if the parser is good, as I do in my compiler. But AST is