class documentation
class ClassLabel(ParentScopeBlock): (source)
Undocumented
Class Method | from |
Undocumented |
Method | __init__ |
Undocumented |
Instance Variable | args |
Undocumented |
Instance Variable | func |
Undocumented |
Instance Variable | inherit |
Undocumented |
Inherited from ParentScopeBlock
:
Method | apply |
Undocumented |
Method | enumerate |
Undocumented |
Method | fill |
Fill all the block with a list of conditions to reach. Solve for backward simple data flow equation: cond(n) = (&=cond(m)) | split_edge(m) where m is pred(n) |
Method | fill |
Undocumented |
Method | fill |
solving the data flow equations Dom(n) = {n} | (&=Dom(m)) where m = preds(n) |
Method | fill |
fill `idom` and `rev_idom` of all blocks. This essentially build the dominator tree. |
Method | get |
Undocumented |
Method | rename |
Undocumented |
Instance Variable | ast |
Undocumented |
Instance Variable | blocks |
Undocumented |
Instance Variable | counter |
Undocumented |
Instance Variable | locals |
Undocumented |
Instance Variable | phi |
Undocumented |
Instance Variable | rev |
Undocumented |
Instance Variable | scope |
Undocumented |
Instance Variable | var |
Undocumented |
Inherited from RawBasicBlock
(via ParentScopeBlock
):
Class Method | from |
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 | fill |
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 |
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 | scope |
Undocumented |
Instance Variable | ssa |
Undocumented |
Instance Variable | start |
Undocumented |
Instance Variable | ue |
Undocumented |
Instance Variable | var |
Undocumented |
Instance Variable | _phi |
Undocumented |