Home
last modified time | relevance | path

Searched refs:mapped_reg (Results 1 – 5 of 5) sorted by relevance

/frameworks/libs/binary_translation/backend/x86_64/
Dloop_guest_context_optimizer_test.cc54 auto mapped_reg = CheckCopyGetInsnAndObtainMappedReg(copy_insn, reg1); in TEST() local
57 CheckMemRegMap(mem_reg_map, offset, mapped_reg, MovType::kMovq, false); in TEST()
79 auto mapped_reg = CheckCopyPutInsnAndObtainMappedReg(copy_insn, reg1); in TEST() local
82 CheckMemRegMap(mem_reg_map, offset, mapped_reg, MovType::kMovq, true); in TEST()
107 auto mapped_reg = CheckCopyGetInsnAndObtainMappedReg(get_copy_insn, reg1); in TEST() local
110 EXPECT_EQ(mapped_reg, mapped_reg_in_put); in TEST()
113 CheckMemRegMap(mem_reg_map, offset, mapped_reg, MovType::kMovq, true); in TEST()
138 auto mapped_reg = CheckCopyGetInsnAndObtainMappedReg(copy_insn, reg1); in TEST() local
141 CheckMemRegMap(mem_reg_map, offset, mapped_reg, MovType::kMovdqa, false); in TEST()
166 auto mapped_reg = CheckCopyPutInsnAndObtainMappedReg(copy_insn, reg1); in TEST() local
[all …]
Drename_vregs.cc43 MachineReg& mapped_reg = map_.at(bb->id()).at(reg.GetVRegIndex()); in Get() local
44 if (mapped_reg == kInvalidMachineReg) { in Get()
45 mapped_reg = machine_ir_->AllocVReg(); in Get()
47 return mapped_reg; in Get()
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/
Dlite_translator.h181 auto [mapped_reg, is_new_mapping] = GetMappedRegisterOrMap(reg); in GetReg()
184 as_.Movq(mapped_reg, {.base = as_.rbp, .disp = offset}); in GetReg()
186 return mapped_reg; in GetReg()
199 auto [mapped_reg, _] = GetMappedRegisterOrMap(reg); in SetReg()
201 as_.Movq(mapped_reg, value); in SetReg()
216 auto mapped_reg = gp_maintainer_.GetMapped(i); in StoreMappedRegs() local
218 as_.Movq({.base = as_.rbp, .disp = offset}, mapped_reg); in StoreMappedRegs()
223 auto mapped_reg = simd_maintainer_.GetMapped(i); in StoreMappedRegs() local
225 StoreFpReg(mapped_reg, offset); in StoreMappedRegs()
234 auto [mapped_reg, is_new_mapping] = GetMappedFpRegOrMap(reg); in GetFpReg()
[all …]
Dlite_translator_tests.cc34 auto [mapped_reg, is_new] = translator.GetMappedRegisterOrMap(1); in TEST()
38 EXPECT_EQ(mapped_reg, mapped_reg2); in TEST()
41 EXPECT_NE(mapped_reg, mapped_reg3); in TEST()
/frameworks/libs/binary_translation/backend/testing/include/x86_64/
Dloop_guest_context_optimizer_test_checks.h44 MachineReg mapped_reg, in CheckMemRegMap() argument
48 EXPECT_EQ(mem_reg_map[offset].value().reg, mapped_reg); in CheckMemRegMap()