Home
last modified time | relevance | path

Searched refs:put_insn (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/binary_translation/backend/testing/include/x86_64/
Dloop_guest_context_optimizer_test_checks.h35 inline MachineReg CheckCopyPutInsnAndObtainMappedReg(MachineInsn* put_insn, in CheckCopyPutInsnAndObtainMappedReg() argument
37 EXPECT_EQ(put_insn->opcode(), kMachineOpPseudoCopy); in CheckCopyPutInsnAndObtainMappedReg()
38 EXPECT_EQ(put_insn->RegAt(1), expected_src); in CheckCopyPutInsnAndObtainMappedReg()
39 return put_insn->RegAt(0); in CheckCopyPutInsnAndObtainMappedReg()
62 auto put_insn = AsMachineInsnX86_64(insn); in CheckPutInsn() local
63 EXPECT_TRUE(put_insn->IsCPUStatePut()); in CheckPutInsn()
64 EXPECT_EQ(put_insn->opcode(), opcode); in CheckPutInsn()
65 EXPECT_EQ(put_insn->RegAt(1), reg); in CheckPutInsn()
66 EXPECT_EQ(put_insn->disp(), disp); in CheckPutInsn()
/frameworks/libs/binary_translation/backend/x86_64/
Dloop_guest_context_optimizer.cc156 MachineInsn* put_insn; in GeneratePutInsns() local
159 put_insn = ir->NewInsn<MovqMemBaseDispReg>(kMachineRegRBP, disp, reg_info.reg); in GeneratePutInsns()
162 put_insn = ir->NewInsn<MovdqaMemBaseDispXReg>(kMachineRegRBP, disp, reg_info.reg); in GeneratePutInsns()
165 put_insn = ir->NewInsn<MovwMemBaseDispReg>(kMachineRegRBP, disp, reg_info.reg); in GeneratePutInsns()
168 put_insn = ir->NewInsn<MovsdMemBaseDispXReg>(kMachineRegRBP, disp, reg_info.reg); in GeneratePutInsns()
172 bb->insn_list().insert(insert_it, put_insn); in GeneratePutInsns()
Dloop_guest_context_optimizer_test.cc727 auto* put_insn = afterloop->insn_list().front(); in TEST() local
728 CheckPutInsn(put_insn, kMachineOpMovqMemBaseDispReg, mapped_reg, GetThreadStateRegOffset(0)); in TEST()
817 auto* put_insn = afterloop->insn_list().front(); in TEST() local
818 CheckPutInsn(put_insn, kMachineOpMovqMemBaseDispReg, mapped_reg, GetThreadStateRegOffset(0)); in TEST()
872 auto* put_insn = afterloop1->insn_list().front(); in TEST() local
873 CheckPutInsn(put_insn, kMachineOpMovqMemBaseDispReg, mapped_reg, GetThreadStateRegOffset(0)); in TEST()
876 put_insn = afterloop2->insn_list().front(); in TEST()
877 CheckPutInsn(put_insn, kMachineOpMovqMemBaseDispReg, mapped_reg, GetThreadStateRegOffset(0)); in TEST()