class documentation
class RawBasicBlock(object): (source)
Known subclasses: klara.core.cfg.ParentScopeBlock
, klara.core.cfg.PhiStubBlock
, klara.core.cfg.TempAssignBlock
Undocumented
Class Method | from |
Undocumented |
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | cleanup |
remove all target from var_version_list (stack). Typically used in renaming when back up of node happen. :return: None |
Method | enumerate |
Undocumented |
Method | fill |
Undocumented |
Method | get |
Undocumented |
Method | get |
Return the conditions from the immediate predecessor. A / B C Calling this method on block B will return the condition to enter B from A. Return a sets of condition. |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | has |
Undocumented |
Method | insert |
insert dom_blk such that dom_blks is dominating self |
Method | insert |
Insert into phi variables if it does not exist |
Method | recompute |
recompute the liveout of this block :return: True if changed, False if not changed |
Method | rename |
Undocumented |
Constant | BLOCK |
Undocumented |
Constant | BLOCK |
Undocumented |
Constant | IS |
Undocumented |
Constant | IS |
Undocumented |
Instance Variable | block |
Undocumented |
Instance Variable | block |
Undocumented |
Instance Variable | cond |
Undocumented |
Instance Variable | cond |
Undocumented |
Instance Variable | conditions |
Undocumented |
Instance Variable | df |
Undocumented |
Instance Variable | end |
Undocumented |
Instance Variable | idom |
Undocumented |
Instance Variable | live |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | nxt |
Undocumented |
Instance Variable | parent |
Undocumented |
Instance Variable | phi |
Undocumented |
Instance Variable | prev |
Undocumented |
Instance Variable | rev |
Undocumented |
Instance Variable | rev |
Undocumented |
Instance Variable | scope |
Undocumented |
Instance Variable | ssa |
Undocumented |
Instance Variable | start |
Undocumented |
Instance Variable | ue |
Undocumented |
Instance Variable | var |
Undocumented |
Instance Variable | _phi |
Undocumented |
def __init__(self, start_line=None, end_line=None, block_end_type='', name=None, parent_node=None, scope=None, block_end_code=None):
(source)
overridden in
klara.core.cfg.ParentScopeBlock
, klara.core.cfg.PhiStubBlock
, klara.core.cfg.TempAssignBlock
Undocumented
remove all target from var_version_list (stack). Typically used in renaming when back up of node happen. :return: None
Return the conditions from the immediate predecessor. A / B C Calling this method on block B will return the condition to enter B from A. Return a sets of condition.
Returns | |
set | Undocumented |