Article
Attributed linear intermediate representations for retargetable code generators
Article first published online: 30 OCT 2006
DOI: 10.1002/spe.4380140406
Copyright © 1984 John Wiley & Sons, Ltd
Additional Information
How to Cite
Ganapathi, M. and Fischer, C. N. (1984), Attributed linear intermediate representations for retargetable code generators. Software: Practice and Experience, 14: 347–364. doi: 10.1002/spe.4380140406
Publication History
- Issue published online: 30 OCT 2006
- Article first published online: 30 OCT 2006
- Manuscript Revised: 22 JUL 1983
- Manuscript Received: 10 JUN 1982
- Abstract
- References
- Cited By
Keywords:
- Portable code generation;
- Intermediate representations;
- Code-generator generator;
- Retargetable code generation;
- Table-driven code generation
Abstract
This paper illustrates the usefulness of an attributed prefix linear intermediate representation for compiler code generation. In separating the machine-independent and machine-dependent aspects of a compiler, we discuss the advantages and disadvantages of an attributed linear intermediate representation with respect to tree-structured intermediate representations. Some of these issues are relevant to fundamental questions of compiler structure with particular emphasis on retargetability. We discuss our implementation experience using this linear intermediate representation with a table-driven code generation scheme for a variety of target architectures.

1097-024X/asset/olbannerleft.jpg?v=1&s=2d7d001211f2c40f177a231141601e9f52afc1f3)
1097-024X/asset/olbannerright.jpg?v=1&s=3aec7891a8ba78b361ead9743adfc0b6eae6369a)
1097-024X/asset/cover.gif?v=1&s=5a70ecca2928358eca4ff75b9921d0552ffb6539)