compiler construction - How to parse AST openMP with clang -


i'm new compilers , started clang. parse openmp pragma lines clang , question is possible? in fact saw lots of presentation supporting openmp couldn't find example how parse? if have or know useful example, send me?

thanks lot

take @ polly. supports openmp , based on llvm. polly generates llvm ir annotated gomp library calls , easy write own pass handle on these calls.

if need pragma information in frontend, need dig code handle on pragmas. in case not need write own parser.

detailed information how polly handles openmp pragmas can found in document.


Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -