You are required to read and agree to the below before accessing a full-text version of an article in the IDE article repository.
The full-text document you are about to access is subject to national and international copyright laws. In most cases (but not necessarily all) the consequence is that personal use is allowed given that the copyright owner is duly acknowledged and respected. All other use (typically) require an explicit permission (often in writing) by the copyright owner.
For the reports in this repository we specifically note that
- the use of articles under IEEE copyright is governed by the IEEE copyright policy (available at http://www.ieee.org/web/publications/rights/copyrightpolicy.html)
- the use of articles under ACM copyright is governed by the ACM copyright policy (available at http://www.acm.org/pubs/copyright_policy/)
- technical reports and other articles issued by M‰lardalen University is free for personal use. For other use, the explicit consent of the authors is required
- in other cases, please contact the copyright owner for detailed information
By accepting I agree to acknowledge and respect the rights of the copyright owner of the document I am about to access.
If you are in doubt, feel free to contact webmaster@ide.mdh.se
Efficient Computation of Minimal Weak and Strong Control Closure
Publication Type:
Journal article
Venue:
Journal of Systems and Software
DOI:
https://doi.org/10.1016/j.jss.2021.111140
Abstract
Control dependency is a fundamental concept in many program analyses, transformation,
parallelization, and compiler optimization techniques. An overwhelming
number of denitions of control dependency relations are found in
the literature that capture various kinds of program control
flow structures. Weak and strong control closure (WCC and SCC) relations capture nontermination insensitive and sensitive control dependencies and subsume all previously
dened control dependency relations. In this paper, we have shown that static
dependency-based program slicing requires the repeated computation of WCC
and SCC. The state-of-the-art WCC and SCC algorithm provided by Danicic et
al. has the cubic and the quartic worst-case complexity in terms of the size of the
control flow graph and is a major obstacle to be used in static program slicing.
We have provided a simple yet ecient method to compute the minimal WCC
and SCC which has the quadratic and cubic worst-case complexity and proved
the correctness of our algorithms. We implemented ours and the state-of-the-art
algorithms in the Clang/LLVM compiler framework and run experiments on a
number of SPEC CPU 2017 benchmarks. Our WCC method performs a maximum
of 23:8 times and on average 10:6 times faster than the state-of-the-art
method to compute WCC. The performance curves of our WCC algorithm for
practical applications are closer to the NlogN curve in the microsecond scale.
Our SCC method performs a maximum of 226.86 times and on average 67.66 times faster than the state-of-the-art method to compute SCC. Evidently, we improve the practical performance of WCC and SCC computation by an order
of magnitude.
Bibtex
@article{Masud6323,
author = {Abu Naser Masud},
title = {Efficient Computation of Minimal Weak and Strong Control Closure},
editor = {W.K. Chan},
volume = {184},
number = {111140},
month = {February},
year = {2022},
journal = {Journal of Systems and Software},
url = {http://www.es.mdu.se/publications/6323-}
}