Home
last modified time | relevance | path

Searched refs:machine_ir_ (Results 1 – 11 of 11) sorted by relevance

/frameworks/libs/binary_translation/backend/x86_64/
Dinsn_folding.cc80 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 …]
Dliveness_analyzer.cc29 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()
Dlocal_guest_context_optimizer.cc30 : 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()
Dcontext_liveness_analyzer.cc28 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()
Drename_vregs.cc27 for (auto* bb : machine_ir_->bb_list()) { in AssignNewVRegs()
45 mapped_reg = machine_ir_->AllocVReg(); in Get()
Dmachine_ir_exec_test.cc604 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/
Dcontext_liveness_analyzer.h31 : machine_ir_(ir), context_live_in_(ir->NumBasicBlocks(), ContextLiveness(), ir->arena()) {} in ContextLivenessAnalyzer()
41 const MachineIR* machine_ir_; variable
Drename_vregs.h30 : machine_ir_(machine_ir), in VRegMap()
45 MachineIR* machine_ir_;
Dliveness_analyzer.h30 : machine_ir_(machine_ir), in LivenessAnalyzer()
71 const MachineIR* machine_ir_; variable
Dinsn_folding.h66 : def_map_(def_map), machine_ir_(machine_ir) {} in InsnFolding()
72 MachineIR* machine_ir_; variable
/frameworks/libs/binary_translation/backend/common/
Dreg_alloc.cc270 : 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()