Compiler optimisation of source code by determination and utilization of the equivalence of algebraic expressions in the source code
Abstract
A computer program product and computer system for implementing a method of compiler optimisation of source code during compilation of the source code in a computer environment. The compiler optimisation of source code includes: recasting two algebraic expressions into a form of one or more token pairs arranged sequentially in a string, each token pair including an operator followed by an operand; reducing the strings in accordance with a set of predetermined simplifying rules; and comparing the reduced strings by matching to detect an equivalence of the two algebraic expressions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer program product, comprising a computer readable storage medium having a computer readable program code embodied therein, said computer readable program code containing instructions that when executed by a processor of a computer system implement a method for performing compiler optimisation of source code during compilation of the source code in a computer environment by determining and utilizing the equivalence of two syntactically correct algebraic expressions comprised by the source code, said method comprising compiling the source code into object code, said compiling comprising
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Blume, W. et al., "The Range Test: A Dependence Test for Symbolic, Non-linear Expressions." IEEE 1994. pp. 528-537.
- Cmelik et al., Dimensional Analysis with C++. IEEE May 1988. pp. 21-27.
- Huang et al., An Efficient Run-Time Scheme for Exploiting Parallelism on Multiprocessor Systems; M. Valero, V.K. Prasanna, and S. Vajapeyam (Eds,): HiPC2000, LNCS 1970, pp. 27-36 (2000).
- Huang, Tsung-Chuan and Cheng-Ming Yang, "Non-linear array data dependence test." Journal of Systems and Software 57 (2001). pp. 145-154.
- Huang, Tsung-Chuan and Po-Hsueh Hsu, "A Practical run-time technique for exploiting loop-level parallelism." Journal of Systems and Software 54 (2000). pp. 259-271.