Critical section ordering for multiple trace applications
Abstract
Critical sections in a programming code may be ordered based at least in part on code motions. A flow graph of the code including the critical section may be generated. Two initiative motions may be performed based on the flow graph to identify possible positions of critical codes in the flow graph. Dependence relationship of critical sections may be determined based on the positions of critical sections. Using the dependence relationship information, the order of critical sections may be determined. The determined order of critical sections may be further used by a compiler to perform optimizations for the code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An article comprising a non-transitory machine-readable medium that contains instructions, which when executed by a processing platform, cause said processing platform to perform operations for compiling programming code with first and second critical sections, the operations including: determining a flow graph of the code; performing a first code motion on the first critical section based on the flow graph and a second code motion on the second critical section also based on the flow graph; determining a dependence relationship between the first and second critical sections based on both of t
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 (2)
Non-Patent Literature (1)
- U.S. Appl. No. 11/662,217, filed Mar. 8, 2007, entitled "Method and Apparatus for Ordering Code Based on Critical Sections," by Long Li, et al.