Home
last modified time | relevance | path

Searched refs:consts_count (Results 1 – 12 of 12) sorted by relevance

/php-src/ext/opcache/jit/ir/
H A Dir_gcm.c883 _xlat += ctx->consts_count; in ir_schedule()
889 consts_count = -(IR_TRUE - 1); in ir_schedule()
924 consts_count += ir_count_constant(_xlat, input); in ir_schedule()
1015 if (consts_count == ctx->consts_count && insns_count == ctx->insns_count) { in ir_schedule()
1025 _xlat -= ctx->consts_count; in ir_schedule()
1061 if (consts_count == ctx->consts_count) { in ir_schedule()
1062 new_ctx.consts_count = consts_count; in ir_schedule()
1063 ref = 1 - consts_count; in ir_schedule()
1091 new_ref = -new_ctx.consts_count; in ir_schedule()
1126 new_ctx.consts_count = -new_ref; in ir_schedule()
[all …]
H A Dir_emit.c626 if (-from < ctx->consts_count) { in ir_emit_dessa_move()
631 ir_load_local_addr(ctx, to, -from - ctx->consts_count); in ir_emit_dessa_move()
646 if (-from < ctx->consts_count) { in ir_emit_dessa_move()
664 ir_load_local_addr(ctx, tmp_reg, -from - ctx->consts_count); in ir_emit_dessa_move()
932 from = -(ctx->consts_count + input); in ir_emit_dessa_moves()
H A Dir_dump.c17 for (i = 1 - ctx->consts_count, insn = ctx->ir_base + i; i < IR_UNUSED; i++, insn++) { in ir_dump()
66 for (i = 1 - ctx->consts_count, insn = ctx->ir_base + i; i < IR_UNUSED; i++, insn++) { in ir_dump_dot()
487 for (i = IR_UNUSED + 1, insn = ctx->ir_base - i; i < ctx->consts_count; i++, insn--) { in ir_dump_codegen()
H A Dir.c322 ir_ref ref = ctx->consts_count;
327 ctx->consts_count = ref + 1;
359 ir_insn *buf = ir_mem_malloc((ctx->consts_count + ctx->insns_count) * sizeof(ir_insn));
361 …memcpy(buf, ctx->ir_base - ctx->consts_count, (ctx->consts_count + ctx->insns_count) * sizeof(ir_i…
364 ctx->consts_limit = ctx->consts_count;
379 ctx->consts_count = -(IR_TRUE - 1);
528 prev_insn->prev_const = -ctx->consts_count;
531 ctx->prev_const_chain[type] = -ctx->consts_count;
H A Dir_check.c109 if (use >= ctx->consts_count) { in ir_check()
H A Dir_save.c97 for (i = IR_UNUSED + 1, insn = ctx->ir_base - i; i < ctx->consts_count; i++, insn--) { in ir_save()
H A Dir_aarch64.dasc4551 data->jmp_table_label = ctx->cfg_blocks_count + ctx->consts_count + 3;
5874 …dasm_growpc(&data.dasm_state, ctx->cfg_blocks_count + 1 + ctx->consts_count + 1 + 1 + 1 + ctx->ent…
5875 data.emit_constants = ir_bitset_malloc(ctx->consts_count);
5907 uint32_t label = ctx->cfg_blocks_count + ctx->consts_count + 4 + insn->op3;
6156 …uint32_t exit_table_label = ctx->cfg_blocks_count + 1 + ctx->consts_count + 1 + 1 + 1 + ctx->entri…
6173 IR_BITSET_FOREACH(data.emit_constants, ir_bitset_len(ctx->consts_count), i) {
6179 data.rodata_label = ctx->cfg_blocks_count + ctx->consts_count + 2;
6200 data.rodata_label = ctx->cfg_blocks_count + ctx->consts_count + 2;
6272 …uint32_t exit_table_label = ctx->cfg_blocks_count + 1 + ctx->consts_count + 1 + 1 + 1 + ctx->entri…
6313 …uint32_t offset = dasm_getpclabel(&data.dasm_state, ctx->cfg_blocks_count + ctx->consts_count + 4 …
H A Dir.h574 ir_ref consts_count; /* number of constants stored in constants buffer */ member
H A Dir_x86.dasc5165 int label = data->rodata_label = ctx->cfg_blocks_count + ctx->consts_count + 2;
8388 data->jmp_table_label = ctx->cfg_blocks_count + ctx->consts_count + 3;
10287 …dasm_growpc(&data.dasm_state, ctx->cfg_blocks_count + 1 + ctx->consts_count + 1 + 1 + 1 + ctx->ent…
10288 data.emit_constants = ir_bitset_malloc(ctx->consts_count);
10328 uint32_t label = ctx->cfg_blocks_count + ctx->consts_count + 4 + insn->op3;
10717 IR_BITSET_FOREACH(data.emit_constants, ir_bitset_len(ctx->consts_count), i) {
10723 data.rodata_label = ctx->cfg_blocks_count + ctx->consts_count + 2;
10744 data.rodata_label = ctx->cfg_blocks_count + ctx->consts_count + 2;
10839 …uint32_t offset = dasm_getpclabel(&data.dasm_state, ctx->cfg_blocks_count + ctx->consts_count + 4 …
/php-src/ext/opcache/jit/
H A Dzend_jit_internal.h538 uint32_t consts_count; /* number of side exits */ member
H A Dzend_jit_trace.c7512 t->consts_count = 0; in zend_jit_compile_root_trace()
7565 if (t->consts_count) { in zend_jit_compile_root_trace()
7566 …zend_jit_exit_const *constants = (zend_jit_exit_const*)zend_shared_alloc(t->consts_count * sizeof(… in zend_jit_compile_root_trace()
7572 memcpy(constants, t->constants, t->consts_count * sizeof(zend_jit_exit_const)); in zend_jit_compile_root_trace()
8330 t->consts_count = 0; in zend_jit_compile_side_trace()
8383 if (t->consts_count) { in zend_jit_compile_side_trace()
8384 …zend_jit_exit_const *constants = (zend_jit_exit_const*)zend_shared_alloc(t->consts_count * sizeof(… in zend_jit_compile_side_trace()
8390 memcpy(constants, t->constants, t->consts_count * sizeof(zend_jit_exit_const)); in zend_jit_compile_side_trace()
H A Dzend_jit_ir.c674 for (i = 0; i < t->consts_count; i++) { in _add_trace_const()
680 t->consts_count = i + 1; in _add_trace_const()

Completed in 143 milliseconds