Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29253 ディスカッション

LLVM based tooling with IFX

Maxime_Cabanal
ビギナー
573件の閲覧回数

Hi,

As I understood, the new compiler IFX is based on LLVM stack for its backend I suppose, could this mean we can hope for or develop tooling around it freely?

I am thinking about a fortran-tidy (a clang-tidy but with IFX), including linting, fixes and custom checks in order to enable automated codebase-scale refactoring.

Could something like this be possible?

 

Regards

Maxime

0 件の賞賛
1 解決策
Ron_Green
モデレーター
488件の閲覧回数

Unfortunately probably no.  We do not allow users to dump LLVM IR with our compiler.  And our AST is a proprietary format without AST manipulation or parsing tools.  

There are similar efforts as what you suggest for the open source LLVM Flang compiler.  That would allow tools to parse the AST for what you propose.

元の投稿で解決策を見る

1 返信
Ron_Green
モデレーター
489件の閲覧回数

Unfortunately probably no.  We do not allow users to dump LLVM IR with our compiler.  And our AST is a proprietary format without AST manipulation or parsing tools.  

There are similar efforts as what you suggest for the open source LLVM Flang compiler.  That would allow tools to parse the AST for what you propose.

返信