Home
last modified time | relevance | path

Searched refs:jumptable (Results 1 – 14 of 14) sorted by relevance

/PHP-8.1/Zend/tests/match/
H A D040.phpt2 Test match with mixed int/string jumptable
H A D037.phpt2 Test match jumptable with only one arm
/PHP-8.1/ext/opcache/tests/jit/
H A Dswitch_jumptable.phpt2 Switch jumptable generation
/PHP-8.1/Zend/Optimizer/
H A Dzend_cfg.c402 HashTable *jumptable = Z_ARRVAL_P(CRT_CONSTANT(opline->op2)); in zend_build_cfg() local
404 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_build_cfg()
570 HashTable *jumptable = Z_ARRVAL_P(CRT_CONSTANT(opline->op2)); in zend_build_cfg() local
574 …ock->successors_count = (opline->opcode == ZEND_MATCH ? 1 : 2) + zend_hash_num_elements(jumptable); in zend_build_cfg()
577 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_build_cfg()
H A Dblock_pass.c110 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()
1078 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in assemble_code_blocks() local
1081 …b->successors_count == (opline->opcode == ZEND_MATCH ? 1 : 2) + zend_hash_num_elements(jumptable)); in assemble_code_blocks()
1083 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in assemble_code_blocks()
H A Dzend_optimizer.c678 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_optimizer_migrate_jump() local
680 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_optimizer_migrate_jump()
724 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_optimizer_shift_jump() local
726 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_optimizer_shift_jump()
H A Dzend_dump.c642 HashTable *jumptable = Z_ARRVAL_P(op); in zend_dump_op() local
646 ZEND_HASH_FOREACH_KEY_VAL(jumptable, num_key, key, zv) { in zend_dump_op()
H A Ddfa_pass.c695 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_ssa_replace_control_link() local
697 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_ssa_replace_control_link()
/PHP-8.1/Zend/
H A Dzend_compile.c5552 HashTable *jumptable = NULL; in zend_compile_switch() local
5565 ALLOC_HASHTABLE(jumptable); in zend_compile_switch()
5568 ZVAL_ARR(&jumptable_op.u.constant, jumptable); in zend_compile_switch()
5626 if (jumptable) { in zend_compile_switch()
5642 if (jumptable) { in zend_compile_switch()
5655 if (jumptable) { in zend_compile_switch()
5735 HashTable *jumptable = NULL; in zend_compile_match() local
5754 ALLOC_HASHTABLE(jumptable); in zend_compile_match()
5811 if (jumptable) { in zend_compile_match()
5836 if (jumptable) { in zend_compile_match()
[all …]
H A Dzend_opcode.c1138 HashTable *jumptable = Z_ARRVAL_P(CT_CONSTANT(opline->op2)); in pass_two() local
1140 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in pass_two()
H A Dzend_vm_def.h8916 HashTable *jumptable; variable
8928 jumptable = Z_ARRVAL_P(GET_OP2_ZVAL_PTR(BP_VAR_R));
8929 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op));
8944 HashTable *jumptable; variable
8961 jumptable = Z_ARRVAL_P(GET_OP2_ZVAL_PTR(BP_VAR_R));
8962 jump_zv = zend_hash_find_ex(jumptable, Z_STR_P(op), OP1_TYPE == IS_CONST);
8977 HashTable *jumptable; variable
8980 jumptable = Z_ARRVAL_P(GET_OP2_ZVAL_PTR(BP_VAR_R));
8984 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op));
8986 jump_zv = zend_hash_find_ex(jumptable, Z_STR_P(op), OP1_TYPE == IS_CONST);
H A Dzend_vm_execute.h7576 HashTable *jumptable; in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER() local
7588 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER()
7589 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op)); in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER()
7604 HashTable *jumptable; in ZEND_SWITCH_STRING_SPEC_CONST_CONST_HANDLER() local
7621 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_SWITCH_STRING_SPEC_CONST_CONST_HANDLER()
7637 HashTable *jumptable; in ZEND_MATCH_SPEC_CONST_CONST_HANDLER() local
7640 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_MATCH_SPEC_CONST_CONST_HANDLER()
12642 HashTable *jumptable; in ZEND_SWITCH_LONG_SPEC_TMPVARCV_CONST_HANDLER() local
12655 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op)); in ZEND_SWITCH_LONG_SPEC_TMPVARCV_CONST_HANDLER()
12670 HashTable *jumptable; in ZEND_SWITCH_STRING_SPEC_TMPVARCV_CONST_HANDLER() local
[all …]
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_x86.dasc14968 | LOAD_ADDR FCARG1a, jumptable
14994 count = jumptable->nNumUsed;
14995 p = jumptable->arData;
15142 if (HT_IS_PACKED(jumptable)) {
15143 uint32_t count = jumptable->nNumUsed;
15144 Bucket *p = jumptable->arData;
15146 | cmp FCARG2a, jumptable->nNumUsed
15170 p = jumptable->arData;
15202 | LOAD_ADDR FCARG1a, jumptable
15243 | LOAD_ADDR FCARG1a, jumptable
[all …]
H A Dzend_jit_arm64.dasc14038 | LOAD_ADDR FCARG1x, jumptable
14054 count = jumptable->nNumUsed;
14055 p = jumptable->arData;
14107 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(zv));
14204 if (HT_IS_PACKED(jumptable)) {
14205 uint32_t count = jumptable->nNumUsed;
14206 Bucket *p = jumptable->arData;
14226 p = jumptable->arData;
14258 | LOAD_ADDR FCARG1x, jumptable
14302 | LOAD_ADDR FCARG1x, jumptable
[all …]

Completed in 292 milliseconds