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

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -