Patents
US 7,272,829 B1#7083015 Most CitedExpiredUnited States (USPTO)Utility

Factored assert chains

14Forward Citations (#7083015 Global)
0.7/yrCitation Velocity (#10351387 Global)
2.00Citation PageRank (#14541918 Global)
4Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Factored assert chains allow for improved tracking of implicit information in a computer program. The compiler may generate assert statements at various points in the program where there is implicit information. The dominator tree for the program or section of program may then be constructed. Then φ-nodes may be inserted throughout a control flow graph. Following that, for each statement in the program or section of program, an assert chain may be constructed from each use to the most recent available assert statement for the variable. Then, if the statement is an assert statement, each use may be kept track of as a mapping to an assertion, otherwise a mapping of any reference to an assert statement for each definition may be deleted. This may then iterate through the dominator tree. At the end, a series of factored assert chains remains, which may be utilized by the compiler to improve the efficiency of generated code.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 14.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for generating factored assert chains from assert statements in a program using a compiler, the program having a dominator tree, wherein the method has an input parameter X initially assigned an entry node of said dominator tree, the method comprising: for each statement S in X: finding each variable use in the statement S; for each variable use in the statement S: determining if there is an available assert statement which defines information about the corresponding variable for the variable use, wherein an assert statement is a statement identifying known information regarding a var

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (1)

  • Wolfe, Michael, "High Performance Compilers For Parallel Computing", Oregon Graduate Institute of Science & Technology, Chapter 6, pp. 166-223, Addison-Wesley Publishing Company, Inc. (1996).