Method and apparatus for compiling code based on a dependency tree
Abstract
A compiling apparatus generates a dependency tree representing dependency relations among a plurality of instructions included in first code. The compiling apparatus detects, from the dependency tree, a partial tree including a first instruction, a second instruction, and a third instruction that depends on the operation results of the first and second instructions, and rewrites the instructions corresponding to the partial tree to a set of instructions including a plurality of complex instructions each of which causes a processor to perform a complex operation including a plurality of operations. The compiling apparatus generates second code on the basis of the dependency tree and the set of instructions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A non-transitory computer-readable medium storing therein a compiling program that causes a computer to execute a process comprising: generating a dependency tree representing dependency relations among a plurality of instructions included in first code; detecting a first partial tree from the dependency tree, the first partial tree including a first instruction, a second instruction, and a third instruction, the third instruction depending on operation results of the first instruction and the second instruction; updating the dependency tree by replacing the first partial tree with a second pa
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (1)
- Japanese Office Action dated Aug. 1, 2017 for corresponding Japanese Patent Application No. 2014-017204, with English Translation, 6 pages.