Searched refs:jumptable (Results 1 – 13 of 13) sorted by relevance
/php-src/Zend/tests/match/ |
H A D | 040.phpt | 2 Test match with mixed int/string jumptable
|
H A D | 037.phpt | 2 Test match jumptable with only one arm
|
/php-src/ext/opcache/tests/jit/ |
H A D | switch_jumptable.phpt | 2 Switch jumptable generation
|
/php-src/Zend/Optimizer/ |
H A D | zend_cfg.c | 395 HashTable *jumptable = Z_ARRVAL_P(CRT_CONSTANT(opline->op2)); in zend_build_cfg() local 397 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_build_cfg() 561 HashTable *jumptable = Z_ARRVAL_P(CRT_CONSTANT(opline->op2)); in zend_build_cfg() local 565 …ock->successors_count = (opline->opcode == ZEND_MATCH ? 1 : 2) + zend_hash_num_elements(jumptable); in zend_build_cfg() 568 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_build_cfg()
|
H A D | block_pass.c | 110 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in get_const_switch_target() local 122 zv = zend_hash_index_find(jumptable, Z_LVAL_P(val)); in get_const_switch_target() 125 zv = zend_hash_find(jumptable, Z_STR_P(val)); in get_const_switch_target() 1035 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in assemble_code_blocks() local 1038 …b->successors_count == (opline->opcode == ZEND_MATCH ? 1 : 2) + zend_hash_num_elements(jumptable)); in assemble_code_blocks() 1040 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in assemble_code_blocks()
|
H A D | zend_optimizer.c | 739 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_optimizer_migrate_jump() local 741 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_optimizer_migrate_jump() 784 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_optimizer_shift_jump() local 786 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_optimizer_shift_jump()
|
H A D | zend_dump.c | 665 HashTable *jumptable = Z_ARRVAL_P(op); in zend_dump_op() local 669 ZEND_HASH_FOREACH_KEY_VAL(jumptable, num_key, key, zv) { in zend_dump_op()
|
H A D | dfa_pass.c | 691 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_ssa_replace_control_link() local 693 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_ssa_replace_control_link()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_ir.c | 3612 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_jit_case_start() 3620 if (HT_IS_PACKED(jumptable)) { in zend_jit_case_start() 16136 if (!HT_IS_PACKED(jumptable)) { 16138 ir_CONST_ADDR(jumptable), ref); 16156 if (HT_IS_PACKED(jumptable)) { 16264 ir_CONST_ADDR(jumptable), ref); 16281 if (HT_IS_PACKED(jumptable)) { 16359 ir_CONST_ADDR(jumptable), ref); 16389 ir_CONST_ADDR(jumptable), ref2); 16400 if (HT_IS_PACKED(jumptable)) { [all …]
|
/php-src/Zend/ |
H A D | zend_compile.c | 6249 HashTable *jumptable = NULL; in zend_compile_switch() local 6262 ALLOC_HASHTABLE(jumptable); in zend_compile_switch() 6265 ZVAL_ARR(&jumptable_op.u.constant, jumptable); in zend_compile_switch() 6323 if (jumptable) { in zend_compile_switch() 6339 if (jumptable) { in zend_compile_switch() 6352 if (jumptable) { in zend_compile_switch() 6432 HashTable *jumptable = NULL; in zend_compile_match() local 6451 ALLOC_HASHTABLE(jumptable); in zend_compile_match() 6508 if (jumptable) { in zend_compile_match() 6537 if (jumptable) { in zend_compile_match() [all …]
|
H A D | zend_opcode.c | 1176 HashTable *jumptable = Z_ARRVAL_P(CT_CONSTANT(opline->op2)); in pass_two() local 1178 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in pass_two()
|
H A D | zend_vm_def.h | 9204 HashTable *jumptable; variable 9216 jumptable = Z_ARRVAL_P(GET_OP2_ZVAL_PTR(BP_VAR_R)); 9217 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op)); 9232 HashTable *jumptable; variable 9249 jumptable = Z_ARRVAL_P(GET_OP2_ZVAL_PTR(BP_VAR_R)); 9250 jump_zv = zend_hash_find_ex(jumptable, Z_STR_P(op), OP1_TYPE == IS_CONST); 9265 HashTable *jumptable; variable 9268 jumptable = Z_ARRVAL_P(GET_OP2_ZVAL_PTR(BP_VAR_R)); 9272 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op)); 9274 jump_zv = zend_hash_find_ex(jumptable, Z_STR_P(op), OP1_TYPE == IS_CONST);
|
H A D | zend_vm_execute.h | 8124 HashTable *jumptable; in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER() local 8136 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER() 8137 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op)); in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER() 8152 HashTable *jumptable; in ZEND_SWITCH_STRING_SPEC_CONST_CONST_HANDLER() local 8169 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_SWITCH_STRING_SPEC_CONST_CONST_HANDLER() 8185 HashTable *jumptable; in ZEND_MATCH_SPEC_CONST_CONST_HANDLER() local 8188 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_MATCH_SPEC_CONST_CONST_HANDLER() 13513 HashTable *jumptable; in ZEND_SWITCH_LONG_SPEC_TMPVARCV_CONST_HANDLER() local 13526 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op)); in ZEND_SWITCH_LONG_SPEC_TMPVARCV_CONST_HANDLER() 13541 HashTable *jumptable; in ZEND_SWITCH_STRING_SPEC_TMPVARCV_CONST_HANDLER() local [all …]
|
Completed in 256 milliseconds