Recombination optimization method for structural members
An optimization method and structure technology, applied in the computer field, can solve problems such as inability to reorganize and optimize, and achieve the effect of enhancing data locality and improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0019] Embodiment 1: a method for recombination optimization for structure members, comprising the following steps:
[0020] S11. The compiler scans each basic block in the target program, collects structure definitions, declarations and reference information in the target program, and builds a set of structure types to be optimized;
[0021] S12. Analyze the references of all structures in the structure type set constructed in step S11, ensure that the references do not depend on the specific arrangement of structure fields, and remove from the structure type set to be optimized that does not satisfy the optimization The structure type of the condition;
[0022] S13. According to the structure definitions, declarations and reference information recorded in the structure type collection collected in step S12, reorganize the members of the structures that meet the optimization conditions, and record the results in variables of the sbitmap type;
[0023] S14. Create definitions...
Embodiment 2
[0026] Embodiment 2: A method for recombination optimization for structure members, comprising the following steps:
[0027] S21. The compiler collects the running information of each function code segment when the program is running through instrumentation, including calling frequency, calling relationship and running time.
[0028] S22. The compiler scans each basic block in the target program, collects structure definitions, declarations and reference information in the target program, and constructs a set of structure types to be optimized;
[0029] S23. Analyze the references of all structures in the structure type set constructed in step S22, ensure that the references do not depend on the specific arrangement of structure fields, and remove from the structure type set to be optimized that does not satisfy the optimization The structure type of the condition;
[0030] S24. According to the structure definition, declaration and reference information recorded in the struc...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com