The src/liveness Directory
Namespace liveness, delivered for TC-8. Implementation and building
of various graphs for the liveness analysis.
File: local.am (src/liveness/)
The Makefile configuration relative to the
src/liveness/directory. It is responsible for the integration into thelibtclibrary with everything exported from thelivenessmodule, and the linkage of the directory’s unit tests in the test-suite.
File: libliveness.* (src/liveness/)
The interface of the
livenessmodule. It exports the,flowgraph_dump,liveness_dumpandinterference_dumpprocedures. Each of which respectively dumps the Flow graph, the Liveness graph and the Interference graph.
File: tasks.* (src/liveness/)
The tasks relative to the
livenessmodule (see: The src/task Directory).
File: interference-graph.* (src/liveness/)
The
InterferenceGraphimplementation. It computes the interference graph from the live-in/live-out information.
File: liveness.* (src/liveness/)
The
Livenessimplementation. It is aFlowGraphwith labeledTemprepresenting live-in and live-out for each vertex. The live-in and live-out information is computed from theFlowGraphinLiveness’s constructor.
File: test-flowgraph.cc (src/liveness/)
The unit tests.