Lines Matching refs:opcodes
71 # define BLOCK_REF(b) b?op_array->opcodes-b->start_opline:-1
73 static inline void print_block(zend_code_block *block, zend_op *opcodes, char *txt) in print_block() argument
75 …tderr, "%sBlock: %d-%d (%d)", txt, block->start_opline - opcodes, block->start_opline - opcodes + … in print_block()
80 fprintf(stderr, " 1: %d", block->op1_to->start_opline - opcodes); in print_block()
83 fprintf(stderr, " 2: %d", block->op2_to->start_opline - opcodes); in print_block()
86 fprintf(stderr, " e: %d", block->ext_to->start_opline - opcodes); in print_block()
89 fprintf(stderr, " f: %d", block->follow_to->start_opline - opcodes); in print_block()
96 fprintf(stderr, " %d", bs->from->start_opline - opcodes); in print_block()
108 #define START_BLOCK_OP(opno) blocks[opno].start_opline = &op_array->opcodes[opno]; blocks[opno].sta…
116 zend_op *end = op_array->opcodes + op_array->last; in find_code_blocks()
122 opline = op_array->opcodes; in find_code_blocks()
206 (op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_FREE || in find_code_blocks()
207 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_FE_FREE || in find_code_blocks()
208 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_ROPE_END || in find_code_blocks()
209 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_END_SILENCE)) { in find_code_blocks()
214 (op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_FREE || in find_code_blocks()
215 op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_FE_FREE || in find_code_blocks()
216 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode != ZEND_ROPE_END || in find_code_blocks()
217 op_array->opcodes[op_array->brk_cont_array[parent].brk].opcode != ZEND_END_SILENCE)) { in find_code_blocks()
231 (op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_FREE || in find_code_blocks()
232 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_FE_FREE || in find_code_blocks()
233 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_ROPE_END || in find_code_blocks()
234 op_array->opcodes[op_array->brk_cont_array[i].brk].opcode == ZEND_END_SILENCE)) { in find_code_blocks()
325 print_block(cur_block, op_array->opcodes, ""); in find_code_blocks()
331 print_block(cur_block, op_array->opcodes, ""); in find_code_blocks()
593 && block->start_opline > op_array->opcodes in strip_nop()
616 && is_predecessor_smart_branch(op_array->opcodes, opline)) { in strip_nop()
644 print_block(block, op_array->opcodes, "Opt "); in zend_optimize_block()
657 && block->start_opline > op_array->opcodes in zend_optimize_block()
1270 efree(op_array->opcodes); in assemble_code_blocks()
1271 op_array->opcodes = erealloc(new_opcodes, op_array->last * sizeof(zend_op)); in assemble_code_blocks()
1278 opline = op_array->opcodes; in assemble_code_blocks()
1282 *opline_num = opline - op_array->opcodes; in assemble_code_blocks()