Searched refs:jumptable (Results 1 – 13 of 13) sorted by relevance
/PHP-8.2/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.2/ext/opcache/tests/jit/ |
H A D | switch_jumptable.phpt | 2 Switch jumptable generation
|
/PHP-8.2/Zend/Optimizer/ |
H A D | zend_cfg.c | 397 HashTable *jumptable = Z_ARRVAL_P(CRT_CONSTANT(opline->op2)); in zend_build_cfg() local 399 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_build_cfg() 564 HashTable *jumptable = Z_ARRVAL_P(CRT_CONSTANT(opline->op2)); in zend_build_cfg() local 568 …ock->successors_count = (opline->opcode == ZEND_MATCH ? 1 : 2) + zend_hash_num_elements(jumptable); in zend_build_cfg() 571 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() 1036 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in assemble_code_blocks() local 1039 …b->successors_count == (opline->opcode == ZEND_MATCH ? 1 : 2) + zend_hash_num_elements(jumptable)); in assemble_code_blocks() 1041 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in assemble_code_blocks()
|
H A D | zend_optimizer.c | 740 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_optimizer_migrate_jump() local 742 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_optimizer_migrate_jump() 785 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_optimizer_shift_jump() local 787 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 | 678 HashTable *jumptable = Z_ARRVAL(ZEND_OP2_LITERAL(opline)); in zend_ssa_replace_control_link() local 680 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_ssa_replace_control_link()
|
/PHP-8.2/ext/opcache/jit/ |
H A D | zend_jit_ir.c | 3552 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in zend_jit_case_start() 3560 if (HT_IS_PACKED(jumptable)) { in zend_jit_case_start() 15332 if (!HT_IS_PACKED(jumptable)) { 15334 ir_CONST_ADDR(jumptable), ref); 15352 if (HT_IS_PACKED(jumptable)) { 15460 ir_CONST_ADDR(jumptable), ref); 15477 if (HT_IS_PACKED(jumptable)) { 15555 ir_CONST_ADDR(jumptable), ref); 15585 ir_CONST_ADDR(jumptable), ref2); 15596 if (HT_IS_PACKED(jumptable)) { [all …]
|
/PHP-8.2/Zend/ |
H A D | zend_opcode.c | 1158 HashTable *jumptable = Z_ARRVAL_P(CT_CONSTANT(opline->op2)); in pass_two() local 1160 ZEND_HASH_FOREACH_VAL(jumptable, zv) { in pass_two()
|
H A D | zend_compile.c | 5886 HashTable *jumptable = NULL; in zend_compile_switch() local 5899 ALLOC_HASHTABLE(jumptable); in zend_compile_switch() 5902 ZVAL_ARR(&jumptable_op.u.constant, jumptable); in zend_compile_switch() 5960 if (jumptable) { in zend_compile_switch() 5976 if (jumptable) { in zend_compile_switch() 5989 if (jumptable) { in zend_compile_switch() 6069 HashTable *jumptable = NULL; in zend_compile_match() local 6088 ALLOC_HASHTABLE(jumptable); in zend_compile_match() 6145 if (jumptable) { in zend_compile_match() 6174 if (jumptable) { in zend_compile_match() [all …]
|
H A D | zend_vm_def.h | 9117 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 D | zend_vm_execute.h | 7875 HashTable *jumptable; in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER() local 7887 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER() 7888 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op)); in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER() 7903 HashTable *jumptable; in ZEND_SWITCH_STRING_SPEC_CONST_CONST_HANDLER() local 7920 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_SWITCH_STRING_SPEC_CONST_CONST_HANDLER() 7936 HashTable *jumptable; in ZEND_MATCH_SPEC_CONST_CONST_HANDLER() local 7939 jumptable = Z_ARRVAL_P(RT_CONSTANT(opline, opline->op2)); in ZEND_MATCH_SPEC_CONST_CONST_HANDLER() 13105 HashTable *jumptable; in ZEND_SWITCH_LONG_SPEC_TMPVARCV_CONST_HANDLER() local 13118 jump_zv = zend_hash_index_find(jumptable, Z_LVAL_P(op)); in ZEND_SWITCH_LONG_SPEC_TMPVARCV_CONST_HANDLER() 13133 HashTable *jumptable; in ZEND_SWITCH_STRING_SPEC_TMPVARCV_CONST_HANDLER() local [all …]
|
Completed in 311 milliseconds