Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ClassDef bases NameLoad body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults Dict body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assert CompareEq Call AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Str Assert CompareEq Call AttributeLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Call NameLoad Num Assign NameStore Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Str Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Call NameLoad Num Assign NameStore Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Str Expr Call NameLoad NameLoad FunctionDef arguments args defaults body Raise NameLoad decorator_list Assign AttributeStore SubscriptLoad NameLoad Index Str attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Str Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Str Expr Call NameLoad NameLoad decorator_list decorator_list
N/A pypy.jit.metainterp.test.oparser pure_parse pypy.jit.metainterp logger pypy.jit.metainterp.typesystem llhelper StringIO StringIO pypy.jit.metainterp.test.test_optimizeopt equaloplists pypy.jit.metainterp.history AbstractDescr LoopToken BasicFailDescr Descr N/A AbstractDescr N/A N/A N/A Logger N/A N/A logger Logger N/A log_loop N/A N/A self loop namespace N/A N/A N/A N/A N/A self log_stream N/A StringIO N/A N/A self namespace namespace N/A N/A N/A N/A logger Logger log_loop self N/A loop inputargs N/A loop operations N/A N/A N/A N/A self log_stream getvalue N/A repr_of_descr N/A N/A self descr N/A N/A N/A N/A k v N/A N/A N/A self namespace items N/A N/A N/A v descr N/A N/A k N/A N/A N/A descr repr_of_descr N/A N/A TestLogger N/A object N/A N/A ts llhelper reparse N/A N/A self inp namespace check_equal N/A None True N/A N/A  parse loop once, then log it and parse again.
        Checks that we get the same thing.
         N/A N/A namespace None N/A N/A namespace N/A N/A loop N/A pure_parse inp namespace namespace N/A logger N/A Logger N/A self ts N/A output N/A N/A logger log_loop loop namespace N/A oloop N/A pure_parse output namespace namespace N/A check_equal N/A N/A N/A equaloplists N/A loop operations N/A oloop operations N/A N/A N/A oloop inputargs N/A loop inputargs N/A N/A loop oloop N/A test_simple N/A N/A self N/A N/A N/A inp 
        [i0, i1, i2, p3, p4, p5]
        i6 = int_add(i1, i2)
        i8 = int_add(i6, 3)
        jump(i0, i8, i6, p3, p4, p5)
         N/A N/A N/A self reparse inp N/A test_descr N/A N/A self N/A N/A N/A inp 
        [p0]
        setfield_gc(p0, 3, descr=somedescr)
         N/A somedescr N/A Descr N/A N/A N/A self reparse inp namespace N/A locals N/A test_guard N/A N/A self N/A N/A N/A inp 
        [i0]
        i1 = int_add(i0, 1)
        guard_true(i0) [i0, i1]
        finish(i1)
         N/A N/A N/A self reparse inp N/A test_debug_merge_point N/A N/A self N/A N/A N/A inp 
        []
        debug_merge_point("info")
         N/A N/A loop oloop N/A N/A self reparse inp check_equal False N/A N/A N/A N/A N/A N/A N/A N/A loop operations N/A 0 args N/A 0 _get_str info N/A N/A N/A N/A N/A N/A N/A N/A oloop operations N/A 0 args N/A 0 _get_str info N/A test_floats N/A N/A self N/A N/A N/A inp 
        [f0]
        f1 = float_add(3.5, f0)
         N/A N/A loop oloop N/A N/A self reparse inp N/A N/A equaloplists N/A loop operations N/A oloop operations N/A test_jump N/A N/A self N/A N/A N/A namespace N/A target N/A LoopToken 3 N/A inp 
        [i0]
        jump(i0, descr=target)
         N/A loop N/A pure_parse inp namespace namespace N/A logger N/A Logger N/A self ts N/A output N/A N/A logger log_loop loop N/A N/A N/A N/A N/A output splitlines N/A -1 jump(i0, descr=<Loop3>) N/A N/A pure_parse output N/A test_guard N/A N/A self N/A N/A N/A namespace N/A fdescr N/A BasicFailDescr 4 N/A inp 
        [i0]
        guard_true(i0, descr=fdescr) [i0]
         N/A loop N/A pure_parse inp namespace namespace N/A logger N/A Logger N/A self ts guard_number True N/A output N/A N/A logger log_loop loop N/A N/A N/A N/A N/A output splitlines N/A -1 guard_true(i0, descr=<Guard4>) [i0] N/A N/A pure_parse output boom N/A N/A N/A N/A N/A Exception N/A N/A N/A N/A namespace N/A fdescr get_index boom N/A logger N/A Logger N/A self ts guard_number False N/A output N/A N/A logger log_loop loop N/A N/A N/A N/A N/A N/A output splitlines N/A -1 startswith guard_true(i0, descr=< N/A test_intro_loop N/A N/A self N/A N/A N/A bare_logger N/A N/A logger Logger N/A self ts N/A N/A bare_logger log_stream N/A StringIO N/A N/A N/A bare_logger log_loop N/A N/A 1 foo N/A output N/A N/A N/A bare_logger log_stream getvalue N/A N/A N/A N/A N/A output splitlines N/A 0 # Loop1 (foo), 0 ops N/A N/A pure_parse output N/A test_intro_bridge N/A N/A self N/A N/A N/A bare_logger N/A N/A logger Logger N/A self ts N/A N/A bare_logger log_stream N/A StringIO N/A N/A N/A bare_logger log_bridge N/A N/A 3 N/A output N/A N/A N/A bare_logger log_stream getvalue N/A N/A N/A N/A N/A output splitlines N/A 0 # bridge out of Guard3, 0 ops N/A N/A pure_parse output N/A N/A