Searched refs:shiftlist (Results 1 – 4 of 4) sorted by relevance
/PHP-7.2/ext/opcache/Optimizer/ |
H A D | nop_removal.c | 39 uint32_t *shiftlist; in zend_optimizer_nop_removal() local 42 shiftlist = (uint32_t *)do_alloca(sizeof(uint32_t) * op_array->last, use_heap); in zend_optimizer_nop_removal() 61 shiftlist[i++] = shift; in zend_optimizer_nop_removal() 81 zend_optimizer_shift_jump(op_array, opline, shiftlist); in zend_optimizer_nop_removal() 86 op_array->live_range[j].start -= shiftlist[op_array->live_range[j].start]; in zend_optimizer_nop_removal() 87 op_array->live_range[j].end -= shiftlist[op_array->live_range[j].end]; in zend_optimizer_nop_removal() 92 op_array->try_catch_array[j].try_op -= shiftlist[op_array->try_catch_array[j].try_op]; in zend_optimizer_nop_removal() 93 op_array->try_catch_array[j].catch_op -= shiftlist[op_array->try_catch_array[j].catch_op]; in zend_optimizer_nop_removal() 95 op_array->try_catch_array[j].finally_op -= shiftlist[op_array->try_catch_array[j].finally_op]; in zend_optimizer_nop_removal() 105 *opline_num -= shiftlist[*opline_num]; in zend_optimizer_nop_removal() [all …]
|
H A D | dfa_pass.c | 134 uint32_t *shiftlist; in zend_ssa_remove_nops() local 138 memset(shiftlist, 0, sizeof(uint32_t) * op_array->last); in zend_ssa_remove_nops() 158 shiftlist[i] = i - target; in zend_ssa_remove_nops() 172 shiftlist[i] = i - target; in zend_ssa_remove_nops() 221 ssa->vars[j].definition -= shiftlist[ssa->vars[j].definition]; in zend_ssa_remove_nops() 224 ssa->vars[j].use_chain -= shiftlist[ssa->vars[j].use_chain]; in zend_ssa_remove_nops() 243 zend_optimizer_shift_jump(op_array, opline, shiftlist); in zend_ssa_remove_nops() 268 *opline_num -= shiftlist[*opline_num]; in zend_ssa_remove_nops() 278 shiftlist[call_info->caller_init_opline - op_array->opcodes]; in zend_ssa_remove_nops() 280 shiftlist[call_info->caller_call_opline - op_array->opcodes]; in zend_ssa_remove_nops() [all …]
|
H A D | zend_optimizer.c | 771 void zend_optimizer_shift_jump(zend_op_array *op_array, zend_op *opline, uint32_t *shiftlist) { in zend_optimizer_shift_jump() argument 775 …ZEND_SET_OP_JMP_ADDR(opline, opline->op1, ZEND_OP1_JMP_ADDR(opline) - shiftlist[ZEND_OP1_JMP_ADDR(… in zend_optimizer_shift_jump() 778 …, ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, opline->extended_value) - shiftlist[ZEND_OFFSET_TO_O… in zend_optimizer_shift_jump() 789 …ZEND_SET_OP_JMP_ADDR(opline, opline->op2, ZEND_OP2_JMP_ADDR(opline) - shiftlist[ZEND_OP2_JMP_ADDR(… in zend_optimizer_shift_jump() 796 …, ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, opline->extended_value) - shiftlist[ZEND_OFFSET_TO_O… in zend_optimizer_shift_jump() 804 …ay, opline, ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, Z_LVAL_P(zv)) - shiftlist[ZEND_OFFSET_TO_O… in zend_optimizer_shift_jump() 806 …, ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline, opline->extended_value) - shiftlist[ZEND_OFFSET_TO_O… in zend_optimizer_shift_jump()
|
H A D | zend_optimizer_internal.h | 113 void zend_optimizer_shift_jump(zend_op_array *op_array, zend_op *opline, uint32_t *shiftlist);
|
Completed in 13 milliseconds