Global analysis of constraint logic programs

  • Authors:
  • M. Garcia de la Banda;M. Hermenegildo;M. Bruynooghe;V. Dumortier;G. Janssens;W. Simoens

  • Affiliations:
  • Univ. Polite´cnica de Madrid, Madrid, Spain;Univ. Polite´cnica de Madrid, Madrid, Spain;Katholieke Univ. Leuven, Leuven, Belgium;Katholieke Univ. Leuven, Leuven, Belgium;Katholieke Univ. Leuven, Leuven, Belgium;Katholieke Univ. Leuven, Leuven, Belgium

  • Venue:
  • ACM Transactions on Programming Languages and Systems (TOPLAS)
  • Year:
  • 1996

Quantified Score

Hi-index 0.00

Visualization

Abstract

This article presents and illustrates a practical approach to the dataflow analysis of constraint logic programming languages using abstract interpretation. It is first argued that, from the framework point of view, it suffices to propose relatively simple extensions of traditional analysis methods which have already been proved useful and practical and for which efficient fixpoint algorithms exist. This is shown by proposing a simple extension of Bruynooghe's traditional framework which allows it to analyze constraint logic programs. Then, and using this generalized framework, two abstract domains and their required abstract functions are presented: the first abstract domain approximates definiteness information and the second one freeness. Finally, an approach for combining those domains is proposed. The two domains and their combination have been implemented and used in the analysis of CLP(R) and Prolog-III applications. Results form this implementation showing its performance and accuracy are also presented.