Searched refs:jumptable (Results 1 – 13 of 13) sorted by relevance
/PHP-8.0/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-8.0/ext/opcache/tests/jit/ |
H A D | switch_jumptable.phpt | 2 Switch jumptable generation
|
/PHP-8.0/ext/opcache/Optimizer/ |
H A D | zend_cfg.c | 400 HashTable *jumptable = Z_ARRVAL_P(CRT_CONSTANT(opline->op2)); in zend_build_cfg() local 402 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_build_cfg() 567 HashTable *jumptable = Z_ARRVAL_P(CRT_CONSTANT(opline->op2)); in zend_build_cfg() local 571 …ock->successors_count = (opline->opcode == ZEND_MATCH ? 1 : 2) + zend_hash_num_elements(jumptable); in zend_build_cfg() 574 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_build_cfg()
|
H A D | block_pass.c | 111 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in get_const_switch_target() local 123 zv = zend_hash_index_find(jumptable, Z_LVAL_P(val)); in get_const_switch_target() 126 zv = zend_hash_find(jumptable, Z_STR_P(val)); in get_const_switch_target() 1067 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in assemble_code_blocks() local 1070 …b->successors_count == (opline->opcode == ZEND_MATCH ? 1 : 2) + zend_hash_num_elements(jumptable)); in assemble_code_blocks() 1072 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in assemble_code_blocks()
|
H A D | zend_optimizer.c | 708 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_optimizer_migrate_jump() local 710 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_optimizer_migrate_jump() 754 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_optimizer_shift_jump() local 756 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_optimizer_shift_jump()
|
H A D | zend_dump.c | 623 HashTable *jumptable = Z_ARRVAL_P(op); in zend_dump_op() local 627 ZEND_HASH_FOREACH_KEY_VAL(jumptable, num_key, key, zv) { in zend_dump_op()
|
H A D | dfa_pass.c | 682 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_ssa_replace_control_link() local 684 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_ssa_replace_control_link()
|
/PHP-8.0/Zend/ |
H A D | zend_compile.c | 5334 HashTable *jumptable = NULL; in zend_compile_switch() local 5347 ALLOC_HASHTABLE(jumptable); in zend_compile_switch() 5350 ZVAL_ARR(&jumptable_op.u.constant, jumptable); in zend_compile_switch() 5408 if (jumptable) { in zend_compile_switch() 5424 if (jumptable) { in zend_compile_switch() 5437 if (jumptable) { in zend_compile_switch() 5517 HashTable *jumptable = NULL; in zend_compile_match() local 5536 ALLOC_HASHTABLE(jumptable); in zend_compile_match() 5593 if (jumptable) { in zend_compile_match() 5618 if (jumptable) { in zend_compile_match() [all …]
|
H A D | zend_opcode.c | 1073 HashTable *jumptable = Z_ARRVAL_P(CT_CONSTANT(opline->op2)); in pass_two() local 1075 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in pass_two()
|
H A D | zend_vm_def.h | 8823 HashTable *jumptable; variable 8835 jumptable = Z_ARRVAL_P(GET_OP2_ZVAL_PTR(BP_VAR_R)); 8836 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op)); 8851 HashTable *jumptable; variable 8868 jumptable = Z_ARRVAL_P(GET_OP2_ZVAL_PTR(BP_VAR_R)); 8869 jump_zv = zend_hash_find_ex(jumptable, Z_STR_P(op), OP1_TYPE == IS_CONST); 8884 HashTable *jumptable; variable 8887 jumptable = Z_ARRVAL_P(GET_OP2_ZVAL_PTR(BP_VAR_R)); 8891 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op)); 8893 jump_zv = zend_hash_find_ex(jumptable, Z_STR_P(op), OP1_TYPE == IS_CONST);
|
H A D | zend_vm_execute.h | 7384 HashTable *jumptable; in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER() local 7396 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER() 7397 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op)); in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER() 7412 HashTable *jumptable; in ZEND_SWITCH_STRING_SPEC_CONST_CONST_HANDLER() local 7429 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_SWITCH_STRING_SPEC_CONST_CONST_HANDLER() 7445 HashTable *jumptable; in ZEND_MATCH_SPEC_CONST_CONST_HANDLER() local 7448 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_MATCH_SPEC_CONST_CONST_HANDLER() 12433 HashTable *jumptable; in ZEND_SWITCH_LONG_SPEC_TMPVARCV_CONST_HANDLER() local 12446 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op)); in ZEND_SWITCH_LONG_SPEC_TMPVARCV_CONST_HANDLER() 12461 HashTable *jumptable; in ZEND_SWITCH_STRING_SPEC_TMPVARCV_CONST_HANDLER() local [all …]
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit_x86.dasc | 14710 | LOAD_ADDR FCARG1a, jumptable 14736 count = jumptable->nNumUsed; 14737 p = jumptable->arData; 14875 if (HT_IS_PACKED(jumptable)) { 14876 uint32_t count = jumptable->nNumUsed; 14877 Bucket *p = jumptable->arData; 14879 | cmp FCARG2a, jumptable->nNumUsed 14903 p = jumptable->arData; 14932 | LOAD_ADDR FCARG1a, jumptable 14973 | LOAD_ADDR FCARG1a, jumptable [all …]
|
Completed in 213 milliseconds