Method and apparatus for bit field optimization
First Claim
Patent Images
1. A method comprising:
- generating an intermediate representation (IR) of a source program, where the source program includes one or more instructions for processing data in a bit field within a data structure;
modifying the intermediate representation to more efficiently execute the one or more instructions for processing the bit field data; and
generating resultant code based on the modified intermediate representation.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus and methods are provided for optimizing bit fields in compiled code. The methods may be performed by a bit-field optimizer of a compiler. The bit-field optimizer generates optimized code for software code that includes bit-field instructions.
24 Citations
57 Claims
-
1. A method comprising:
-
generating an intermediate representation (IR) of a source program, where the source program includes one or more instructions for processing data in a bit field within a data structure;
modifying the intermediate representation to more efficiently execute the one or more instructions for processing the bit field data; and
generating resultant code based on the modified intermediate representation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. An article comprising:
-
a machine-readable storage medium having a plurality of machine accessible instructions, which if executed by a machine, cause the machine to perform operations comprising;
generating an intermediate representation (IR) of a source program, where the source program includes one or more instructions for processing data in a bit field within a data structure;
modifying the intermediate representation to more efficiently execute the one or more instructions for processing the bit field data; and
generating resultant code based on the modified intermediate representation. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44)
-
-
45. A compiler comprising:
-
a front end to generate an intermediate representation of a source program;
an optimizer to modify the intermediate representation (R) to provide for optimized processing of one or more bit fields; and
a back end to generate resultant code based on the modified intermediate representation. - View Dependent Claims (46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57)
-
Specification