Integrating code generation and optimization
Christopher W. Fraser, Alan L. Wendt · ACM SIGPLAN Notices · 1986
This paper describes a compiler with a code generator and machine-directed peephole optimizer that are tightly integrated. Both functions are performed by a single rule-based rewriting system that matches and replaces patterns. This organization helps make the compiler simple, fast, and retargetable. It also corrects certain phase-ordering problems.
Cited by 9 works. doi:10.1145/13310.13335 Open-access PDF
Authors
References
- A portable compiler
- Code selection through object code optimization
- The Design and Application of a Retargetable Peephole Optimizer
- Automatic Derivation of Code Generators from Machine Descriptions
- Automatic generation of peephole optimizations
- Efficient tree pattern matching (extended abstract)
- A Formal Framework for the Derivation of Machine-Specific Optimizers
- Affix grammar driven code generation
- Experience with a Graham-Glanville style code generator
- Construction of a peephole optimizer