Invention Grant
US09250880B2 Method for obtaining execution frequency information on execution paths in control flow graph, and computer and computer program for obtaining the information
有权
用于获取控制流图中的执行路径的执行频率信息的方法,以及用于获取信息的计算机和计算机程序
- Patent Title: Method for obtaining execution frequency information on execution paths in control flow graph, and computer and computer program for obtaining the information
- Patent Title (中): 用于获取控制流图中的执行路径的执行频率信息的方法,以及用于获取信息的计算机和计算机程序
-
Application No.: US14551485Application Date: 2014-11-24
-
Publication No.: US09250880B2Publication Date: 2016-02-02
- Inventor: Takuya Nakaike
- 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
- Agent Maeve McCarthy
- Priority: JP2013-243092 20131125
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
The present invention is a technique for obtaining execution frequency information on execution paths in a CFG, including preparing a CFG from a source code read into a memory, preparation of the CGF including modifying the CFG by assigning path value zero to an edge v→w between a precedent basic block v and a successor basic block w following the predecessor basic block v in a case where the successor basic block w has a predecessor basic block x other than the predecessor basic block v, and where the successor basic block w exists on a fall-through path from the predecessor basic block x. The technique also includes obtaining execution frequency information by using the modified CFG.
Public/Granted literature
Information query