Lines Matching refs:CFI_BP

2493 	if (cfi->cfa.base == CFI_BP &&  in has_valid_stack_frame()
2494 check_reg_frame_pos(&cfi->regs[CFI_BP], -cfi->cfa.offset) && in has_valid_stack_frame()
2498 if (cfi->drap && cfi->regs[CFI_BP].base == CFI_BP) in has_valid_stack_frame()
2623 if (op->src.reg == CFI_SP && op->dest.reg == CFI_BP && in update_cfi_state()
2625 check_reg_frame_pos(&regs[CFI_BP], -cfa->offset)) { in update_cfi_state()
2633 op->dest.reg == CFI_BP && cfi->drap) { in update_cfi_state()
2636 regs[CFI_BP].base = CFI_BP; in update_cfi_state()
2637 regs[CFI_BP].offset = -cfi->stack_size; in update_cfi_state()
2657 else if (op->src.reg == CFI_BP && op->dest.reg == CFI_SP && in update_cfi_state()
2658 (cfa->base == CFI_BP || cfa->base == cfi->drap_reg)) { in update_cfi_state()
2665 cfi->stack_size = -cfi->regs[CFI_BP].offset; in update_cfi_state()
2749 if (op->dest.reg == CFI_SP && op->src.reg == CFI_BP) { in update_cfi_state()
2752 cfi->stack_size = -(op->src.offset + regs[CFI_BP].offset); in update_cfi_state()
2757 op->dest.reg == CFI_BP && cfa->base == CFI_SP && in update_cfi_state()
2758 check_reg_frame_pos(&regs[CFI_BP], -cfa->offset + op->src.offset)) { in update_cfi_state()
2761 cfa->base = CFI_BP; in update_cfi_state()
2811 (cfi->drap_reg == CFI_UNDEFINED && cfa->base != CFI_BP)) { in update_cfi_state()
2869 op->dest.reg == CFI_BP) { in update_cfi_state()
2876 if (cfi->drap && op->src.reg == CFI_BP && in update_cfi_state()
2885 if (cfi->drap && op->src.reg == CFI_BP && in update_cfi_state()
2934 } else if (op->src.reg == CFI_BP && cfa->base == cfi->drap_reg) { in update_cfi_state()
2942 save_reg(cfi, op->src.reg, CFI_BP, -cfi->stack_size); in update_cfi_state()
2952 if (opts.stackval && insn->func && op->src.reg == CFI_BP && in update_cfi_state()
2953 cfa->base != CFI_BP) in update_cfi_state()
2971 save_reg(cfi, op->src.reg, CFI_BP, op->dest.offset); in update_cfi_state()