Multiversioning if statement merging and loop fusion
Abstract
In one embodiment of the invention, a method for fusing a first loop nested in a first IF statement with a second loop nested in a second IF statement without the use of modified and referenced (mod-ref) information to determine if certain conditional statements in the IF statements retain variable values.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method including: locating a nested first IF statement and a nested second IF statement, wherein (a) the first IF statement includes a first conditional code portion that includes a first condition expression and a first loop, (b) the second IF statement includes a second conditional code portion that includes a second condition expression and a second loop, and (c) the first and second IF statements are not nested within one another; determining whether the first conditional code portion includes a first function call; determining whether the second conditional code portion includes a secon
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (5)
- Fraboulet, Antoine et al. Loop Fusion for Memory Space Optimization. ISSS'01, Oct. 13, 2001, Montreal, Quebec, Canada. Copyright 2001 ACM 1581134185/01/0010.
- John Ng, et al, "Inter-procedural Loop Fusion, Array Contraction and Rotation," 2003, pp. 1-11.
- Keith D. Cooper, "Fast Interprocedural Alias Analysis," 1989, pp. 49-59.
- Nijhar, T.P.K. et al. Source level optimisation of VHDL for behavioural synthesis. 1996. IEE Proc.-Comput. Digit. Tech., vol. 144, No. 1, Jan. 1997.
- Randy Allen, et al., "Automatic Translation of Fortran Programs to Vector Form," Oct. 1987, pp. 491-542.