Abstract domains for reordering CLP (R-Lin) programs

Citation
V. Ramachandran et al., Abstract domains for reordering CLP (R-Lin) programs, J LOGIC PR, 42(3), 2000, pp. 217-256
Citations number
36
Categorie Soggetti
Computer Science & Engineering
Journal title
JOURNAL OF LOGIC PROGRAMMING
ISSN journal
07431066 → ACNP
Volume
42
Issue
3
Year of publication
2000
Pages
217 - 256
Database
ISI
SICI code
0743-1066(200003)42:3<217:ADFRC(>2.0.ZU;2-W
Abstract
In order to address the multi-directional nature of constraint logic progra ms, recent optimizing compilers generate several versions of a procedure an d optimize them independently. Reordering, i.e., moving constraints towards the end of a clause, plays a fundamental role in this optimization: it may lead to significant improvements in performance by bypassing the constrain t solver entirely. This paper focuses on CLP over linear real constraints, and studies two abstract domains, i.e., LSign and LInt, which can be used t o decide at compile time when constraints can be safely reordered. The doma in LSign was originally proposed by Marriott and Stuckey. Its fundamental i deas consist of abstracting coefficients by signs and of keeping multiplici ty information on constraints. LInt is a new, and infinite, domain which is similar in nature to LSign, except that signs are replaced by intervals of rational numbers. A comprehensive description of the two domains is given, together with some very preliminary evidence showing that the domains are precise enough to perform the intended optimizations on small programs. (C) 2000 Elsevier Science Inc. All rights reserved.