/frameworks/libs/binary_translation/backend/x86_64/ |
D | insn_folding.cc | 80 folded_insn = machine_ir_->NewInsn<AddqRegImm>(insn->RegAt(0), imm32, insn->RegAt(2)); in NewImmInsnFromRegInsn() 83 folded_insn = machine_ir_->NewInsn<SubqRegImm>(insn->RegAt(0), imm32, insn->RegAt(2)); in NewImmInsnFromRegInsn() 86 folded_insn = machine_ir_->NewInsn<CmpqRegImm>(insn->RegAt(0), imm32, insn->RegAt(2)); in NewImmInsnFromRegInsn() 89 folded_insn = machine_ir_->NewInsn<OrqRegImm>(insn->RegAt(0), imm32, insn->RegAt(2)); in NewImmInsnFromRegInsn() 92 folded_insn = machine_ir_->NewInsn<XorqRegImm>(insn->RegAt(0), imm32, insn->RegAt(2)); in NewImmInsnFromRegInsn() 95 folded_insn = machine_ir_->NewInsn<AndqRegImm>(insn->RegAt(0), imm32, insn->RegAt(2)); in NewImmInsnFromRegInsn() 98 folded_insn = machine_ir_->NewInsn<TestqRegImm>(insn->RegAt(0), imm32, insn->RegAt(2)); in NewImmInsnFromRegInsn() 101 folded_insn = machine_ir_->NewInsn<MovlRegImm>(insn->RegAt(0), imm32); in NewImmInsnFromRegInsn() 104 folded_insn = machine_ir_->NewInsn<AddlRegImm>(insn->RegAt(0), imm32, insn->RegAt(2)); in NewImmInsnFromRegInsn() 107 folded_insn = machine_ir_->NewInsn<SublRegImm>(insn->RegAt(0), imm32, insn->RegAt(2)); in NewImmInsnFromRegInsn() [all …]
|
D | loop_guest_context_optimizer.cc | 61 auto* new_insn = ir->NewInsn<PseudoCopy>(dst, mem_reg_map[disp].value().reg, copy_size); in ReplaceGetAndUpdateMap() 99 ir->NewInsn<PseudoCopy>(mem_reg_map[disp].value().reg, src, copy_size)); in ReplacePutAndUpdateMap() 124 get_insn = ir->NewInsn<MovqRegMemBaseDisp>(reg_info.reg, kMachineRegRBP, disp); in GenerateGetInsns() 127 get_insn = ir->NewInsn<MovdqaXRegMemBaseDisp>(reg_info.reg, kMachineRegRBP, disp); in GenerateGetInsns() 130 get_insn = ir->NewInsn<MovwRegMemBaseDisp>(reg_info.reg, kMachineRegRBP, disp); in GenerateGetInsns() 133 get_insn = ir->NewInsn<MovsdXRegMemBaseDisp>(reg_info.reg, kMachineRegRBP, disp); in GenerateGetInsns() 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()
|
D | rename_vregs_local.cc | 72 insn_list.insert(insn_it, machine_ir->NewInsn<MovqRegReg>(new_reg, vreg_map.Get(reg))); in TryRenameRegOperand() 117 insn_list.push_front(machine_ir->NewInsn<MovqRegReg>(old_reg, in_reg)); in RenameSuccessorsLiveIns()
|
D | local_guest_context_optimizer.cc | 75 *insn_it = machine_ir_->NewInsn<PseudoCopy>(dst, mem_reg_map_[disp].value().reg, copy_size); in ReplaceGetAndUpdateMap()
|
D | rename_vregs.cc | 58 machine_ir->NewInsn<PseudoCopy>(succ_vreg, pred_vreg, vreg_map->GetMaxSize(vreg)); in GenInterBasicBlockMove()
|
D | machine_ir_opt.cc | 161 new_bb->insn_list().push_back(ir->NewInsn<PseudoBranch>(succ_bb)); in InsertNodeOnEdge()
|
D | rename_copy_uses_test.cc | 180 auto* call_arg_insn = builder.ir()->NewInsn<CallImmArg>(vreg1, CallImm::RegType::kIntType); in TEST()
|
D | machine_ir_check_test.cc | 175 PseudoCopy* insn = machine_ir.NewInsn<PseudoCopy>(reg1, reg2, 8); in TEST()
|
D | machine_ir_exec_test.cc | 50 auto* jump = machine_ir.template NewInsn<PseudoJump>(0); in Init()
|
/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/ |
D | machine_ir_builder.h | 93 auto* call = ir()->NewInsn<CallImm>(imm); in GenCallImm() 125 auto* copy = ir()->NewInsn<PseudoCopy>( in GenCallImmArg() 127 auto* call_arg_insn = ir()->NewInsn<CallImmArg>(renamed_arg_reg, reg_type); in GenCallImmArg()
|
D | machine_ir.h | 317 bb->insn_list().push_back(NewInsn<PseudoBranch>(new_bb)); in SplitBasicBlock()
|
/frameworks/libs/binary_translation/backend/include/berberis/backend/common/ |
D | machine_ir_builder.h | 41 InsnType* insn = ir_->template NewInsn<InsnType>(args...); in Gen()
|
D | lifetime.h | 53 pos_.InsertBefore(machine_ir->NewInsn<PseudoCopy>(reg, spill, size)); in RewriteVReg() 62 pos_.InsertAfter(machine_ir->NewInsn<PseudoCopy>(spill, reg, size)); in RewriteVReg()
|
D | machine_ir.h | 420 [[nodiscard]] T* NewInsn(Args... args) { in NewInsn() function
|
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/ |
D | call_intrinsic_tests.cc | 44 auto* jump = machine_ir->template NewInsn<PseudoJump>(0); in Init()
|
D | frontend.cc | 225 *jump_it = ir->NewInsn<PseudoBranch>(target_bb); in ReplaceJumpWithBranch() 236 auto* cmpb = ir->NewInsn<x86_64::CmpbMemBaseDispImm>( in ReplaceJumpWithBranch() 239 auto* cond_branch = ir->NewInsn<PseudoCondBranch>( in ReplaceJumpWithBranch()
|