Lines Matching refs:opcodes

91 	zend_op *opcodes = op_array->opcodes;  in strip_leading_nops()  local
93 while (b->len > 0 && opcodes[b->start].opcode == ZEND_NOP) { in strip_leading_nops()
96 && (op_array->opcodes[b->start + 1].opcode == ZEND_JMPZ in strip_leading_nops()
97 || op_array->opcodes[b->start + 1].opcode == ZEND_JMPNZ) in strip_leading_nops()
98 && (op_array->opcodes[b->start + 1].op1_type & (IS_CV|IS_CONST)) in strip_leading_nops()
100 && zend_is_smart_branch(op_array->opcodes + b->start - 1)) { in strip_leading_nops()
120 if (op_array->opcodes[i].opcode != ZEND_NOP) { in strip_nops()
122 op_array->opcodes[j] = op_array->opcodes[i]; in strip_nops()
127 && (op_array->opcodes[i+1].opcode == ZEND_JMPZ in strip_nops()
128 || op_array->opcodes[i+1].opcode == ZEND_JMPNZ) in strip_nops()
129 && op_array->opcodes[i+1].op1_type & (IS_CV|IS_CONST) in strip_nops()
130 && zend_is_smart_branch(op_array->opcodes + j - 1)) { in strip_nops()
138 MAKE_NOP(op_array->opcodes + j); in strip_nops()
151 opline = op_array->opcodes + block->start; in zend_optimize_block()
813 opline = op_array->opcodes + b->start + b->len - 1; in assemble_code_blocks()
832 zend_op *op = op_array->opcodes + b->start; in assemble_code_blocks()
851 memcpy(opline, op_array->opcodes + b->start, b->len * sizeof(zend_op)); in assemble_code_blocks()
858 efree(op_array->opcodes); in assemble_code_blocks()
859 op_array->opcodes = new_opcodes; in assemble_code_blocks()
866 opline = op_array->opcodes + b->start + b->len - 1; in assemble_code_blocks()
1010 opline = op_array->opcodes; in assemble_code_blocks()
1014 *opline_num = opline - op_array->opcodes; in assemble_code_blocks()
1041 last_op = op_array->opcodes + block->start + block->len - 1; in zend_jmp_optimization()
1046 zend_op *target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1203 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1272 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1273 target_end = op_array->opcodes + target_block->start + 1; in zend_jmp_optimization()
1339 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1462 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1535 opline = op_array->opcodes + block->start; in zend_t_usage()
1615 end = op_array->opcodes + block->start; in zend_t_usage()
1743 zend_op *last_op = op_array->opcodes + prev->start + prev->len - 1; in zend_merge_blocks()
1749 zend_op *op = op_array->opcodes + bb->start; in zend_merge_blocks()