Invention Grant
- Patent Title: Method of reordering condition checks
-
Application No.: US15050912Application Date: 2016-02-23
-
Publication No.: US10025690B2Publication Date: 2018-07-17
- Inventor: Takuya Nakaike , Takeshi Ogasawara
- Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Tutunjian & Bitetto, P.C.
- Agent Vazken Alexanian
- Main IPC: G06F11/36
- IPC: G06F11/36 ; G06F8/41

Abstract:
Described is a computer-implemented method of reordering condition checks. Two or more condition checks in computer code that may be reordered within the code are identified. It is determined that the execution frequency of a later one of the condition checks is satisfied at a greater frequency than a preceding one of the condition checks. It is determined that there is an absence of side effects in the two or more condition checks. The values of the condition checks are propagated and abstract interpretation is performed on the values that are propagated. It is determined that the condition checks are exclusive of each other, and the condition checks are reordered within the computer code.
Public/Granted literature
- US20170242776A1 METHOD OF REORDERING CONDITION CHECKS Public/Granted day:2017-08-24
Information query