Public Member Functions | |
def | __init__ |
def | is_enabled |
def | translate |
ループトランスレータ
Definition at line 272 of file optimizer.py.
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.