Method using array range check information for generating versioning code before a loop for execution
Abstract
A system and method are provided that in one aspect eliminate redundant array range checks by performing a versioning for a loop. In another aspect, a system and method optimize array range checks by performing data-flow analysis in reverse order of the program execution. Yet in another aspect, a system and method obtains information about array ranges already checked by performing data-flow analysis in program execution order and eliminate redundant array range checks from this information.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for performing a versioning for a loop by using array range check information for an array access in a program, said method comprising the steps of: in each basic block, collecting and storing in a storage a first information about array range checks to be processed, in reverse order of the program execution according to a first condition, said first information being a set of array range checks; propagating said first information according to a second condition in order of a post-order traversal of a depth-first search, and generating and storing in a storage a second information abo
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (5)
- Adl-Tabatabal, et al., "Fast, Effective Code Generation in a Just-In-Time Java Compiler", SIGPLAN '98, Montreal, Canada, ACM 0-89791-987-4/98/0006, pp. 280-290.
- Asuru "Optimization of Array Subscript Range Checks", ACM Letters on Programming Languages and Systems, vol. 1, No. 2, Jun. 1992, pp. 109-118.
- Chambers, et al., "Iterative Type Analysis and Extended Message Splitting: Optimizing Dynamically-Typed Object-Oriented Programs", Originally published of the Proceedings of the ACM SIGLAND '90 conference on Programming Language Design and Implementation (SIGPLAN Notices, 25, 6(1990) 150-162).
- Chin, et al., "A Reexamination of 'Optimization of Array Subcript Range Checks'", ACM Transactions on Programming Languages and Systems, vol. 17, No. 2, Mar. 1995, pp. 217-227.
- Gupta, Optimizing Array Bound Checks Using Flow Analysis, University of Pittsburgh, ACM Letters on Programming Languages and Systems, vol. 2, Nos. 1-4, Mar. Dec. 1993, pp. 135-150.