King, Andy and Soper, Paul
Depth-k Sharing and Freeness.
In: Van Hentenryck, Pascal, ed.
International Conference on Logic Programming.
MIT Press Series in Logic Programming
MIT Press, pp. 553-568.
ISBN 0-262-72022-1 .
(Full text available)
Analyses for variable sharing and freeness are important both in the automatic parallelisation and in the optimisation of sequential logic programs. In this paper, a new analysis is described which can infer sharing and freeness information to an unusually high degree of accuracy. By encoding structural properties of substitutions in a sharing group fashion, a powerful depth-k sharing and freeness analysis is synthesised which exploits the synergy between tracing sharing information and tracking term structure. The analysis propagates groundness with the accuracy of sharing groups and yet can precisely infer sharing and freeness. Correctness is formally proven.
- Depositors only (login required):