<project.out>.acc

The <project.out>.acc-file conatins the description of all accesses to arrays and variables in the main programm. This description is holded by the Access struct. This file is used by the Dion-Robert-Allocator.

Read: Directory dependences, File access.cc, Function load_accesses
Write: Directory dependences, File access_functions.cc, Function save_accesses

Format:

# Arrays/variables
---------------------------------------------
(Sublist 1:)

# Accesses in sublist 1

(access 1:)
number of Array/varaible
Typ (access type: read/write)
Id of parse tree node, that holds this access
number of statement
indexfunction

(access 2:)
number of Array/varaible
Typ (access type: read/write)
Id of parse tree node, that holds this access
number of statement
indexfunction

(access 3:)
...
(sublist 2:)
...

A sublist contains all accesses to the same array (don't know whether within one statement or globally). (Mentioning the number of the array explicitly is unnecessary in that case, but for easier reading, this optimization is not implemented.) (MG, 27.1.06)


Andreas Dischinger, 13.11.1997