Code selection by tree series transducers

  • Authors:
  • Björn Borchardt

  • Affiliations:
  • Department of Computer Science, Dresden University of Technology, Dresden, Germany

  • Venue:
  • CIAA'04 Proceedings of the 9th international conference on Implementation and Application of Automata
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we model code selection by tree series transducers. We are given an intermediate representation of some compiler as well as a machine grammar with weights, which reflect the number of machine cycles of the instructions. The derivations of the machine grammar are machine codes. In general, a machine grammar is ambiguous and hence there might exist more than one derivation of an intermediate code. We show how to filter out a cheapest such derivation and thereby perform tree parsing and tree pattern matching using tree series transducers.