ctrump::optimizer::LoopTranslatorBase Class Reference

Inheritance diagram for ctrump::optimizer::LoopTranslatorBase:

Inheritance graph
[legend]
Collaboration diagram for ctrump::optimizer::LoopTranslatorBase:

Collaboration graph
[legend]

Public Member Functions

def __init__
def is_enabled
def translate

Detailed Description

ループトランスレータ

Definition at line 272 of file optimizer.py.


Member Function Documentation

def ctrump::optimizer::LoopTranslatorBase::__init__ (   self  ) 

Reimplemented from ctrump::optimizer::TranslatorBase.

Reimplemented in OffloadSpe::OffloadSpeTranslator, and Unroll::UnrollTranslator.

Definition at line 275 of file optimizer.py.

def ctrump::optimizer::LoopTranslatorBase::is_enabled (   self,
  analyze_results,
  stmt,
  cfg,
  attr,
  errors,
  warnings,
  hints 
)

トランスレート可能かどうかを返す
:param analyze_results:result of analyze
:param stmt:loop stmt
:param cfg:loop cfg
:param attr:loop attribute
:param errors:
:param warnings:
:param hints:
:return:True if enabled

Reimplemented in OffloadSpe::OffloadSpeTranslator, and Unroll::UnrollTranslator.

Definition at line 278 of file optimizer.py.

def ctrump::optimizer::LoopTranslatorBase::translate (   self,
  analyze_results,
  stmt,
  cfg,
  attr,
  global_options,
  translate_options,
  prog 
)

トランスレートを行う
:param analyze_results:result of analyze
:param stmt:loop stmt
:param cfg:loop cfg
:param attr:loop attribute
:param global_options:options
:param translate_option:options
:param prog:translation unit
:return:list of optmized tree

Reimplemented in OffloadSpe::OffloadSpeTranslator, and Unroll::UnrollTranslator.

Definition at line 290 of file optimizer.py.


The documentation for this class was generated from the following file:

Generated on Tue Mar 31 20:19:54 2009 for ctrump by  doxygen 1.5.6