Home
last modified time | relevance | path

Searched refs:GetVRegIndex (Results 1 – 12 of 12) sorted by relevance

/frameworks/libs/binary_translation/backend/common/
Dmachine_ir_test.cc48 EXPECT_EQ(reg.GetVRegIndex(), 43U); in TEST()
60 EXPECT_DEATH((void)reg.GetVRegIndex(), ""); in TEST()
69 EXPECT_DEATH((void)reg.GetVRegIndex(), ""); in TEST()
70 EXPECT_DEATH((void)reg.GetVRegIndex(), ""); in TEST()
85 EXPECT_EQ(reg.GetVRegIndex(), kVRegMaxIndex); in TEST()
Dlifetime_analysis.cc22 uint32_t i = r.GetVRegIndex(); in GetVRegLifetime()
67 vreg_lifetimes_[dst.GetVRegIndex()]->SetMoveHint(vreg_lifetimes_[src.GetVRegIndex()]); in TrySetMoveHint()
Dmachine_ir_debug.cc44 return StringPrintf("v%d", r.GetVRegIndex()); in GetMachineRegDebugString()
/frameworks/libs/binary_translation/backend/x86_64/
Drename_vregs_local.cc30 void Set(MachineReg from_reg, MachineReg to_reg) { vreg_set_[from_reg.GetVRegIndex()] = to_reg; } in Set()
31 [[nodiscard]] MachineReg Get(MachineReg reg) const { return vreg_set_[reg.GetVRegIndex()]; } in Get()
34 return vreg_set_[reg.GetVRegIndex()] != kInvalidMachineReg && in WasRenamed()
35 vreg_set_[reg.GetVRegIndex()] != reg; in WasRenamed()
38 bool WasSeen(MachineReg reg) { return vreg_set_[reg.GetVRegIndex()] != kInvalidMachineReg; } in WasSeen()
Drename_vregs.cc33 auto& max_size = max_size_.at(reg.GetVRegIndex()); in AssignNewVRegs()
43 MachineReg& mapped_reg = map_.at(bb->id()).at(reg.GetVRegIndex()); in Get()
/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/
Dvreg_bit_set.h33 void Set(MachineReg reg) { bit_set_[reg.GetVRegIndex()] = true; } in Set()
34 void Reset(MachineReg reg) { bit_set_[reg.GetVRegIndex()] = false; } in Reset()
38 bool operator[](MachineReg reg) const { return bit_set_[reg.GetVRegIndex()]; }
Dinsn_folding.h36 return def_map_.at(reg.GetVRegIndex()); in Get()
42 auto [def_insn, def_insn_index] = def_map_.at(reg.GetVRegIndex()); in Get()
54 def_map_.at(reg.GetVRegIndex()) = std::pair(insn, index_); in Set()
Dliveness_analyzer.h50 CHECK(prev == kInvalidMachineReg || prev.GetVRegIndex() < static_cast<uint32_t>(NumVReg())); in GetNextLiveIn()
52 for (uint32_t vreg_index = (prev == kInvalidMachineReg ? 0 : prev.GetVRegIndex() + 1); in GetNextLiveIn()
Drename_vregs.h42 [[nodiscard]] int GetMaxSize(MachineReg reg) const { return max_size_.at(reg.GetVRegIndex()); } in GetMaxSize()
Drename_copy_uses.h48 RenameData& RenameDataForReg(MachineReg reg) { return map_.at(reg.GetVRegIndex()); } in RenameDataForReg()
/frameworks/libs/binary_translation/backend/include/berberis/backend/common/
Dlifetime_analysis.h48 auto* lifetime = vreg_lifetimes_[r.GetVRegIndex()]; in SetLiveOut()
Dmachine_ir.h67 [[nodiscard]] constexpr uint32_t GetVRegIndex() const { in GetVRegIndex() function