Lines Matching refs:ir_ref

130 IR_ALWAYS_INLINE uint32_t ir_rule(const ir_ctx *ctx, ir_ref ref)  in ir_rule()
136 IR_ALWAYS_INLINE bool ir_in_same_block(ir_ctx *ctx, ir_ref ref) in ir_in_same_block()
142 static ir_reg ir_get_param_reg(const ir_ctx *ctx, ir_ref ref) in ir_get_param_reg()
146 ir_ref use, *p; in ir_get_param_reg()
256 static bool ir_is_same_mem_var(const ir_ctx *ctx, ir_ref r1, int32_t offset) in ir_is_same_mem_var()
356 static int8_t ir_get_fused_reg(ir_ctx *ctx, ir_ref root, ir_ref ref_and_op) in ir_get_fused_reg()
360 ir_ref val; in ir_get_fused_reg()
362 memcpy(key, &root, sizeof(ir_ref)); in ir_get_fused_reg()
363 memcpy(key + 4, &ref_and_op, sizeof(ir_ref)); in ir_get_fused_reg()
407 static int ir_const_label(ir_ctx *ctx, ir_ref ref) in ir_const_label()
429 ir_ref ref; in ir_emit_osr_entry_loads()
619 static void ir_emit_dessa_move(ir_ctx *ctx, ir_type type, ir_ref to, ir_ref from, ir_reg tmp_reg, i… in ir_emit_dessa_move()
682 ir_ref from; in ir_dessa_resolve_cycle()
903 ir_ref i, *p; in ir_emit_dessa_moves()
918 ir_ref ref = *p; in ir_emit_dessa_moves()
922 ir_ref input = ir_insn_op(insn, k); in ir_emit_dessa_moves()
925 ir_ref from, to; in ir_emit_dessa_moves()
935 (ir_ref)src : (ir_ref)(IR_REG_NUM + ctx->vregs[input]); in ir_emit_dessa_moves()
938 (ir_ref)dst : (ir_ref)(IR_REG_NUM + ctx->vregs[ref]); in ir_emit_dessa_moves()
964 ir_ref start, ref, *prev_ref; in ir_match()
978 ctx->entries = ir_mem_malloc(ctx->entries_count * sizeof(ir_ref)); in ir_match()
1037 int32_t ir_get_spill_slot_offset(ir_ctx *ctx, ir_ref ref) in ir_get_spill_slot_offset()