Affiliation:
1. DEI, Università di Padova, 35131 Padova, Italy and EECS, University of Illinois, Chicago, IL
2. Department of Computer Science, Cornell University, Ithaca, NY
Abstract
We generalize the notion of
dominance
by defining a generalized dominance relation with respect to a set of paths in the control flow graph
G
= (
V, E
). This new definition leads to a generalized notion of
control dependence
, which includes
standard control dependence
and
weak control dependence
as special cases.If the set of paths underlying a generalized dominance relation satisfies some natural closure conditions, that dominance relation is tree-structured. Given this tree, the corresponding control dependence relation can be computed optimally by reduction to the
Roman Chariots Problem
, which we have developed previously for computing standard control dependence. More precisely, given linear preprocessing time and space, we can answer the (generalized version of the) so called cd, conds, and cdequiv queries in time proportional to the output of the query.To illustrate the utility of the framework, we show how weak control dependence can be computed optimally in
O
(|
E
|) preprocessing space and time. This improves the
O
(|
V
|
3
) time required by the best previous algorithm for this problem.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
14 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Program Analysis for Adaptive Data Analysis;Proceedings of the ACM on Programming Languages;2024-06-20
2. The Duality in Computing SSA Programs and Control Dependency;IEEE Transactions on Software Engineering;2023-04-01
3. On the computation of interprocedural weak control closure;Proceedings of the 31st ACM SIGPLAN International Conference on Compiler Construction;2022-03-18
4. Efficient computation of minimal weak and strong control closure;Journal of Systems and Software;2022-02
5. Fast and Incremental Computation of Weak Control Closure;Static Analysis;2022