Home
last modified time | relevance | path

Searched refs:PyFrameObject (Results 1 – 25 of 62) sorted by relevance

123

/external/python/cpython3/Include/cpython/
Dframeobject.h56 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
60 PyFrameObject* _PyFrame_New_NoTrack(PyThreadState *, PyCodeObject *,
68 PyAPI_FUNC(void) PyFrame_BlockSetup(PyFrameObject *, int, int, int);
69 PyAPI_FUNC(PyTryBlock *) PyFrame_BlockPop(PyFrameObject *);
73 PyAPI_FUNC(void) PyFrame_LocalsToFast(PyFrameObject *, int);
75 PyAPI_FUNC(int) PyFrame_FastToLocalsWithError(PyFrameObject *f);
76 PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *);
80 PyAPI_FUNC(PyFrameObject *) PyFrame_GetBack(PyFrameObject *frame);
Dpystate.h19 typedef int (*Py_tracefunc)(PyObject *, PyFrameObject *, int, PyObject *);
59 PyFrameObject *frame;
187 typedef PyObject* (*_PyFrameEvalFunction)(PyThreadState *tstate, PyFrameObject *, int);
Dtraceback.h12 PyFrameObject *tb_frame;
Dceval.h26 PyAPI_FUNC(PyObject *) _PyEval_EvalFrameDefault(PyThreadState *tstate, PyFrameObject *f, int exc);
/external/llvm-project/llvm/test/Transforms/LICM/
Dpr23608.ll8 %struct.PyFrameObject = type { i32 }
10 @a = common global %struct.PyFrameObject* null, align 8
18 ; NO_ASSUME-NEXT: [[TMP:%.*]] = load %struct.PyFrameObject*, %struct.PyFrameObject** @a, align 8
19 …:%.*]] = getelementptr inbounds [[STRUCT_PYFRAMEOBJECT:%.*]], %struct.PyFrameObject* [[TMP]], i64 …
45 ; USE_ASSUME-NEXT: [[TMP:%.*]] = load %struct.PyFrameObject*, %struct.PyFrameObject** @a, align 8
46PyFrameObject** @a to i64), i64 -70368744177665) to i64*), i64 8), "nonnull"(i64* inttoptr (i64 an…
47PyFrameObject** @a to i64), i64 -70368744177665), i64 35184372088832) to i32*), i64 4), "nonnull"(…
48 …:%.*]] = getelementptr inbounds [[STRUCT_PYFRAMEOBJECT:%.*]], %struct.PyFrameObject* [[TMP]], i64 …
54 …ereferenceable"(%struct.PyFrameObject* [[TMP]], i64 4), "nonnull"(%struct.PyFrameObject* [[TMP]]),…
75 %tmp = load %struct.PyFrameObject*, %struct.PyFrameObject** @a, align 8
[all …]
/external/python/cpython2/Include/
Dframeobject.h50 } PyFrameObject; typedef
61 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
69 PyAPI_FUNC(void) PyFrame_BlockSetup(PyFrameObject *, int, int, int);
70 PyAPI_FUNC(PyTryBlock *) PyFrame_BlockPop(PyFrameObject *);
74 PyAPI_FUNC(PyObject **) PyFrame_ExtendStack(PyFrameObject *, int, int);
78 PyAPI_FUNC(void) PyFrame_LocalsToFast(PyFrameObject *, int);
79 PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *);
84 PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *);
/external/python/cpython3/Objects/
Dframeobject.c12 #define OFF(x) offsetof(PyFrameObject, x)
26 frame_getlocals(PyFrameObject *f, void *closure) in frame_getlocals()
35 PyFrame_GetLineNumber(PyFrameObject *f) in PyFrame_GetLineNumber()
47 frame_getlineno(PyFrameObject *f, void *closure) in frame_getlineno()
292 frame_stack_pop(PyFrameObject *f) in frame_stack_pop()
299 frame_block_unwind(PyFrameObject *f) in frame_block_unwind()
333 frame_setlineno(PyFrameObject *f, PyObject* p_new_lineno, void *Py_UNUSED(ignored)) in frame_setlineno()
483 frame_gettrace(PyFrameObject *f, void *closure) in frame_gettrace()
496 frame_settrace(PyFrameObject *f, PyObject* v, void *closure) in frame_settrace()
563 static PyFrameObject *free_list = NULL;
[all …]
Dgenobject.c143 PyFrameObject *f = gen->gi_frame; in gen_send_ex()
327 PyFrameObject *f = gen->gi_frame; in _PyGen_yf()
418 PyFrameObject *f = tstate->frame; in _gen_throw()
781 gen_new_with_qualname(PyTypeObject *type, PyFrameObject *f, in gen_new_with_qualname()
814 PyGen_NewWithQualName(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyGen_NewWithQualName()
820 PyGen_New(PyFrameObject *f) in PyGen_New()
1108 PyFrameObject *frame = PyEval_GetFrame(); in compute_cr_origin()
1139 PyCoro_New(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyCoro_New()
1418 PyAsyncGen_New(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyAsyncGen_New()
1797 PyFrameObject *f = gen->gi_frame; in async_gen_athrow_send()
/external/llvm/test/Transforms/LICM/
Dpr23608.ll6 %struct.PyFrameObject = type { i32 }
8 @a = common global %struct.PyFrameObject* null, align 8
16 %tmp = load %struct.PyFrameObject*, %struct.PyFrameObject** @a, align 8
17 …%_msld = load i64, i64* inttoptr (i64 and (i64 ptrtoint (%struct.PyFrameObject** @a to i64), i64 -…
18 …%tmp1 = load i32, i32* inttoptr (i64 add (i64 and (i64 ptrtoint (%struct.PyFrameObject** @a to i64…
19 …%f_iblock = getelementptr inbounds %struct.PyFrameObject, %struct.PyFrameObject* %tmp, i64 0, i32 0
/external/python/cpython2/Objects/
Dframeobject.c15 #define OFF(x) offsetof(PyFrameObject, x)
27 static PyObject * frame_get_ ## NAME(PyFrameObject *f) { \
36 static int frame_set_ ## NAME(PyFrameObject *f, PyObject *new) { \
56 frame_getlocals(PyFrameObject *f, void *closure) in WARN_GET_SET()
64 PyFrame_GetLineNumber(PyFrameObject *f) in PyFrame_GetLineNumber()
73 frame_getlineno(PyFrameObject *f, void *closure) in frame_getlineno()
97 frame_setlineno(PyFrameObject *f, PyObject* p_new_lineno) in frame_setlineno()
388 frame_gettrace(PyFrameObject *f, void *closure) in frame_gettrace()
401 frame_settrace(PyFrameObject *f, PyObject* v, void *closure) in frame_settrace()
415 frame_getrestricted(PyFrameObject *f, void *closure) in frame_getrestricted()
[all …]
Dgenobject.c48 PyFrameObject *f = gen->gi_frame; in gen_send_ex()
383 PyGen_New(PyFrameObject *f) in PyGen_New()
403 PyFrameObject *f = gen->gi_frame; in PyGen_NeedsFinalizing()
/external/python/cpython3/Include/
Dgenobject.h18 PyFrameObject *prefix##_frame; \
41 PyAPI_FUNC(PyObject *) PyGen_New(PyFrameObject *);
42 PyAPI_FUNC(PyObject *) PyGen_NewWithQualName(PyFrameObject *,
61 PyAPI_FUNC(PyObject *) PyCoro_New(PyFrameObject *,
87 PyAPI_FUNC(PyObject *) PyAsyncGen_New(PyFrameObject *,
Dpyframe.h12 typedef struct _frame PyFrameObject; typedef
15 PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *);
17 PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame);
Dceval.h34 PyAPI_FUNC(PyFrameObject *) PyEval_GetFrame(void);
81 PyAPI_FUNC(PyObject *) PyEval_EvalFrame(PyFrameObject *);
82 PyAPI_FUNC(PyObject *) PyEval_EvalFrameEx(PyFrameObject *f, int exc);
Dtraceback.h9 PyAPI_FUNC(int) PyTraceBack_Here(PyFrameObject *);
/external/python/cpython3/Python/clinic/
Dtraceback.c.h12 tb_new_impl(PyTypeObject *type, PyObject *tb_next, PyFrameObject *tb_frame,
25 PyFrameObject *tb_frame; in tb_new()
38 tb_frame = (PyFrameObject *)fastargs[1]; in tb_new()
/external/python/cpython3/Doc/c-api/
Dreflection.rst26 .. c:function:: PyFrameObject* PyEval_GetFrame(void)
34 .. c:function:: int PyFrame_GetBack(PyFrameObject *frame)
45 .. c:function:: int PyFrame_GetCode(PyFrameObject *frame)
56 .. c:function:: int PyFrame_GetLineNumber(PyFrameObject *frame)
Dgen.rst33 .. c:function:: PyObject* PyGen_New(PyFrameObject *frame)
39 .. c:function:: PyObject* PyGen_NewWithQualName(PyFrameObject *frame, PyObject *name, PyObject *qua…
/external/python/cpython3/Python/
Dtraceback.c37 tb_create_raw(PyTracebackObject *next, PyFrameObject *frame, int lasti, in tb_create_raw()
72 tb_new_impl(PyTypeObject *type, PyObject *tb_next, PyFrameObject *tb_frame, in tb_new_impl()
231 _PyTraceBack_FromFrame(PyObject *tb_next, PyFrameObject *frame) in _PyTraceBack_FromFrame()
242 PyTraceBack_Here(PyFrameObject *frame) in PyTraceBack_Here()
261 PyFrameObject *frame; in _PyTraceback_Add()
754 dump_frame(int fd, PyFrameObject *frame) in dump_frame()
794 PyFrameObject *frame; in dump_traceback()
819 PyFrameObject *back = PyFrame_GetBack(frame); in dump_traceback()
Dceval.c60 PyThreadState *, PyFrameObject *,
63 PyThreadState *, PyFrameObject *,
66 PyThreadState *, PyFrameObject *);
68 PyThreadState *, PyFrameObject *,
70 static void maybe_dtrace_line(PyFrameObject *, int *, int *, int *);
71 static void dtrace_function_entry(PyFrameObject *);
72 static void dtrace_function_return(PyFrameObject *);
74 static PyObject * import_name(PyThreadState *, PyFrameObject *,
81 PyFrameObject *, const _Py_CODEUNIT *);
838 PyEval_EvalFrame(PyFrameObject *f) in PyEval_EvalFrame()
[all …]
/external/python/cpython2/Doc/c-api/
Dreflection.rst26 .. c:function:: PyFrameObject* PyEval_GetFrame()
32 .. c:function:: int PyFrame_GetLineNumber(PyFrameObject *frame)
/external/tensorflow/tensorflow/python/profiler/internal/
Dpython_hooks.h92 void ProfileFast(PyFrameObject* frame, int what, PyObject* arg);
140 void ProfileFast(PyFrameObject* frame, int what, PyObject* arg) { in ProfileFast()
Dpython_hooks.cc34 int ProfileFunction(PyObject* obj, PyFrameObject* frame, int what, in ProfileFunction()
244 ProfileFast(reinterpret_cast<PyFrameObject*>(frame.ptr()), what, arg.ptr()); in ProfileSlow()
247 void PythonHookContext::ProfileFast(PyFrameObject* frame, int what, in ProfileFast()
/external/python/cpython3/Include/internal/
Dpycore_traceback.h92 PyFrameObject *frame);
/external/python/cpython2/Python/
Dceval.c129 static int call_trace(Py_tracefunc, PyObject *, PyFrameObject *,
132 PyFrameObject *, int, PyObject *);
133 static void call_exc_trace(Py_tracefunc, PyObject *, PyFrameObject *);
135 PyFrameObject *, int *, int *, int *);
144 static int exec_statement(PyFrameObject *,
150 PyFrameObject *, unsigned char *);
681 PyEval_EvalFrame(PyFrameObject *f) { in PyEval_EvalFrame()
689 PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) in PyEval_EvalFrameEx()
3371 register PyFrameObject *f; in PyEval_EvalCodeEx()
3722 PyFrameObject *frame = tstate->frame; in set_exc_info()
[all …]

123