Home
last modified time | relevance | path

Searched refs:LOAD_CONST (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython2/Python/
Dpeephole.c47 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 …]
Dcompile.c838 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 …]
Dceval.c1235 TARGET(LOAD_CONST) in PyEval_EvalFrameEx()
/external/python/cpython3/Python/
Dcompile.c1001 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 …]
Dpeephole.c37 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()
Dceval.c1087 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/
Ddepends.py155 LOAD_CONST = 100
163 if op == LOAD_CONST:
/external/python/cpython2/Objects/
Dlnotab_notes.txt92 3 9 LOAD_CONST 1 (1)
99 6 18 LOAD_CONST 2 (2)
101 >> 22 LOAD_CONST 0 (None)
/external/python/cpython3/Objects/
Dlnotab_notes.txt100 8 LOAD_CONST 1 (1)
109 22 LOAD_CONST 2 (2)
112 >> 28 LOAD_CONST 0 (None)
/external/python/cpython2/Include/
Dopcode.h107 #define LOAD_CONST 100 /* Index in const list */ macro
/external/python/cpython3/Include/
Dopcode.h78 #define LOAD_CONST 100 macro
/external/python/cpython2/Lib/
Dmodulefinder.py18 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/
Dmodulefinder.py15 LOAD_CONST = dis.opmap['LOAD_CONST'] variable
351 and opargs[i-1][0] == opargs[i-2][0] == LOAD_CONST):
/external/python/cpython2/Doc/library/
Ddis.rst629 .. opcode:: LOAD_CONST (consti)
/external/python/cpython3/Doc/whatsnew/
D3.2.rst1968 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)
D3.4.rst733 LOAD_CONST
753 LOAD_CONST (100)
758 ' --> 3 LOAD_CONST 1 (1)',
/external/python/cpython3/Doc/library/
Ddis.rst799 .. opcode:: LOAD_CONST (consti)