Integrating code generation and peephole optimization

From MaRDI portal





Peephole optimization when integrated with automatic code generation into a uniform framework has significant advantages in the specification and implementation of efficient compiler back-ends. Attribute grammars provide a framework for expression of machine-specific code optimizations. We present a grammar-driven peephole optimization algorithm that is particularly well suited to attributed-parsing code generators. Integration via semantic attributes corrects interrelated phase-ordering problems and produces a faster and smaller compiler back- end.











This page was built for publication: Integrating code generation and peephole optimization

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q1822527)