Lines Matching defs:regs
38 bool DfxInstructions::Flush(DfxRegs& regs, std::shared_ptr<DfxMemory> memory, uintptr_t cfa, RegLoc loc, uintptr_t& val)
54 if (location >= regs.RegsSize()) {
58 val = regs[location];
62 location = dwarfOp.Eval(regs, cfa, loc.val);
68 val = dwarfOp.Eval(regs, cfa, loc.val);
78 bool DfxInstructions::Apply(std::shared_ptr<DfxMemory> memory, DfxRegs& regs, RegLocState& rsState, uint16_t& errCode)
83 cfa = regs[rsState.cfaReg] + static_cast<uint32_t>(rsState.cfaRegOffset);
87 if (!Flush(regs, memory, 0, cfaLoc, cfa)) {
101 if (Flush(regs, memory, cfa, rsState.locs[i], regs[reg])) {
102 DFXLOGU("Update reg[%{public}zu] : %{public}" PRIx64 "", reg, (uint64_t)regs[reg]);
107 regs.SetSp(cfa);
110 regs.SetPc(0);
116 regs.SetPc(regs[rsState.returnAddressRegister]);