Lines Matching refs:opcodes
27 static void zend_mark_reachable(zend_op *opcodes, zend_cfg *cfg, zend_basic_block *b) /* {{{ */ in zend_mark_reachable() argument
44 zend_uchar opcode = opcodes[b->start + b->len - 1].opcode; in zend_mark_reachable()
98 zend_mark_reachable(opcodes, cfg, succ); in zend_mark_reachable()
111 zend_mark_reachable(op_array->opcodes, cfg, blocks + start); in zend_mark_reachable_blocks()
130 while (b->len > 0 && op_array->opcodes[b->start].opcode == ZEND_NOP) { in zend_mark_reachable_blocks()
133 && (op_array->opcodes[b->start + 1].opcode == ZEND_JMPZ in zend_mark_reachable_blocks()
134 || op_array->opcodes[b->start + 1].opcode == ZEND_JMPNZ) in zend_mark_reachable_blocks()
135 && (op_array->opcodes[b->start + 1].op1_type & (IS_CV|IS_CONST)) in zend_mark_reachable_blocks()
137 && zend_is_smart_branch(op_array->opcodes + b->start - 1)) { in zend_mark_reachable_blocks()
154 zend_mark_reachable(op_array->opcodes, cfg, b); in zend_mark_reachable_blocks()
190 …zend_mark_reachable(op_array->opcodes, cfg, blocks + block_map[op_array->try_catch_array[j].try_op… in zend_mark_reachable_blocks()
207 zend_mark_reachable(op_array->opcodes, cfg, b); in zend_mark_reachable_blocks()
215 zend_mark_reachable(op_array->opcodes, cfg, b); in zend_mark_reachable_blocks()
223 zend_mark_reachable(op_array->opcodes, cfg, b); in zend_mark_reachable_blocks()
305 zend_op *opline = op_array->opcodes + i; in zend_build_cfg()
357 BB_START(OP_JMP_ADDR(opline, opline->op1) - op_array->opcodes); in zend_build_cfg()
366 BB_START(OP_JMP_ADDR(opline, opline->op1) - op_array->opcodes); in zend_build_cfg()
372 BB_START(OP_JMP_ADDR(opline, opline->op2) - op_array->opcodes); in zend_build_cfg()
385 BB_START(OP_JMP_ADDR(opline, opline->op2) - op_array->opcodes); in zend_build_cfg()
403 BB_START(OP_JMP_ADDR(opline, opline->op2) - op_array->opcodes); in zend_build_cfg()
516 opline = op_array->opcodes + block->start + block->len - 1; in zend_build_cfg()
527 block->successors[0] = block_map[OP_JMP_ADDR(opline, opline->op1) - op_array->opcodes]; in zend_build_cfg()
531 block->successors[0] = block_map[OP_JMP_ADDR(opline, opline->op2) - op_array->opcodes]; in zend_build_cfg()
542 block->successors[0] = block_map[OP_JMP_ADDR(opline, opline->op2) - op_array->opcodes]; in zend_build_cfg()
566 block->successors[0] = block_map[OP_JMP_ADDR(opline, opline->op2) - op_array->opcodes]; in zend_build_cfg()
571 block->successors[0] = block_map[OP_JMP_ADDR(opline, opline->op1) - op_array->opcodes]; in zend_build_cfg()