Lines Matching refs:insn
468 ir_insn *insn; in jit_TLS() local
475 insn = &jit->ctx.ir_base[ref]; in jit_TLS()
476 if (insn->op >= IR_START || insn->op == IR_CALL) { in jit_TLS()
479 ref = insn->op1; in jit_TLS()
511 ir_insn *insn; in jit_CONST_FUNC_PROTO() local
521 insn = &jit->ctx.ir_base[ref]; in jit_CONST_FUNC_PROTO()
522 insn->optx = IR_OPT(IR_FUNC_ADDR, IR_ADDR); in jit_CONST_FUNC_PROTO()
523 insn->proto = proto; in jit_CONST_FUNC_PROTO()
578 ir_insn *insn; in jit_STUB_FUNC_ADDR() local
582 insn = &jit->ctx.ir_base[ref]; in jit_STUB_FUNC_ADDR()
583 insn->optx = IR_OPT(IR_FUNC_ADDR, IR_ADDR); in jit_STUB_FUNC_ADDR()
586 insn->proto = flags ? ir_proto_0(&jit->ctx, flags, IR_I32) : 0; in jit_STUB_FUNC_ADDR()
588 insn->proto = 0; in jit_STUB_FUNC_ADDR()
874 ir_insn *insn; in jit_FP() local
881 insn = &jit->ctx.ir_base[ref]; in jit_FP()
882 if (insn->op >= IR_START || insn->op == IR_CALL) { in jit_FP()
886 ref = insn->op1; in jit_FP()
3527 ir_insn *insn, *phi; in _zend_jit_fix_merges() local
3534 insn = &jit->ctx.ir_base[ref]; in _zend_jit_fix_merges()
3535 if (insn->op == IR_MERGE || insn->op == IR_LOOP_BEGIN) { in _zend_jit_fix_merges()
3536 n = insn->inputs_count; in _zend_jit_fix_merges()
3538 for (j = k = 0, q = r = insn->ops + 1; j < n; j++, q++) { in _zend_jit_fix_merges()
3542 phi = insn + 1 + (n >> 2); in _zend_jit_fix_merges()
3559 insn->op = IR_BEGIN; in _zend_jit_fix_merges()
3560 insn->inputs_count = 0; in _zend_jit_fix_merges()
3562 insn->inputs_count = k; in _zend_jit_fix_merges()
3567 (insn+k2)->optx = IR_NOP; in _zend_jit_fix_merges()
3570 phi = insn + 1 + (n >> 2); in _zend_jit_fix_merges()
3674 ir_insn *insn = &jit->ctx.ir_base[ref]; in zend_jit_bb_start() local
3675 while (insn->op >= IR_CALL && insn->op <= IR_TRAP) { in zend_jit_bb_start()
3676 ref = insn->op1; in zend_jit_bb_start()
3677 insn = &jit->ctx.ir_base[ref]; in zend_jit_bb_start()
3679 ZEND_ASSERT(insn->op == IR_START); in zend_jit_bb_start()
4282 ir_insn *insn; in zend_jit_deopt_rload() local
4285 insn = &jit->ctx.ir_base[ref]; in zend_jit_deopt_rload()
4286 if (insn->op == IR_RLOAD && insn->op2 == reg) { in zend_jit_deopt_rload()
4287 ZEND_ASSERT(insn->type == type); in zend_jit_deopt_rload()
4289 } else if (insn->op == IR_START) { in zend_jit_deopt_rload()
4292 ref = insn->op1; in zend_jit_deopt_rload()
10353 ir_insn *insn; local
10358 insn = &jit->ctx.ir_base[begin];
10359 if (insn->op == IR_BEGIN) {
10361 insn = &jit->ctx.ir_base[begin];
10362 insn->op = IR_LOOP_BEGIN;
10363 insn->inputs_count = 2;
10364 insn->op2 = end;
10366 } else if ((insn->op == IR_MERGE || insn->op == IR_LOOP_BEGIN)
10367 && insn->inputs_count == 2) {
10369 insn = &jit->ctx.ir_base[begin];
10370 insn->op = IR_LOOP_BEGIN;
10371 insn->inputs_count = 3;
10372 insn->op3 = end;
10374 } else if (insn->op == IR_LOOP_BEGIN && insn->inputs_count == 3) {
10375 ZEND_ASSERT(jit->ctx.ir_base[insn->op3].op == IR_LOOP_END);
10376 jit->ctx.ir_base[insn->op3].op = IR_END;
10377 ir_MERGE_2(insn->op3, ir_END());
10379 insn = &jit->ctx.ir_base[begin];
10380 insn->op3 = end;
16636 ir_insn *insn = &jit->ctx.ir_base[jit->ctx.entries[--i]]; local
16637 op_array->opcodes[insn->op2].handler = (char*)entry + insn->op3;