Lines Matching defs:ctx
33 find_or_allocate_temp(compiler_context *ctx, struct hash_table_u64 *map,
46 temp = ctx->temp_count++;
47 ctx->max_hash = MAX2(ctx->max_hash, hash);
59 mir_squeeze_index(compiler_context *ctx)
64 ctx->temp_count = 0;
70 mir_foreach_instr_global(ctx, ins) {
72 ins->dest = find_or_allocate_temp(ctx, map, ins->dest);
75 mir_foreach_instr_global(ctx, ins) {
77 ins->dest = find_or_allocate_temp(ctx, map, ins->dest);
80 ins->src[i] = find_or_allocate_temp(ctx, map, ins->src[i]);
83 ctx->blend_input = find_or_allocate_temp(ctx, map, ctx->blend_input);
84 ctx->blend_src1 = find_or_allocate_temp(ctx, map, ctx->blend_src1);