Searched refs:stack_effect (Results 1 – 16 of 16) sorted by relevance
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test__opcode.py | 7 from _opcode import stack_effect 13 self.assertEqual(stack_effect(dis.opmap['POP_TOP']), -1) 14 self.assertEqual(stack_effect(dis.opmap['BUILD_SLICE'], 0), -1) 15 self.assertEqual(stack_effect(dis.opmap['BUILD_SLICE'], 1), -1) 16 self.assertEqual(stack_effect(dis.opmap['BUILD_SLICE'], 3), -2) 17 self.assertRaises(ValueError, stack_effect, 30000) 18 self.assertRaises(ValueError, stack_effect, dis.opmap['BUILD_SLICE']) 19 self.assertRaises(ValueError, stack_effect, dis.opmap['POP_TOP'], 0) 24 stack_effect(code) 25 self.assertRaises(ValueError, stack_effect, code, 0) [all …]
|
/aosp_15_r20/external/pytorch/torch/_dynamo/ |
H A D | bytecode_analysis.py | 29 stack_effect = dis.stack_effect variable 234 else stack_effect(inst.opcode, inst.arg, jump=False) 239 stack_size, stack_effect(inst.opcode, inst.arg, jump=True)
|
H A D | symbolic_convert.py | 691 stack_effect = dis.stack_effect( 693 ) + dis.stack_effect(dis.opmap["CALL"], inst.arg) 695 stack_effect = dis.stack_effect(inst.opcode, inst.arg) 696 self.popn(push - stack_effect)
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/ |
D | opcode.py | 19 from _opcode import stack_effect
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/ |
H A D | opcode.py | 19 from _opcode import stack_effect
|
/aosp_15_r20/external/python/cpython3/Lib/ |
D | opcode.py | 19 from _opcode import stack_effect
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/ |
D | opcode.py | 19 from _opcode import stack_effect
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/ |
D | opcode.py | 19 from _opcode import stack_effect
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ |
D | opcode.py | 19 from _opcode import stack_effect
|
/aosp_15_r20/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.1rc1.rst | 47 Fix stack_effect computation for CALL_FUNCTION_EX. Patch by Matthieu
|
D | 3.8.0a1.rst | 5019 Added *jump* parameter to :func:`dis.stack_effect`. 5066 :func:`dis.stack_effect` now supports all defined opcodes including NOP and
|
D | 3.7.0a1.rst | 756 Fix stack_effect computation for CALL_FUNCTION_EX. Patch by Matthieu
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | dis.rst | 309 .. function:: stack_effect(opcode, oparg=None, *, jump=None) 313 If the code has a jump target and *jump* is ``True``, :func:`~stack_effect`
|
/aosp_15_r20/external/python/cpython3/Python/ |
D | compile.c | 944 stack_effect(int opcode, int oparg, int jump) in stack_effect() function 1202 return stack_effect(opcode, oparg, jump); in PyCompile_OpcodeStackEffectWithJump() 1208 return stack_effect(opcode, oparg, -1); in PyCompile_OpcodeStackEffect() 7185 int effect = stack_effect(instr->i_opcode, instr->i_oparg, 0); in stackdepth() 7198 effect = stack_effect(instr->i_opcode, instr->i_oparg, 1); in stackdepth()
|
/aosp_15_r20/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 770 New function :func:`~dis.stack_effect` computes the effect on the Python stack
|
/aosp_15_r20/external/python/cpython3/Misc/ |
D | HISTORY | 3283 - Issue #19722: Added opcode.stack_effect(), which
|