next up previous contents index
Next: The loop unrolling and Up: Simple functions Previous: Loop step standardization transformation

Loop removing transformation

The loop removing consists in transforming a loop into its body.

$\vartriangleright$ Example 61: 

  DO I=1,N 
    A=cos(B) 
    C=A*2 
  ENDDO
$\longrightarrow$
  A=cos(B) 
  C=A*2

The following functions are availables.

  $\blacktriangleright$ Fits:LoopRemoving:Check(LOOP,DIAGMES)
 
This functions check if the loop removing transformation can be applied to LOOP.
  $\blacktriangleright$ Fits:LoopRemoving:Advice(LOOP,DIAGMES)
 
This function emits a diagnostic about the interest of the loop removing transformation
  $\blacktriangleright$ Fits:LoopRemoving:Safe(LOOP,DIAGMES)
 
This function emits a diagnostic about the code produced by the transformation
  $\blacktriangleright$ Fits:LoopRemoving:Apply(LOOP,VERBOSE)
 
This function applies the loop removing transformation to LOOP


next up previous contents index
Next: The loop unrolling and Up: Simple functions Previous: Loop step standardization transformation
Yann Mevel
1999-04-30