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
Post a Comment