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
43 zend_mark_reachable(opcodes, cfg, b0); in zend_mark_reachable()
47 opcode = opcodes[b->start + b->len - 1].opcode; in zend_mark_reachable()
55 opcode = opcodes[b->start + b->len - 1].opcode; in zend_mark_reachable()
98 zend_mark_reachable(op_array->opcodes, cfg, blocks + start); in zend_mark_reachable_blocks()
117 while (b->len > 0 && op_array->opcodes[b->start].opcode == ZEND_NOP) { in zend_mark_reachable_blocks()
120 && (op_array->opcodes[b->start + 1].opcode == ZEND_JMPZ in zend_mark_reachable_blocks()
121 || op_array->opcodes[b->start + 1].opcode == ZEND_JMPNZ) in zend_mark_reachable_blocks()
122 && (op_array->opcodes[b->start + 1].op1_type & (IS_CV|IS_CONST)) in zend_mark_reachable_blocks()
124 && zend_is_smart_branch(op_array->opcodes + b->start - 1)) { in zend_mark_reachable_blocks()
141 zend_mark_reachable(op_array->opcodes, cfg, b); in zend_mark_reachable_blocks()
178 …zend_mark_reachable(op_array->opcodes, cfg, blocks + block_map[op_array->try_catch_array[j].try_op… in zend_mark_reachable_blocks()
195 zend_mark_reachable(op_array->opcodes, cfg, b); in zend_mark_reachable_blocks()
203 zend_mark_reachable(op_array->opcodes, cfg, b); in zend_mark_reachable_blocks()
211 zend_mark_reachable(op_array->opcodes, cfg, b); in zend_mark_reachable_blocks()
301 zend_op *opline = op_array->opcodes + i; in zend_build_cfg()
353 BB_START(OP_JMP_ADDR(opline, opline->op1) - op_array->opcodes); in zend_build_cfg()
362 BB_START(OP_JMP_ADDR(opline, opline->op1) - op_array->opcodes); in zend_build_cfg()
368 BB_START(OP_JMP_ADDR(opline, opline->op2) - op_array->opcodes); in zend_build_cfg()
381 BB_START(OP_JMP_ADDR(opline, opline->op2) - op_array->opcodes); in zend_build_cfg()
399 BB_START(OP_JMP_ADDR(opline, opline->op2) - op_array->opcodes); in zend_build_cfg()
499 opline = op_array->opcodes + blocks[j].start + blocks[j].len - 1; in zend_build_cfg()
509 record_successor(blocks, j, 0, block_map[OP_JMP_ADDR(opline, opline->op1) - op_array->opcodes]); in zend_build_cfg()
512 record_successor(blocks, j, 0, block_map[OP_JMP_ADDR(opline, opline->op2) - op_array->opcodes]); in zend_build_cfg()
522 record_successor(blocks, j, 0, block_map[OP_JMP_ADDR(opline, opline->op2) - op_array->opcodes]); in zend_build_cfg()
542 record_successor(blocks, j, 0, block_map[OP_JMP_ADDR(opline, opline->op2) - op_array->opcodes]); in zend_build_cfg()
546 record_successor(blocks, j, 0, block_map[OP_JMP_ADDR(opline, opline->op1) - op_array->opcodes]); in zend_build_cfg()