PERSISTENT ANNOTATION OF SYNTAX GRAPHS FOR CODE OPTIMIZATION

Patent №

US 10,871,950

Granted

2020-12-22

Filed 2019

Owner

MICROSOFT TECHNOLOGY LICENSING, LLC

AI components

2

kr · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

16414526

Optimization opportunities are located and documented to enhance code translation by compilers or interpreters. An enhanced translator scans a program syntax graph, recognizes subgraph structures, and annotates nodes of the graph to document optimization characteristics of program code entities associated with the nodes. Subgraph structures and corresponding annotations may be maintained in an optimization catalog, distinct from any particular optimizable program. Optimizers improve program code translation based on the annotated syntax graph. Optimization characteristics may specify code purity in terms of execution value ranges and execution behaviors, e.g., side-effects, local or global variable usage, I/O, by-reference parameters, and which exceptions are possible. Subgraph structures may be identified using routine names, hash values, and templates with holes any constant will fill. Parent node characteristics may be inferred from characteristics of child nodes. Optimization candidates may be prioritized using weight functions. Optimizer callbacks may be inserted to evaluate optimization characteristics incrementally.

AI classification

AI hardware1.00
Knowledge representation0.96
Natural language0.08
Planning0.02
Machine learning0.00
Evolutionary computation0.00
Speech0.00
Vision0.00

Ownership

MICROSOFT TECHNOLOGY LICENSING, LLC

assignment · 492030750

Assignors

DE SMET, BART J.F.

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC