encyclopegia.org

Available expression

In the field of compiler optimizations, available expressions is an analysis algorithm that determines for each point in the program the set of expressions that need not be recomputed. Those expressions are said to be available at such a point. To be available on a program point, the operands of the expression should not be modified on any path from the occurrence of that expression to the program point. The analysis is an example of a forward data flow analysis problem. A set of available expressions is maintained. Each statement is analysed to see whether it changes the operands of one or more available expressions. This yields sets of available expressions at the end of each basic block, known as the outset in data flow analysis terms. An expression is available at the start of a basic block if it is available at the end of each of the basic block's predecessors. This gives a set of equations in terms of available sets, which can be solved by an iterative algorithm. Available expression analysis is used to do global common subexpression elimination (CSE). If an expression is available at a point, there is no need to re-evaluate it.

In the field of compiler optimizations, available expressions is an analysis algorithm that determines for each point in the program the set of expressions that need not be recomputed. Those expressions are said to be available at such a point. To be available on a program point, the operands of the expression should not be modified on any path from the occurrence of that expression to the program point. The analysis is an example of a forward data flow analysis problem. A set of available expressions is maintained. Each statement is analysed to see whether it changes the operands of one or more available expressions. This yields sets of available expressions at the end of each basic block, known as the outset in data flow analysis terms. An expression is available at the start of a basic block if it is available at the end of each of the basic block's predecessors. This gives a set of equations in terms of available sets, which can be solved by an iterative algorithm. Available expression analysis is used to do global common subexpression elimination (CSE). If an expression is available at a point, there is no need to re-evaluate it. ==References== Aho, Sethi & Ullman: Compilers – Principles, Techniques, and Tools Addison-Wesley Publishing Company 1986

References

No reference rows published for this article.

Cite this article

MLA

"Available expression." encyclopegia.org, 2024, https://encyclopegia.org/wiki/available-expression. Accessed 24 November 2026.

Chicago

"Available expression." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/available-expression.

APA

encyclopegia.org. (2024). Available expression. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/available-expression

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Microsoft Expression Blend

stub · references available

expression template

stub · references available

Expression

stub · references available

L'Expression

stub · references available

Expression

stub · references available

Free Expression Tunnel

stub · references available

Freedom of Expression

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1218519471 · 0.5 · snapshot enwiki-001218519471

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.