Lines Matching refs:base
254 cfi->regs[i].base = CFI_UNDEFINED; in init_cfi_state()
255 cfi->vals[i].base = CFI_UNDEFINED; in init_cfi_state()
257 cfi->cfa.base = CFI_UNDEFINED; in init_cfi_state()
1904 if (arch_decode_hint_reg(hint->sp_reg, &cfi.cfa.base)) { in read_unwind_hints()
2207 if (cfi->cfa.base != initial_func_cfi.cfa.base || cfi->drap) in has_modified_stack_frame()
2217 if (cfi->regs[i].base != initial_func_cfi.regs[i].base || in has_modified_stack_frame()
2229 if (cfi->cfa.base == CFI_BP && cfi->regs[CFI_BP].base == CFI_CFA && in has_valid_stack_frame()
2233 if (cfi->drap && cfi->regs[CFI_BP].base == CFI_BP) in has_valid_stack_frame()
2245 if (cfa->base != CFI_SP && cfa->base != CFI_SP_INDIRECT) in update_cfi_state_regs()
2264 static void save_reg(struct cfi_state *cfi, unsigned char reg, int base, int offset) in save_reg() argument
2267 cfi->regs[reg].base == CFI_UNDEFINED) { in save_reg()
2268 cfi->regs[reg].base = base; in save_reg()
2275 cfi->regs[reg].base = initial_func_cfi.regs[reg].base; in restore_reg()
2339 if (cfa->base == CFI_UNDEFINED) { in update_cfi_state()
2358 cfa->base == CFI_SP && in update_cfi_state()
2359 regs[CFI_BP].base == CFI_CFA && in update_cfi_state()
2363 cfa->base = op->dest.reg; in update_cfi_state()
2371 regs[CFI_BP].base = CFI_BP; in update_cfi_state()
2376 else if (op->src.reg == CFI_SP && cfa->base == CFI_SP) { in update_cfi_state()
2388 cfi->vals[op->dest.reg].base = CFI_CFA; in update_cfi_state()
2393 cfa->base == CFI_BP) { in update_cfi_state()
2403 else if (op->dest.reg == cfa->base) { in update_cfi_state()
2406 if (cfa->base == CFI_SP && in update_cfi_state()
2407 cfi->vals[op->src.reg].base == CFI_CFA) { in update_cfi_state()
2421 cfa->base = CFI_UNDEFINED; in update_cfi_state()
2433 if (cfa->base == CFI_SP) in update_cfi_state()
2445 if (op->src.reg == CFI_SP && cfa->base == CFI_SP) { in update_cfi_state()
2460 cfi->vals[op->dest.reg].base = CFI_CFA; in update_cfi_state()
2471 cfa->base = CFI_SP; in update_cfi_state()
2478 if (op->dest.reg == cfi->cfa.base) { in update_cfi_state()
2488 (cfi->drap_reg != CFI_UNDEFINED && cfa->base != CFI_SP) || in update_cfi_state()
2489 (cfi->drap_reg == CFI_UNDEFINED && cfa->base != CFI_BP)) { in update_cfi_state()
2497 cfa->base = cfi->drap_reg; in update_cfi_state()
2511 if (!cfi->drap && op->dest.reg == cfa->base) { in update_cfi_state()
2514 cfa->base = CFI_SP; in update_cfi_state()
2517 if (cfi->drap && cfa->base == CFI_BP_INDIRECT && in update_cfi_state()
2522 cfa->base = cfi->drap_reg; in update_cfi_state()
2533 if (cfa->base == CFI_SP) in update_cfi_state()
2543 cfa->base = cfi->drap_reg; in update_cfi_state()
2554 } else if (op->src.reg == cfa->base && in update_cfi_state()
2575 if (cfa->base == CFI_SP) in update_cfi_state()
2582 if (op->src.reg == cfa->base && op->src.reg == cfi->drap_reg) { in update_cfi_state()
2585 cfa->base = CFI_BP_INDIRECT; in update_cfi_state()
2591 } else if (op->src.reg == CFI_BP && cfa->base == cfi->drap_reg) { in update_cfi_state()
2610 cfa->base != CFI_BP) in update_cfi_state()
2617 if (op->src.reg == cfa->base && op->src.reg == cfi->drap_reg) { in update_cfi_state()
2620 cfa->base = CFI_BP_INDIRECT; in update_cfi_state()
2631 } else if (op->dest.reg == cfa->base) { in update_cfi_state()
2642 if ((!cfi->drap && cfa->base != CFI_BP) || in update_cfi_state()
2643 (cfi->drap && cfa->base != cfi->drap_reg)) { in update_cfi_state()
2655 cfa->base = CFI_SP; in update_cfi_state()
2670 if (cfa->base == CFI_SP) in update_cfi_state()
2770 cfi1->cfa.base, cfi1->cfa.offset, in insn_cfi_match()
2771 cfi2->cfa.base, cfi2->cfa.offset); in insn_cfi_match()
2781 i, cfi1->regs[i].base, cfi1->regs[i].offset, in insn_cfi_match()
2782 i, cfi2->regs[i].base, cfi2->regs[i].offset); in insn_cfi_match()
3182 if (state.cfi.cfa.base == CFI_UNDEFINED) in validate_branch()