Leveraging multicore systems when compiling procedures
Abstract
A method, apparatus and program product are provided for parallelizing analysis and optimization in a compiler. A plurality of basic blocks and a subset of data points of a computer program is prepared for processing by a main thread selected from a plurality of hardware threads. The plurality of prepared basic blocks and subset of data points are placed in a shared data structure by the main thread. A prepared basic block of the plurality of prepared basic blocks and/or a tuple associated with the subset of data points is concurrently retrieved from the shared data structure by a work thread selected from the plurality of hardware threads. A compiler analysis or optimization is performed on the prepared basic block or tuple by the work thread.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for parallelizing analysis and optimization in a compiler, the method comprising: identifying a subset of data points of a computer program for processing by a main thread selected from a plurality of hardware threads; placing the subset of data points in a shared data structure by the main thread; concurrently with placing the subset of data points in the shared data structure, retrieving a tuple associated with the subset of data points from the shared data structure by a work thread selected from the plurality of hardware threads; and performing compiler analysis on the tuple by th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗