From cTuning.org

(Difference between revisions)
Jump to: navigation, search
m
m
Line 2: Line 2:
'''Interactive Compilation Interface plugins:'''
'''Interactive Compilation Interface plugins:'''
 +
 +
Starting with GCC ICI 2.0, the example plugins are available in the Git repository in the '''''<tt>plugins</tt>''''' directory, alongside the compiler source.
<div align="center">
<div align="center">

Revision as of 15:41, 27 March 2009

Navigation: cTuning.org > CTools > ICI

Interactive Compilation Interface plugins:

Starting with GCC ICI 2.0, the example plugins are available in the Git repository in the plugins directory, alongside the compiler source.

Plugin name: Description: ICI 1.0: ICI 2.0:
save_executed_passes This plugin records the executed passes per function in external files "ici_passes_function.<function_name>.txt". Download Source at GIT
Browse the code: gcc-submission branch
use_pass_order This plugin substitutes original pass sequence with the one read from either external files "ici_passes_function.<function_name>.txt" or from the global file "ici_passes_all.txt" or environment variable ICI_PASSES_ALL (passes are separated by comma) thus allowing external pass selection and reordering. Download Source at GIT
Browse the code: gcc-submission branch
save_executed_passes_with_time This plugin times the execution of the passes. Download Source at GIT
Browse the code: gcc-submission branch
extract_program_static_features This plugin extracts program static features per function as vectors and saves them into "ici_features_function.<function_name>.pass_to_extract>.txt"

Enrivonment variables:
ICI_PROG_FEAT_PASS = <pass_to_extract> - after this pass extract features

This pass calls ml-feat-proc routine that communicates with Prolog (XSB) to produce feature vector

Remark: This plugin works only with MILEPOST GCC v1.0 or higher.
Download Source at GIT
Locations of visitors to this page