发明名称 |
OPTIMIZATION DEVICE, OPTIMIZATION PROGRAM AND METHOD FOR GENERATING OF OPTIMIZED PROGRAM |
摘要 |
An optimization device of a program, the optimization device includes a memory to store a source code; and a processor that detects a structure or an array having a member targeted for access in a loop processing from the source code, inserts a first code declaring a pointer variable and a second code that sets an address of the structure or the array in the pointer variable before the loop processing of the source code, and replaces a code which accesses the member in the loop processing with a third code accessing the member based on the pointer variable. |
申请公布号 |
US2017017473(A1) |
申请公布日期 |
2017.01.19 |
申请号 |
US201615207680 |
申请日期 |
2016.07.12 |
申请人 |
FUJITSU LIMITED |
发明人 |
MATSUOKA Hideki;Shimizu Hirotoshi;Tozawa Yoshiharu |
分类号 |
G06F9/45 |
主分类号 |
G06F9/45 |
代理机构 |
|
代理人 |
|
主权项 |
1. An optimization device of a program, the optimization device comprising:
a memory to store a source code; and a processor that detects a structure or an array having a member targeted for access in a loop processing from the source code, inserts a first code declaring a pointer variable and a second code that sets an address of the structure or the array in the pointer variable before the loop processing of the source code, and replaces a code which accesses the member in the loop processing with a third code accessing the member based on the pointer variable. |
地址 |
Kawasaki-shi JP |