/third_party/python/Doc/c-api/ |
D | call.rst | 9 *tp_call* and vectorcall. 40 The vectorcall protocol was introduced in :pep:`590` as an additional protocol 43 As rule of thumb, CPython will prefer the vectorcall for internal calls 47 Therefore, a class supporting vectorcall must also implement 57 A class supporting vectorcall **must** also implement 60 A class should not implement vectorcall if that would be slower 63 in implementing vectorcall. 65 Classes can implement the vectorcall protocol by enabling the 89 If this flag is set in a vectorcall *nargsf* argument, the callee is allowed 102 To call an object that implements vectorcall, use a :ref:`call API <capi-call>` [all …]
|
D | typeobj.rst | 706 the object using the :ref:`vectorcall protocol <vectorcall>`, 726 the vectorcall protocol. 728 likely making it inconsistent with the vectorcall function. 734 If you use vectorcall, plan for updating your code for Python 3.9. 747 :ref:`vectorcall <vectorcall>`, except when 1181 the :ref:`vectorcall protocol <vectorcall>`. 2015 :ref:`vectorcall <vectorcall>` for ``type.__call__``.
|
D | structures.rst | 305 :ref:`vectorcall protocol <vectorcall>`:
|
/third_party/python/Objects/ |
D | methodobject.c | 47 vectorcallfunc vectorcall; in PyCMethod_New() local 55 vectorcall = NULL; in PyCMethod_New() 58 vectorcall = cfunction_vectorcall_FASTCALL; in PyCMethod_New() 61 vectorcall = cfunction_vectorcall_FASTCALL_KEYWORDS; in PyCMethod_New() 64 vectorcall = cfunction_vectorcall_NOARGS; in PyCMethod_New() 67 vectorcall = cfunction_vectorcall_O; in PyCMethod_New() 70 vectorcall = cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD; in PyCMethod_New() 113 op->vectorcall = vectorcall; in PyCMethod_New() 343 offsetof(PyCFunctionObject, vectorcall), /* tp_vectorcall_offset */
|
D | descrobject.c | 696 offsetof(PyMethodDescrObject, vectorcall), /* tp_vectorcall_offset */ 904 vectorcallfunc vectorcall; in PyDescr_NewMethod() local 909 vectorcall = method_vectorcall_VARARGS; in PyDescr_NewMethod() 912 vectorcall = method_vectorcall_VARARGS_KEYWORDS; in PyDescr_NewMethod() 915 vectorcall = method_vectorcall_FASTCALL; in PyDescr_NewMethod() 918 vectorcall = method_vectorcall_FASTCALL_KEYWORDS; in PyDescr_NewMethod() 921 vectorcall = method_vectorcall_NOARGS; in PyDescr_NewMethod() 924 vectorcall = method_vectorcall_O; in PyDescr_NewMethod() 927 vectorcall = method_vectorcall_FASTCALL_KEYWORDS_METHOD; in PyDescr_NewMethod() 941 descr->vectorcall = vectorcall; in PyDescr_NewMethod()
|
D | classobject.c | 114 im->vectorcall = method_vectorcall; in PyMethod_New() 337 offsetof(PyMethodObject, vectorcall), /* tp_vectorcall_offset */
|
D | funcobject.c | 79 op->vectorcall = _PyFunction_Vectorcall; in PyFunction_NewWithQualName() 691 offsetof(PyFunctionObject, vectorcall), /* tp_vectorcall_offset */
|
/third_party/python/Include/cpython/ |
D | methodobject.h | 29 vectorcallfunc vectorcall; member
|
/third_party/python/Include/ |
D | classobject.h | 17 vectorcallfunc vectorcall; member
|
D | descrobject.h | 56 vectorcallfunc vectorcall; member
|
D | funcobject.h | 44 vectorcallfunc vectorcall; member
|
/third_party/python/Modules/ |
D | _functoolsmodule.c | 42 vectorcallfunc vectorcall; member 194 pto->vectorcall = NULL; in partial_vectorcall_fallback() 273 pto->vectorcall = NULL; in partial_setvectorcall() 279 pto->vectorcall = (vectorcallfunc)partial_vectorcall; in partial_setvectorcall() 346 offsetof(partialobject, vectorcall), READONLY},
|
D | _testcapimodule.c | 6468 vectorcallfunc vectorcall; member 6478 return PyBool_FromLong(md->vectorcall != NULL); in MethodDescriptor_vectorcall() 6485 op->vectorcall = MethodDescriptor_vectorcall; in MethodDescriptor_new() 6519 .tp_vectorcall_offset = offsetof(MethodDescriptorObject, vectorcall), 6541 vectorcallfunc vectorcall; member 6548 op->base.vectorcall = NULL; in MethodDescriptor2_new() 6549 op->vectorcall = MethodDescriptor_vectorcall; in MethodDescriptor2_new() 6559 .tp_vectorcall_offset = offsetof(MethodDescriptor2Object, vectorcall),
|
/third_party/python/Lib/test/ |
D | test_call.py | 616 def vectorcall(func, args, kwargs): function 664 self.assertEqual(expected, vectorcall(func, args, kwargs))
|
/third_party/python/Misc/NEWS.d/ |
D | 3.9.0a5.rst | 98 Speed up calls to ``frozenset()`` by using the :pep:`590` ``vectorcall`` 119 Speed up calls to ``set()`` by using the :pep:`590` ``vectorcall`` calling 168 Speed up calls to ``tuple()`` by using the :pep:`590` ``vectorcall`` calling
|
D | 3.10.0a7.rst | 115 Speed up calls to ``map()`` by using the :pep:`590` ``vectorcall`` calling 242 Speed up calls to ``filter()`` by using the :pep:`590` ``vectorcall``
|
D | 3.9.0a6.rst | 124 Speed up calls to ``dict()`` by using the :pep:`590` ``vectorcall`` calling 281 Speed up calls to ``list()`` by using the :pep:`590` ``vectorcall`` calling
|
D | 3.10.0a6.rst | 109 Simple calls to ``type(object)`` are now faster due to the ``vectorcall``
|
D | 3.9.0a1.rst | 924 Implemented separate vectorcall functions for every calling convention of 975 ``super().__call__()`` when the base class uses vectorcall. 2870 Optimized ``functools.partial`` by using vectorcall. 5649 The vectorcall protocol now requires that the caller passes only strings as 5659 The vectorcall protocol is now enabled for ``type`` objects: set 5660 ``tp_vectorcall`` to a vectorcall function to be used instead of ``tp_new``
|
D | 3.9.0a4.rst | 232 ``vectorcall`` calling convention. Patch by Mark Shannon.
|
D | 3.10.0a1.rst | 70 Speed up calls to ``reversed()`` by using the :pep:`590` ``vectorcall`` 80 Calls to ``float()`` are now faster due to the ``vectorcall`` calling 90 Speed up calls to ``bool()`` by using the :pep:`590` ``vectorcall`` calling
|
/third_party/python/Doc/whatsnew/ |
D | 3.9.rst | 85 now sped up using :pep:`590` vectorcall; 764 :pep:`590` vectorcall protocol. 1369 * The vectorcall protocol now requires that the caller passes only strings as
|
D | 3.8.rst | 352 :ref:`vectorcall` is added to the Python/C API.
|
D | 3.10.rst | 1560 * The following built-in functions now support the faster :pep:`590` vectorcall calling convention:
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86CallingConv.td | 357 // X86-64 vectorcall return-value convention.
|