Iteration of transformation passes over attributed program trees

H. Alblas

    Research output: Contribution to journalArticleAcademic

    6 Citations (Scopus)
    78 Downloads (Pure)

    Abstract

    Transformations of attributed program trees form an essential part of compiler optimizations. A strategy of repeatedly applying alternate attribute evaluation and tree transformation phases is discussed. An attribute evaluation phase consists of a sequence of passes over the tree. A tree transformation phase consists of a single pass, which is never interrupted to carry out a re-evaluation. Both phases can be performed in parallel. This strategy requires a distinction between consistent (i.e., correct) and approximate attribute values. Tree transformations can be considered safe if they guarantee that the attribute values everywhere in the program tree will remain consistent or will become at least approximations of the consistent values, so that subsequent transformations can be applied correctly. This attribute evaluation and tree transformation strategy shows similarities with the evaluation methods for circular attribute grammars.
    Original languageUndefined
    Pages (from-to)1-40
    JournalActa informatica
    Volume27
    Issue number1
    DOIs
    Publication statusPublished - 1989

    Keywords

    • IR-85715

    Cite this