Public Member Functions | |
def | __init__ |
def | analyze_loop |
def | enable_analyzer |
def | append_translator |
def | get_translators |
Data Fields | |
analyzers | |
translators |
ループ最適化エンジン
Definition at line 558 of file optimizer.py.
def ctrump::optimizer::LoopOptimizer::__init__ | ( | self | ) |
Definition at line 560 of file optimizer.py.
def ctrump::optimizer::LoopOptimizer::analyze_loop | ( | self, | ||
stmt, | ||||
cfg, | ||||
attr, | ||||
prog | ||||
) |
loop が最適化できるかどうか調べる :param stmt: target stmt :param cfg: cfg :param attr: loop attribute :return: ([errors], [warnings], [hints], [enabled-translator-names])
Definition at line 564 of file optimizer.py.
def ctrump::optimizer::LoopOptimizer::enable_analyzer | ( | self, | ||
analyzer_type | ||||
) |
Definition at line 598 of file optimizer.py.
def ctrump::optimizer::LoopOptimizer::append_translator | ( | self, | ||
trns, | ||||
required_analyzers | ||||
) |
Definition at line 605 of file optimizer.py.
def ctrump::optimizer::LoopOptimizer::get_translators | ( | self | ) |
Definition at line 610 of file optimizer.py.
Definition at line 561 of file optimizer.py.
Definition at line 562 of file optimizer.py.