User customizable compiler attributes for code optimization
AssigneeRed Hat, Inc.
InventorUlrich Drepper
Life of this patent
Estimating the term…
Loading patent…
AssigneeRed Hat, Inc.
InventorUlrich Drepper
Estimating the term…
Disclosed herein is technology to use customized compiler attributes to enhance code optimizations. An example method may include: accessing, by a processing device executing a compiler, a source code comprising a compiler attribute, wherein the compiler attribute is defined by text in the source code; detecting, by the processing device, a call in the source code to a compiler function that processes the compiler attribute, wherein the source code includes logic to process the compiler attribute; executing, by the processing device, the compiler function at compile time, wherein the compiler function uses the logic to process the compiler attribute and generates attribute data; and using, by the compiler, the attribute data to optimize object code generated from the source code.
A method comprising:
A system comprising:
A non-transitory machine-readable storage medium storing instructions which, when executed, cause a processing device to perform operations comprising:
Dependencies are inferred from the claim text.