Fast interprocedural linear two-variable equalities

  • Authors:
  • Andrea Flexeder;Markus Müller-olm;Michael Petter;Helmut Seidl

  • Affiliations:
  • Technische Universität München, Garching, Germany;Westfälische Wilhelms-Universität Münster, Germany;Technische Universität München, Garching, Germany;Technische Universität München, Garching, Germany

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

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this article we provide an interprocedural analysis of linear two-variable equalities. The novel algorithm has a worst-case complexity of 𝒪(n ⋅ k4), where k is the number of variables and n is the program size. Thus, it saves a factor of k4 in comparison to a related algorithm based on full linear algebra. We also indicate how the practical runtime can be further reduced significantly. The analysis can be applied, for example, for register coalescing, for identifying local variables and thus for interprocedurally observing stack pointer modifications as well as for an analysis of array index expressions, when analyzing low-level code.