Build-time code section-specific compiler selection
AssigneeInternational Business Machines Corporation
InventorsMichael T. STROSAKER, George C. WILSON, Nathan FONTENOT, Christy L. NORMAN
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsMichael T. STROSAKER, George C. WILSON, Nathan FONTENOT, Christy L. NORMAN
Estimating the term…
Systems, methods, and computer-readable media are described for selecting, at build time, a respective compiler and/or a respective set of compiler options for each section of code to be compiled such that the compiler/compiler options selected for each code section are optimized for that code section with respect to one or more metrics. Abstract syntax tree (AST) analysis and semantic analysis may be performed at build time for each section of code to identify the compiler/compiler options that produce compiled object code for that code section that maximizes or minimizes a desired metric. The metric according to which compiler/compiler option optimization is performed may be any suitable metric including, without limitation, performance, binary size, security, reliability, scalability, and so forth.
A computer-implemented method for compiling computer-executable code, the method comprising:
A system for compiling computer-executable code, the system comprising:
A computer program product for compiling computer-executable code, the computer program product comprising a storage medium readable by a processing circuit, the storage medium storing instructions executable by the processing circuit to cause a method to be performed, the method comprising:
Dependencies are inferred from the claim text.