Lines Matching refs:addr_ref
1554 static void ir_match_fuse_addr(ir_ctx *ctx, ir_ref addr_ref)
1556 if (!IR_IS_CONST_REF(addr_ref)) {
1557 uint32_t rule = ctx->rules[addr_ref];
1560 ctx->rules[addr_ref] = rule = ir_match_insn(ctx, addr_ref);
1566 if (rule == IR_LEA_IB && ir_match_try_revert_lea_to_add(ctx, addr_ref)) {
1570 use_list = &ctx->use_lists[addr_ref];
1578 if (insn->op != IR_LOAD && (insn->op != IR_STORE || insn->op3 == addr_ref)) {
1584 ctx->rules[addr_ref] = IR_FUSED | IR_SIMPLE | rule;
1679 ir_ref addr_ref = ctx->ir_base[ref].op2;
1680 ir_insn *addr_insn = &ctx->ir_base[addr_ref];
1682 if (IR_IS_CONST_REF(addr_ref)) {
1689 ir_match_fuse_addr(ctx, addr_ref);
1704 ir_ref addr_ref = ctx->ir_base[ref].op2;
1705 ir_insn *addr_insn = &ctx->ir_base[addr_ref];
1707 if (IR_IS_CONST_REF(addr_ref)) {
1714 ir_match_fuse_addr(ctx, addr_ref);