Skip to main content

1. Introduction

  • Chapter
Variations on Constants

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 3800))

  • 203 Accesses

Abstract

Constant propagation is one of the most widely used optimizations in practice (cf. [2, 30, 56]). Its goal is to replace expressions that always yield a unique constant value at run-time by this value. This transformation can both speed up execution and reduce code size by replacing a computation or memory access by a load-constant instruction. Often constant propagation enables powerful further program transformations. An example is branch elimination: if the condition guarding a branch of a conditional can be identified as being constantly false, the whole code in this branch is dynamically unreachable and can be removed.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Müller-Olm, M. (2006). 1. Introduction. In: Variations on Constants. Lecture Notes in Computer Science, vol 3800. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11871743_1

Download citation

  • DOI: https://doi.org/10.1007/11871743_1

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-45385-7

  • Online ISBN: 978-3-540-45386-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics