/external/python/cpython2/Python/ |
D | peephole.c | 47 assert(codestr[i*3] == LOAD_CONST); in tuple_of_constants() 72 codestr[n*3] = LOAD_CONST; in tuple_of_constants() 96 assert(codestr[0] == LOAD_CONST); in fold_binops_on_constants() 97 assert(codestr[3] == LOAD_CONST); in fold_binops_on_constants() 184 codestr[4] = LOAD_CONST; in fold_binops_on_constants() 198 assert(codestr[0] == LOAD_CONST); in fold_unaryops_on_constants() 237 codestr[1] = LOAD_CONST; in fold_unaryops_on_constants() 409 codestr[i] = LOAD_CONST; in PyCode_Optimize() 417 case LOAD_CONST: in PyCode_Optimize() 447 assert(codestr[i] == LOAD_CONST); in PyCode_Optimize() [all …]
|
D | compile.c | 838 case LOAD_CONST: in opcode_stack_effect() 1273 ADDOP_O(c, LOAD_CONST, (PyObject*)co, consts); in compiler_make_closure() 1308 ADDOP_O(c, LOAD_CONST, (PyObject*)co, consts); in compiler_make_closure() 1417 ADDOP_O(c, LOAD_CONST, s->v.ClassDef.name, consts); in compiler_class() 1781 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_try_finally() 1934 ADDOP_N(c, LOAD_CONST, level, consts); in compiler_import() 1935 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_import() 1987 ADDOP_N(c, LOAD_CONST, level, consts); in compiler_from_import() 2006 ADDOP_N(c, LOAD_CONST, names, consts); in compiler_from_import() 2095 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_visit_stmt() [all …]
|
D | ceval.c | 1235 TARGET(LOAD_CONST) in PyEval_EvalFrameEx()
|
/external/python/cpython3/Python/ |
D | compile.c | 1001 case LOAD_CONST: in stack_effect() 1646 ADDOP_O(c, LOAD_CONST, (PyObject*)co, consts); in compiler_make_closure() 1647 ADDOP_O(c, LOAD_CONST, qualname, consts); in compiler_make_closure() 1712 ADDOP_N(c, LOAD_CONST, keys_tuple, consts); in compiler_visit_kwonlydefaults() 1734 ADDOP_N(c, LOAD_CONST, ann_as_str, consts); in compiler_visit_annexpr() 1824 ADDOP_N(c, LOAD_CONST, keytuple, consts); in compiler_visit_annotations() 2013 ADDOP_O(c, LOAD_CONST, c->u->u_qualname, consts); in compiler_class() 2055 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_class() 2074 ADDOP_O(c, LOAD_CONST, s->v.ClassDef.name, consts); in compiler_class() 2406 ADDOP_O(c, LOAD_CONST, Py_None, consts); in compiler_async_for() [all …]
|
D | peephole.c | 37 if (_Py_OPCODE(codestr[i]) == LOAD_CONST) { in lastn_const_start() 147 assert(_Py_OPCODE(codestr[pos]) == LOAD_CONST); in fold_tuple_on_constants() 162 return copy_op_arg(codestr, c_start, LOAD_CONST, in fold_tuple_on_constants() 290 case LOAD_CONST: in PyCode_Optimize()
|
D | ceval.c | 1087 PREDICTED(LOAD_CONST); in _PyEval_EvalFrameDefault() 1088 TARGET(LOAD_CONST) { in _PyEval_EvalFrameDefault() 1741 PREDICT(LOAD_CONST); in _PyEval_EvalFrameDefault() 1778 PREDICT(LOAD_CONST); in _PyEval_EvalFrameDefault() 2801 PREDICT(LOAD_CONST); in _PyEval_EvalFrameDefault()
|
/external/python/setuptools/setuptools/ |
D | depends.py | 155 LOAD_CONST = 100 163 if op == LOAD_CONST:
|
/external/python/cpython2/Objects/ |
D | lnotab_notes.txt | 92 3 9 LOAD_CONST 1 (1) 99 6 18 LOAD_CONST 2 (2) 101 >> 22 LOAD_CONST 0 (None)
|
/external/python/cpython3/Objects/ |
D | lnotab_notes.txt | 100 8 LOAD_CONST 1 (1) 109 22 LOAD_CONST 2 (2) 112 >> 28 LOAD_CONST 0 (None)
|
/external/python/cpython2/Include/ |
D | opcode.h | 107 #define LOAD_CONST 100 /* Index in const list */ macro
|
/external/python/cpython3/Include/ |
D | opcode.h | 78 #define LOAD_CONST 100 macro
|
/external/python/cpython2/Lib/ |
D | modulefinder.py | 18 LOAD_CONST = dis.opmap['LOAD_CONST'] variable 373 and opargs[i-1][0] == LOAD_CONST): 390 and opargs[i-1][0] == opargs[i-2][0] == LOAD_CONST):
|
/external/python/cpython3/Lib/ |
D | modulefinder.py | 15 LOAD_CONST = dis.opmap['LOAD_CONST'] variable 351 and opargs[i-1][0] == opargs[i-2][0] == LOAD_CONST):
|
/external/python/cpython2/Doc/library/ |
D | dis.rst | 629 .. opcode:: LOAD_CONST (consti)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.2.rst | 1968 3 LOAD_CONST 0 (2) 1970 7 LOAD_CONST 1 (1) 1973 16 LOAD_CONST 2 (3) 1976 23 LOAD_CONST 1 (1) 1980 31 LOAD_CONST 0 (2)
|
D | 3.4.rst | 733 LOAD_CONST 753 LOAD_CONST (100) 758 ' --> 3 LOAD_CONST 1 (1)',
|
/external/python/cpython3/Doc/library/ |
D | dis.rst | 799 .. opcode:: LOAD_CONST (consti)
|