The major phases of the Fortran 90D/HPF compiler are shown in Figure
. Fortran 90D/HPF takes a syntactically correct
Fortran 90D/HPF program and transforms it into Fortran 77 plus runtime code.
The basic structure of the compiler is organized around seven major phases:
front-end, semantic analysis of distribution directives, transformation of
all parallel constructs into equivalent internal forall representations,
sequentialization, building array descriptors to pass to the runtime routines,
and code generation. This chapter describes some of these phases
and also provides examples showing code generation for parallel
statements.