Invention Grant
- Patent Title: Tracking variable information in optimized code
- Patent Title (中): 跟踪优化代码中的变量信息
-
Application No.: US12813404Application Date: 2010-06-10
-
Publication No.: US08656377B2Publication Date: 2014-02-18
- Inventor: Lin Xu , Weiping Hu , Yongkang Zhu
- Applicant: Lin Xu , Weiping Hu , Yongkang Zhu
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agent Kevin Sullivan; Kate Drakos; Micky Minhas
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
Embodiments are directed to tracking variable location information in optimized code and efficiently collecting and storing reaching definition information. A computer system receives a portion of source code at a compiler, where the compiler is configured to compile and optimize the source code for execution. The computer system tags selected variables in the source code with a tag, where the tag is configured to provide location information for the variable. The computer system optimizes the received portion of source code including changing at least one of the tagged variables. The computer system also tracks the tagged variables as the variables are changed by the compiler during code optimization and persists the variable location information, so that the persisted variable location information is available to other compiler components.
Public/Granted literature
- US20110307875A1 TRACKING VARIABLE INFORMATION IN OPTIMIZED CODE Public/Granted day:2011-12-15
Information query