Lines Matching refs:consts_count
768 ir_ref i, j, k, n, *p, *q, ref, new_ref, prev_ref, insns_count, consts_count, use_edges_count; in ir_schedule() local
863 _xlat = ir_mem_calloc((ctx->consts_count + ctx->insns_count), sizeof(ir_ref)); in ir_schedule()
864 _xlat += ctx->consts_count; in ir_schedule()
870 consts_count = -(IR_TRUE - 1); in ir_schedule()
881 consts_count += ir_count_constant(_xlat, insn->op2); in ir_schedule()
905 consts_count += ir_count_constant(_xlat, input); in ir_schedule()
966 consts_count += ir_count_constant(_xlat, input); in ir_schedule()
980 consts_count += ir_count_constant(_xlat, insn->op2); in ir_schedule()
996 if (consts_count == ctx->consts_count && insns_count == ctx->insns_count) { in ir_schedule()
1006 _xlat -= ctx->consts_count; in ir_schedule()
1021 ir_init(&new_ctx, ctx->flags, consts_count, insns_count); in ir_schedule()
1042 if (consts_count == ctx->consts_count) { in ir_schedule()
1043 new_ctx.consts_count = consts_count; in ir_schedule()
1044 ref = 1 - consts_count; in ir_schedule()
1072 new_ref = -new_ctx.consts_count; in ir_schedule()
1074 for (ref = IR_TRUE - 1, insn = &ctx->ir_base[ref]; ref > -ctx->consts_count; insn--, ref--) { in ir_schedule()
1107 new_ctx.consts_count = -new_ref; in ir_schedule()
1249 _xlat -= ctx->consts_count; in ir_schedule()
1260 IR_ASSERT(new_ctx.consts_count == new_ctx.consts_limit); in ir_schedule()