Searched refs:GetVRegIndex (Results 1 – 12 of 12) sorted by relevance
48 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()
22 uint32_t i = r.GetVRegIndex(); in GetVRegLifetime()67 vreg_lifetimes_[dst.GetVRegIndex()]->SetMoveHint(vreg_lifetimes_[src.GetVRegIndex()]); in TrySetMoveHint()
44 return StringPrintf("v%d", r.GetVRegIndex()); in GetMachineRegDebugString()
30 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()
33 auto& max_size = max_size_.at(reg.GetVRegIndex()); in AssignNewVRegs()43 MachineReg& mapped_reg = map_.at(bb->id()).at(reg.GetVRegIndex()); in Get()
33 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()]; }
36 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()
50 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()
42 [[nodiscard]] int GetMaxSize(MachineReg reg) const { return max_size_.at(reg.GetVRegIndex()); } in GetMaxSize()
48 RenameData& RenameDataForReg(MachineReg reg) { return map_.at(reg.GetVRegIndex()); } in RenameDataForReg()
48 auto* lifetime = vreg_lifetimes_[r.GetVRegIndex()]; in SetLiveOut()
67 [[nodiscard]] constexpr uint32_t GetVRegIndex() const { in GetVRegIndex() function