/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 | liveness_analyzer.cc | 29 CHECK_EQ(machine_ir_->NumBasicBlocks(), live_in_.size()); in Run() 30 CHECK_EQ(machine_ir_->NumVReg(), NumVReg()); in Run() 35 MachineBasicBlockList worklist(machine_ir_->bb_list().rbegin(), in Run() 36 machine_ir_->bb_list().rend(), in Run() 37 ArenaAllocator<MachineBasicBlock*>(machine_ir_->arena())); in Run() 59 VRegBitSet running_liveness(NumVReg(), machine_ir_->arena()); in VisitBasicBlock()
|
D | local_guest_context_optimizer.cc | 30 : machine_ir_(machine_ir), in LocalGuestContextOptimizer() 44 MachineIR* machine_ir_; member in berberis::x86_64::__anon093aa5df0111::LocalGuestContextOptimizer 49 for (auto* bb : machine_ir_->bb_list()) { in RemoveLocalGuestContextAccesses() 75 *insn_it = machine_ir_->NewInsn<PseudoCopy>(dst, mem_reg_map_[disp].value().reg, copy_size); in ReplaceGetAndUpdateMap()
|
D | context_liveness_analyzer.cc | 28 MachineBasicBlockList worklist(machine_ir_->bb_list().rbegin(), in Init() 29 machine_ir_->bb_list().rend(), in Init() 30 ArenaAllocator<MachineBasicBlock*>(machine_ir_->arena())); in Init()
|
D | rename_vregs.cc | 27 for (auto* bb : machine_ir_->bb_list()) { in AssignNewVRegs() 45 mapped_reg = machine_ir_->AllocVReg(); in Get()
|
D | machine_ir_exec_test.cc | 604 ExecMachineIRTest() : machine_ir_(&arena_), builder_(&machine_ir_), data_{} { in ExecMachineIRTest() 605 bb_ = machine_ir_.NewBasicBlock(); 613 machine_ir_.SpillSlotOffset(machine_ir_.AllocSpill())); 652 test_.Init(machine_ir_); in Finalize() 656 x86_64::MachineIR machine_ir_; member in berberis::__anon786506190111::ExecMachineIRTest
|
/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/ |
D | context_liveness_analyzer.h | 31 : machine_ir_(ir), context_live_in_(ir->NumBasicBlocks(), ContextLiveness(), ir->arena()) {} in ContextLivenessAnalyzer() 41 const MachineIR* machine_ir_; variable
|
D | rename_vregs.h | 30 : machine_ir_(machine_ir), in VRegMap() 45 MachineIR* machine_ir_;
|
D | liveness_analyzer.h | 30 : machine_ir_(machine_ir), in LivenessAnalyzer() 71 const MachineIR* machine_ir_; variable
|
D | insn_folding.h | 66 : def_map_(def_map), machine_ir_(machine_ir) {} in InsnFolding() 72 MachineIR* machine_ir_; variable
|
/frameworks/libs/binary_translation/backend/common/ |
D | reg_alloc.cc | 270 : machine_ir_(machine_ir), in VRegLifetimeAllocator() 289 MachineIR* machine_ir_; member in berberis::__anond2b481c90111::VRegLifetimeAllocator 312 allocations_[hard_reg.reg()].SpillAndAssign(&*curr, machine_ir_->AllocSpill(), lifetimes_, next); in SpillAndAssignHardReg() 359 lifetime.Rewrite(machine_ir_); in RewriteAllocatedLifetimes()
|