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()
172 opline = op_array->opcodes + block->start; in zend_optimize_block()
891 opline = op_array->opcodes + b->start + b->len - 1; in assemble_code_blocks()
910 zend_op *op = op_array->opcodes + b->start; in assemble_code_blocks()
929 memcpy(opline, op_array->opcodes + b->start, b->len * sizeof(zend_op)); in assemble_code_blocks()
936 efree(op_array->opcodes); in assemble_code_blocks()
937 op_array->opcodes = new_opcodes; in assemble_code_blocks()
944 opline = op_array->opcodes + b->start + b->len - 1; in assemble_code_blocks()
1102 opline = op_array->opcodes; in assemble_code_blocks()
1106 *opline_num = opline - op_array->opcodes; in assemble_code_blocks()
1133 last_op = op_array->opcodes + block->start + block->len - 1; in zend_jmp_optimization()
1138 zend_op *target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1296 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1365 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1366 target_end = op_array->opcodes + target_block->start + 1; in zend_jmp_optimization()
1432 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1555 target = op_array->opcodes + target_block->start; in zend_jmp_optimization()
1628 opline = op_array->opcodes + block->start; in zend_t_usage()
1708 end = op_array->opcodes + block->start; in zend_t_usage()
1835 zend_op *last_op = op_array->opcodes + prev->start + prev->len - 1; in zend_merge_blocks()
1841 zend_op *op = op_array->opcodes + bb->start; in zend_merge_blocks()