The major portion for the Fortran90
front end come from the
Open64
compiler
in the version that is under development at Rice University. It creates
an internal representation known as 'whirl' which is written into a
file. The following components are used by OpenAD:
- mfef90: the Fortran90 front end which produces output in 'whirl'
format
- whirl2f: unparse code given in 'whirl' format back into
Fortran90. This requires a module for whirl specific types called
w2f__types.f
The translation from whirl to XAIF is done by
OpenADFortTk (OpenAD
Fortran Tookit). It provides several tools:
- 'whirl2xaif':
- translation from whirl to XAIF
- implements OpenAnalysis interfaces and passes analyses results
on via XAIF
- 'xaif2whirl':
- translation of the modified XAIF to whirl
- 'pp.pl': a Perl post processor which handles:
- access to components of the active type
- replacement of code fragments in subroutine template
- inlining