An algorithm for hoisting

  • Authors:
  • John Crawford;Mehdi Jazayeri

  • Affiliations:
  • University of North Carolina at Chapel Hill;University of North Carolina at Chapel Hill

  • Venue:
  • ACM-SE 15 Proceedings of the 15th annual Southeast regional conference
  • Year:
  • 1977

Quantified Score

Hi-index 0.00

Visualization

Abstract

An approach to hoisting, a program optimization technique, is discussed. The safety and profitability of optimization in general and hoisting in particular is analyzed. By restricting the analysis to a spanning tree imposed on the program graph, a linear algorithm is developed that provides sufficient but not necessary conditions for hoisting. This linear algorithm is shown to provide necessary and sufficient conditions for hoisting in IF-THEN-BLSE statements.