Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

LLVM based tooling with IFX

Maxime_Cabanal
Beginner
569 Views

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 Kudos
1 Solution
Ron_Green
Moderator
484 Views

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.

View solution in original post

0 Kudos
1 Reply
Ron_Green
Moderator
485 Views

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.

0 Kudos
Reply