Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias alias ImportFrom alias alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad BinOpSub Num NameLoad Return BinOpFloorDiv NameLoad Num decorator_list decorator_list FunctionDef arguments args NameParam defaults body Return CompareGtE NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call NameLoad Num body If Call NameLoad Call NameLoad NameLoad body Return NameLoad orelse Return Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list Assign NameStore BinOpMult Num NameLoad Assign NameStore BinOpMult Num NameLoad ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Assign NameStore Call NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Assert CompareEq NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Num For NameStore Call NameLoad NameLoad body AugAssignAdd NameStore NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad keyword NameLoad Assign NameStore NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Num Assert CompareEq NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Import alias ImportFrom alias Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num BinOpAdd BinOpAdd Str NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Return Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num attr ListLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num While CompareLtE NameLoad NameLoad body AugAssignAdd NameStore NameLoad AugAssignAdd NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd BinOpAdd Call NameLoad Num Call NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad NameLoad Return BinOpAdd BinOpAdd Num Call NameLoad Call NameLoad Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr For NameStore NameLoad body If CompareNotEq SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assert UnaryOpNot NameLoad decorator_list Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad keyword NameLoad keyword Num keyword NameLoad Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Assign NameStore NameLoad orelse Assign NameStore BinOpAdd NameLoad Num Return BinOpMult NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Return BinOpSub Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list Assert CompareEq Call NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad ListLoad Num Assert CompareEq NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Num If CompareEq NameLoad Num body If CompareGtE NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Num orelse Assign NameStore Call NameLoad NameLoad NameLoad Num orelse Assign NameStore Call NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body Assign NameStore BinOpAdd BinOpMult NameLoad Num NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr For NameStore TupleLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num body Assert CompareEq Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body If CompareLt NameLoad Num body Return Num Return BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd Call NameLoad NameLoad Num Call NameLoad NameLoad Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr body Assert CompareNotIn Call NameLoad Num AttributeLoad NameLoad attr Assert CompareNotIn Call NameLoad Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body If CompareGt NameLoad Num body Return Call NameLoad orelse Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareNotIn Str Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad NameLoad Return Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Assert CompareEq NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body If CompareGt NameLoad Num body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call NameLoad NameLoad Return Num handlers ExceptHandler type NameLoad body Return Num decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad ListLoad NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad ImportFrom alias identifier ImportFrom alias Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareIs AttributeLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr attr NameLoad body Assign NameStore NameLoad Assert NameLoad Str ImportFrom alias Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad Num Assert CompareEq NameLoad Num decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr decorator_list
N/A N/A py pypy.translator.backendopt.all backend_optimizations pypy.translator.backendopt.all INLINE_THRESHOLD_FOR_TEST pypy.translator.backendopt.support md5digest pypy.translator.backendopt.test.test_malloc TestLLTypeMallocRemoval LLTypeMallocRemovalTest pypy.translator.backendopt.test.test_malloc TestOOTypeMallocRemoval OOTypeMallocRemovalTest pypy.translator.translator TranslationContext graphof pypy.objspace.flow.model Constant summary pypy.annotation model annmodel pypy.rpython.llinterp LLInterpreter pypy.rlib.rarithmetic intmask pypy conftest A N/A N/A __init__ N/A N/A self x y N/A N/A N/A N/A self bounds N/A x y N/A mean N/A N/A self percentage N/A 50 N/A N/A N/A x y N/A self bounds N/A total N/A N/A x percentage N/A y N/A 100 percentage N/A N/A total 100 N/A N/A condition N/A N/A n N/A N/A N/A N/A n 100 N/A firstthat N/A N/A function condition N/A N/A N/A n N/A range 101 N/A N/A N/A condition N/A function n N/A N/A n N/A N/A -1 N/A myfunction N/A N/A n N/A N/A N/A a N/A A 117 n N/A N/A N/A a mean N/A big N/A N/A N/A N/A N/A This example should be turned into a simple 'while' loop with no
    malloc nor direct_call by back-end optimizations, given a high enough
    inlining threshold.
     N/A N/A firstthat myfunction condition N/A N/A LARGE_THRESHOLD N/A 10 INLINE_THRESHOLD_FOR_TEST N/A HUGE_THRESHOLD N/A 100 INLINE_THRESHOLD_FOR_TEST BaseTester N/A object N/A N/A type_system None translateopt N/A N/A self func sig N/A optflags N/A N/A t N/A TranslationContext N/A N/A N/A N/A N/A t buildannotator build_types func sig N/A N/A N/A N/A N/A t buildrtyper type_system N/A self type_system specialize N/A N/A N/A conftest option view N/A N/A N/A N/A t view N/A N/A backend_optimizations t optflags N/A N/A N/A conftest option view N/A N/A N/A N/A t view N/A t N/A test_big N/A N/A self N/A N/A N/A N/A N/A big 83 N/A t N/A N/A self translateopt big N/A inline_threshold HUGE_THRESHOLD mallocs True N/A big_graph N/A graphof t big N/A N/A N/A self check_malloc_removed big_graph N/A interp N/A LLInterpreter N/A t rtyper N/A res N/A N/A interp eval_graph big_graph N/A N/A N/A res 83 N/A test_for_loop N/A N/A self N/A N/A f N/A N/A n N/A N/A N/A total 0 N/A i N/A range n N/A N/A total i N/A total N/A N/A t N/A N/A self translateopt f N/A int mallocs True N/A f_graph graph N/A graphof t f N/A N/A N/A self check_malloc_removed f_graph N/A interp N/A LLInterpreter N/A t rtyper N/A res N/A N/A interp eval_graph f_graph N/A 11 N/A N/A res 55 N/A test_premature_death N/A N/A self N/A N/A N/A os pypy.annotation.listdef s_list_of_strings N/A inputtypes N/A s_list_of_strings debug N/A N/A msg N/A N/A N/A N/A N/A os write 2 N/A N/A debug:  msg N/A entry_point N/A N/A argv N/A N/A N/A arg argv N/A N/A r N/A N/A arg replace _ - N/A a N/A N/A r lower N/A 0 N/A N/A t N/A N/A self translateopt entry_point inputtypes mallocs True N/A entry_point_graph N/A graphof t entry_point N/A argv N/A N/A N/A N/A N/A t rtyper getrepr N/A inputtypes N/A 0 convert_const N/A ./pypy-c N/A interp N/A LLInterpreter N/A t rtyper N/A N/A N/A interp eval_graph entry_point_graph N/A argv N/A test_idempotent N/A N/A self N/A N/A s N/A N/A x N/A N/A N/A res 0 N/A i 1 N/A N/A i x N/A N/A res i N/A i 1 N/A res N/A g N/A N/A x N/A N/A N/A N/A N/A N/A s 100 N/A s 1 x N/A idempotent N/A N/A n1 n2 N/A N/A N/A c N/A i N/A i N/A range n2 N/A N/A N/A 33 N/A big N/A g 10 N/A N/A t N/A N/A self translateopt idempotent N/A int int raisingop2direct_call True constfold False N/A digest1 N/A md5digest t N/A digest2 N/A md5digest t compare N/A N/A digest1 digest2 N/A N/A N/A diffs N/A N/A N/A N/A N/A digest1 keys N/A N/A digest2 keys N/A name digest1 N/A N/A N/A N/A digest1 N/A name N/A digest2 N/A name N/A N/A N/A N/A diffs append name N/A N/A diffs N/A N/A N/A compare digest1 digest2 N/A N/A backend_optimizations t raisingop2direct_call True inline_threshold 0 constfold False N/A digest3 N/A md5digest t N/A N/A compare digest1 digest3 N/A test_bug_inlined_if N/A N/A self N/A N/A f N/A N/A x flag N/A N/A N/A flag N/A N/A y x N/A N/A y N/A x 1 N/A N/A y 5 N/A myfunc N/A N/A x N/A N/A N/A N/A N/A f x False N/A f x True N/A N/A N/A N/A myfunc 10 5 N/A t N/A N/A self translateopt myfunc N/A int inline_threshold HUGE_THRESHOLD N/A interp N/A LLInterpreter N/A t rtyper N/A res N/A N/A interp eval_graph N/A graphof t myfunc N/A 10 N/A N/A res 5 N/A test_range_iter N/A N/A self N/A N/A fn N/A N/A start stop step N/A N/A N/A res 0 N/A N/A step 0 N/A N/A N/A stop start N/A N/A r N/A range start stop 1 N/A N/A r N/A range start stop -1 N/A N/A r N/A range start stop step N/A i r N/A N/A res N/A N/A res 51 i N/A res N/A N/A t N/A N/A self translateopt fn N/A int int int merge_if_blocks True N/A interp N/A LLInterpreter N/A t rtyper N/A args N/A N/A 2 7 0 N/A 7 2 0 N/A 10 50 7 N/A 50 -10 -3 N/A N/A N/A N/A N/A interp eval_graph N/A graphof t fn args N/A intmask N/A fn args N/A test_constant_diffuse N/A N/A self N/A N/A g N/A N/A x y N/A N/A N/A N/A x 0 N/A N/A 0 N/A N/A x y N/A f N/A N/A x N/A N/A N/A N/A N/A g x 7 N/A g x 11 N/A N/A t N/A N/A self translateopt f N/A int N/A fgraph N/A graphof t f N/A link N/A N/A fgraph iterlinks N/A N/A N/A N/A Constant 7 N/A link args N/A N/A N/A Constant 11 N/A link args N/A test_isinstance N/A N/A self N/A N/A A N/A N/A N/A N/A B N/A A N/A N/A N/A g N/A N/A n N/A N/A N/A N/A n 10 N/A N/A N/A A N/A N/A b N/A B N/A N/A b value 321 N/A b N/A fn N/A N/A n N/A N/A N/A x N/A g n N/A N/A isinstance x B N/A N/A x value N/A N/A t N/A N/A self translateopt fn N/A int really_remove_asserts True remove_asserts True N/A graph N/A graphof t fn N/A N/A direct_call N/A summary graph N/A N/A TestLLType N/A BaseTester N/A N/A type_system lltype N/A check_malloc_removed N/A LLTypeMallocRemovalTest check_malloc_removed test_list_comp N/A N/A self N/A N/A f N/A N/A n1 n2 N/A N/A N/A c N/A i N/A i N/A range n2 N/A 33 N/A N/A t N/A N/A self translateopt f N/A int int inline_threshold LARGE_THRESHOLD mallocs True N/A f_graph N/A graphof t f N/A N/A N/A self check_malloc_removed f_graph N/A interp N/A LLInterpreter N/A t rtyper N/A res N/A N/A interp eval_graph f_graph N/A 11 22 N/A N/A res 33 N/A test_secondary_backendopt N/A N/A self N/A N/A common N/A N/A n N/A N/A N/A N/A n 5 N/A N/A ValueError N/A main N/A N/A n N/A N/A N/A N/A common n N/A later N/A N/A n N/A N/A N/A N/A N/A N/A common n N/A 0 N/A N/A N/A ValueError N/A N/A 1 N/A N/A t N/A TranslationContext N/A N/A N/A N/A N/A t buildannotator build_types main N/A int N/A N/A N/A N/A N/A t buildrtyper type_system lltype specialize N/A exctransformer N/A N/A t getexceptiontransformer N/A N/A N/A exctransformer create_exception_handling N/A graphof t common pypy.annotation model annmodel pypy.rpython.annlowlevel MixLevelHelperAnnotator N/A annhelper N/A MixLevelHelperAnnotator N/A t rtyper N/A later_graph N/A N/A annhelper getgraph later N/A N/A N/A annmodel SomeInteger N/A N/A annmodel SomeInteger N/A N/A N/A annhelper finish N/A N/A N/A annhelper backend_optimize N/A N/A N/A conftest option view N/A N/A N/A N/A later_graph show N/A common_graph N/A graphof t common N/A found False N/A block N/A N/A later_graph iterblocks N/A N/A op N/A block operations N/A N/A N/A N/A N/A op opname direct_call N/A N/A N/A N/A N/A N/A op args N/A 0 value _obj graph common_graph N/A N/A found True N/A found cannot find the call (buggily inlined?) pypy.rpython.llinterp LLInterpreter N/A llinterp N/A LLInterpreter N/A t rtyper N/A res N/A N/A llinterp eval_graph later_graph N/A 10 N/A N/A res 1 N/A N/A TestOOType N/A BaseTester N/A N/A type_system ootype N/A check_malloc_removed N/A OOTypeMallocRemovalTest check_malloc_removed N/A