Automatically reordering variables as a part of compiling and linking source code
Abstract
Methods and Systems for automatically reordering variables as a part of compiling and linking source code. In one embodiment, a compiler identifies a set of variables that are candidates for reordering. The candidate variables are associated with one or more source code files that are being compiled. The compiler collects data used for determining a potential layout of the candidate variables. The linker determines the potential layout based, at least in part, on the data and reorders the candidate variables based, at least in part, on the potential layout.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 4.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for automatically reordering variables, the method comprising: as a part of compilation, identifying a set of variables that are candidates for reordering, wherein the candidate variables are associated with one or more source code files that are being compiled; collecting data for determining a potential layout for the candidate variables; as a part of linking, determining the potential layout based, at least in part, on the data, wherein the data is used to partition the candidate variables into categories and enables reordering the candidate variables within their respective catego
- Claim 2Depends on #1
The method of claim 1 , wherein determining the potential layout further comprises: selecting the next variable to associate with a virtual cache line based on more than one vari
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗