Home
last modified time | relevance | path

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

/PHP-8.3/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.3/ext/opcache/tests/jit/
H A Dswitch_jumptable.phpt2 Switch jumptable generation
/PHP-8.3/Zend/Optimizer/
H A Dzend_cfg.c396 HashTable *jumptable = Z_ARRVAL_P(CRT_CONSTANT(opline->op2)); in zend_build_cfg() local
398 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_build_cfg()
562 HashTable *jumptable = Z_ARRVAL_P(CRT_CONSTANT(opline->op2)); in zend_build_cfg() local
566 …ock->successors_count = (opline->opcode == ZEND_MATCH ? 1 : 2) + zend_hash_num_elements(jumptable); in zend_build_cfg()
569 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()
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 Dzend_optimizer.c738 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_optimizer_migrate_jump() local
740 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_optimizer_migrate_jump()
782 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_optimizer_shift_jump() local
784 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_optimizer_shift_jump()
H A Dzend_dump.c660 HashTable *jumptable = Z_ARRVAL_P(op); in zend_dump_op() local
664 ZEND_HASH_FOREACH_KEY_VAL(jumptable, num_key, key, zv) { in zend_dump_op()
H A Ddfa_pass.c677 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_ssa_replace_control_link() local
679 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_ssa_replace_control_link()
/PHP-8.3/Zend/
H A Dzend_compile.c5736 HashTable *jumptable = NULL; in zend_compile_switch() local
5749 ALLOC_HASHTABLE(jumptable); in zend_compile_switch()
5752 ZVAL_ARR(&jumptable_op.u.constant, jumptable); in zend_compile_switch()
5810 if (jumptable) { in zend_compile_switch()
5826 if (jumptable) { in zend_compile_switch()
5839 if (jumptable) { in zend_compile_switch()
5919 HashTable *jumptable = NULL; in zend_compile_match() local
5938 ALLOC_HASHTABLE(jumptable); in zend_compile_match()
5995 if (jumptable) { in zend_compile_match()
6024 if (jumptable) { in zend_compile_match()
[all …]
H A Dzend_opcode.c1157 HashTable *jumptable = Z_ARRVAL_P(CT_CONSTANT(opline->op2)); in pass_two() local
1159 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in pass_two()
H A Dzend_vm_def.h9117 HashTable *jumptable; variable
9129 jumptable = Z_ARRVAL_P(GET_OP2_ZVAL_PTR(BP_VAR_R));
9130 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op));
9145 HashTable *jumptable; variable
9162 jumptable = Z_ARRVAL_P(GET_OP2_ZVAL_PTR(BP_VAR_R));
9163 jump_zv = zend_hash_find_ex(jumptable, Z_STR_P(op), OP1_TYPE == IS_CONST);
9178 HashTable *jumptable; variable
9181 jumptable = Z_ARRVAL_P(GET_OP2_ZVAL_PTR(BP_VAR_R));
9185 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op));
9187 jump_zv = zend_hash_find_ex(jumptable, Z_STR_P(op), OP1_TYPE == IS_CONST);
H A Dzend_vm_execute.h7772 HashTable *jumptable; in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER() local
7784 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER()
7785 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op)); in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER()
7800 HashTable *jumptable; in ZEND_SWITCH_STRING_SPEC_CONST_CONST_HANDLER() local
7817 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_SWITCH_STRING_SPEC_CONST_CONST_HANDLER()
7833 HashTable *jumptable; in ZEND_MATCH_SPEC_CONST_CONST_HANDLER() local
7836 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_MATCH_SPEC_CONST_CONST_HANDLER()
13002 HashTable *jumptable; in ZEND_SWITCH_LONG_SPEC_TMPVARCV_CONST_HANDLER() local
13015 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op)); in ZEND_SWITCH_LONG_SPEC_TMPVARCV_CONST_HANDLER()
13030 HashTable *jumptable; in ZEND_SWITCH_STRING_SPEC_TMPVARCV_CONST_HANDLER() local
[all …]
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_arm64.dasc13936 | LOAD_ADDR FCARG1x, jumptable
13939 if (HT_IS_PACKED(jumptable)) {
13956 count = jumptable->nNumUsed;
13957 p = jumptable->arData;
13983 if (HT_IS_PACKED(jumptable)) {
14110 if (HT_IS_PACKED(jumptable)) {
14111 uint32_t count = jumptable->nNumUsed;
14112 zval *zv = jumptable->arPacked;
14163 | LOAD_ADDR FCARG1x, jumptable
14207 | LOAD_ADDR FCARG1x, jumptable
[all …]
H A Dzend_jit_x86.dasc14860 | LOAD_ADDR FCARG1a, jumptable
14862 if (HT_IS_PACKED(jumptable)) {
14890 count = jumptable->nNumUsed;
14891 p = jumptable->arData;
14917 if (HT_IS_PACKED(jumptable)) {
15042 if (HT_IS_PACKED(jumptable)) {
15044 zval *zv = jumptable->arPacked;
15046 | cmp FCARG2a, jumptable->nNumUsed
15101 | LOAD_ADDR FCARG1a, jumptable
15142 | LOAD_ADDR FCARG1a, jumptable
[all …]

Completed in 218 milliseconds