Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
コンパイラ、コンパイル方法、及び、プログラム
Document Type and Number:
Japanese Patent JP4985461
Kind Code:
B2
Abstract:

To provide a compiler capable of performing optional specialization for an optional generic subprogram.

A source program 100 includes a description which designates a specialization subprogram to the generic subprogram and a description which sets a specialization condition thereof. A syntax analysis part 102 records the specialization subprogram and the specialization condition on a specialization information table 111. A specialization detection part 104 detects a call of the generic subprogram to which the specialized subprogram is designated. A specialization condition determination part 105 determines whether the specialization condition of the specialization subprogram corresponding to the detected generic subprogram is established in compiling or not. A code conversion-generation part 106 converts, when it is determined that whether the specialization condition is established in compiling is indefinite, a code for calling the generic subprogram to a code for calling the specialization subprogram in establishment of the specialization condition.

COPYRIGHT: (C)2009,JPO&INPIT


Inventors:
Murai Hitoshi
Application Number:
JP2008042864A
Publication Date:
July 25, 2012
Filing Date:
February 25, 2008
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
NEC
International Classes:
G06F9/45
Domestic Patent References:
JP2002259135A
Other References:
宮坂電人,特集 第1章:テンプレートプログラミングの世界,Interface,日本,CQ出版株式会社,2004年 2月 1日,第30巻,第2号(通巻320号),pp.41~44
蒲池恒彦、草野和寛、末広謙二、妹尾義樹、田村正典、左近彰一,Cenju-3用HPF処理系の実現,NEC技報,日本,株式会社NECクリエイティブ,1995年12月25日,第48巻,第12号(通巻322号),p.132
小川宏高、松岡 聡,部分計算を用いたMPIプログラム最適化システムOMPI,情報処理学会論文誌,日本,社団法人情報処理学会,1998年 6月15日,第39巻,第6号,p.1703
天野憲樹、渡部卓雄,LEAD:動的適応可能なソフトウェアを構成する言語の設計と実装,情報処理学会論文誌,日本,社団法人情報処理学会,1998年 9月15日,第39巻,第9号,pp.2649~2658
Attorney, Agent or Firm:
Kimura Mitsuru