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.c832 _xlat += ctx->consts_count; in ir_schedule()
838 consts_count = -(IR_TRUE - 1); in ir_schedule()
873 consts_count += ir_count_constant(_xlat, input); in ir_schedule()
964 if (consts_count == ctx->consts_count && insns_count == ctx->insns_count) { in ir_schedule()
974 _xlat -= ctx->consts_count; in ir_schedule()
1010 if (consts_count == ctx->consts_count) { in ir_schedule()
1011 new_ctx.consts_count = consts_count; in ir_schedule()
1012 ref = 1 - consts_count; in ir_schedule()
1040 new_ref = -new_ctx.consts_count; in ir_schedule()
1075 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()
929 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;
5864 …dasm_growpc(&data.dasm_state, ctx->cfg_blocks_count + 1 + ctx->consts_count + 1 + 1 + 1 + ctx->ent…
5865 data.emit_constants = ir_bitset_malloc(ctx->consts_count);
5897 uint32_t label = ctx->cfg_blocks_count + ctx->consts_count + 4 + insn->op3;
6146 …uint32_t exit_table_label = ctx->cfg_blocks_count + 1 + ctx->consts_count + 1 + 1 + 1 + ctx->entri…
6163 IR_BITSET_FOREACH(data.emit_constants, ir_bitset_len(ctx->consts_count), i) {
6169 data.rodata_label = ctx->cfg_blocks_count + ctx->consts_count + 2;
6190 data.rodata_label = ctx->cfg_blocks_count + ctx->consts_count + 2;
6262 …uint32_t exit_table_label = ctx->cfg_blocks_count + 1 + ctx->consts_count + 1 + 1 + 1 + ctx->entri…
6303 …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.h528 uint32_t consts_count; /* number of side exits */ member
H A Dzend_jit_trace.c7306 t->consts_count = 0; in zend_jit_compile_root_trace()
7359 if (t->consts_count) { in zend_jit_compile_root_trace()
7360 …zend_jit_exit_const *constants = (zend_jit_exit_const*)zend_shared_alloc(t->consts_count * sizeof(… in zend_jit_compile_root_trace()
7366 memcpy(constants, t->constants, t->consts_count * sizeof(zend_jit_exit_const)); in zend_jit_compile_root_trace()
8106 t->consts_count = 0; in zend_jit_compile_side_trace()
8159 if (t->consts_count) { in zend_jit_compile_side_trace()
8160 …zend_jit_exit_const *constants = (zend_jit_exit_const*)zend_shared_alloc(t->consts_count * sizeof(… in zend_jit_compile_side_trace()
8166 memcpy(constants, t->constants, t->consts_count * sizeof(zend_jit_exit_const)); in zend_jit_compile_side_trace()
H A Dzend_jit_ir.c665 for (i = 0; i < t->consts_count; i++) { in _add_trace_const()
671 t->consts_count = i + 1; in _add_trace_const()

Completed in 130 milliseconds