Lines Matching refs:RegisterInfo
16 class BytecodeRegisterOptimizer::RegisterInfo final : public ZoneObject { class in v8::internal::interpreter::BytecodeRegisterOptimizer
18 RegisterInfo(Register reg, uint32_t equivalence_id, bool materialized, in RegisterInfo() function in v8::internal::interpreter::BytecodeRegisterOptimizer::RegisterInfo
28 void AddToEquivalenceSetOf(RegisterInfo* info);
32 bool IsInSameEquivalenceSet(RegisterInfo* info) const;
37 RegisterInfo* GetAllocatedEquivalent();
43 RegisterInfo* GetMaterializedEquivalent();
49 RegisterInfo* GetMaterializedEquivalentOtherThan(Register reg);
57 RegisterInfo* GetEquivalentToMaterialize();
63 RegisterInfo* GetEquivalent();
86 RegisterInfo* next_;
87 RegisterInfo* prev_;
89 DISALLOW_COPY_AND_ASSIGN(RegisterInfo);
92 void BytecodeRegisterOptimizer::RegisterInfo::AddToEquivalenceSetOf( in AddToEquivalenceSetOf()
93 RegisterInfo* info) { in AddToEquivalenceSetOf()
107 void BytecodeRegisterOptimizer::RegisterInfo::MoveToNewEquivalenceSet( in MoveToNewEquivalenceSet()
116 bool BytecodeRegisterOptimizer::RegisterInfo::IsOnlyMemberOfEquivalenceSet() in IsOnlyMemberOfEquivalenceSet()
121 bool BytecodeRegisterOptimizer::RegisterInfo::
125 const RegisterInfo* visitor = this->next_; in IsOnlyMaterializedMemberOfEquivalenceSet()
135 bool BytecodeRegisterOptimizer::RegisterInfo::IsInSameEquivalenceSet( in IsInSameEquivalenceSet()
136 RegisterInfo* info) const { in IsInSameEquivalenceSet()
140 BytecodeRegisterOptimizer::RegisterInfo*
141 BytecodeRegisterOptimizer::RegisterInfo::GetAllocatedEquivalent() { in GetAllocatedEquivalent()
142 RegisterInfo* visitor = this; in GetAllocatedEquivalent()
153 BytecodeRegisterOptimizer::RegisterInfo*
154 BytecodeRegisterOptimizer::RegisterInfo::GetMaterializedEquivalent() { in GetMaterializedEquivalent()
155 RegisterInfo* visitor = this; in GetMaterializedEquivalent()
166 BytecodeRegisterOptimizer::RegisterInfo*
167 BytecodeRegisterOptimizer::RegisterInfo::GetMaterializedEquivalentOtherThan( in GetMaterializedEquivalentOtherThan()
169 RegisterInfo* visitor = this; in GetMaterializedEquivalentOtherThan()
180 BytecodeRegisterOptimizer::RegisterInfo*
181 BytecodeRegisterOptimizer::RegisterInfo::GetEquivalentToMaterialize() { in GetEquivalentToMaterialize()
183 RegisterInfo* visitor = this->next_; in GetEquivalentToMaterialize()
184 RegisterInfo* best_info = nullptr; in GetEquivalentToMaterialize()
199 void BytecodeRegisterOptimizer::RegisterInfo::MarkTemporariesAsUnmaterialized( in MarkTemporariesAsUnmaterialized()
203 RegisterInfo* visitor = this->next_; in MarkTemporariesAsUnmaterialized()
212 BytecodeRegisterOptimizer::RegisterInfo*
213 BytecodeRegisterOptimizer::RegisterInfo::GetEquivalent() { in GetEquivalent()
244 register_info_table_[i] = new (zone) RegisterInfo( in BytecodeRegisterOptimizer()
253 void BytecodeRegisterOptimizer::PushToRegistersNeedingFlush(RegisterInfo* reg) { in PushToRegistersNeedingFlush()
261 for (RegisterInfo* reg_info : register_info_table_) { in EnsureAllRegistersAreFlushed()
279 for (RegisterInfo* reg_info : registers_needing_flushed_) { in Flush()
283 RegisterInfo* materialized = reg_info->materialized() in Flush()
291 RegisterInfo* equivalent; in Flush()
313 RegisterInfo* input_info, RegisterInfo* output_info) { in OutputRegisterTransfer()
332 RegisterInfo* info) { in CreateMaterializedEquivalent()
334 RegisterInfo* unmaterialized = info->GetEquivalentToMaterialize(); in CreateMaterializedEquivalent()
340 BytecodeRegisterOptimizer::RegisterInfo*
341 BytecodeRegisterOptimizer::GetMaterializedEquivalent(RegisterInfo* info) { in GetMaterializedEquivalent()
345 BytecodeRegisterOptimizer::RegisterInfo*
347 RegisterInfo* info) { in GetMaterializedEquivalentNotAccumulator()
352 RegisterInfo* result = info->GetMaterializedEquivalentOtherThan(accumulator_); in GetMaterializedEquivalentNotAccumulator()
361 void BytecodeRegisterOptimizer::Materialize(RegisterInfo* info) { in Materialize()
363 RegisterInfo* materialized = info->GetMaterializedEquivalent(); in Materialize()
370 RegisterInfo* set_member, RegisterInfo* non_set_member) { in AddToEquivalenceSet()
379 void BytecodeRegisterOptimizer::RegisterTransfer(RegisterInfo* input_info, in RegisterTransfer()
380 RegisterInfo* output_info) { in RegisterTransfer()
404 RegisterInfo* materialized_info = input_info->GetMaterializedEquivalent(); in RegisterTransfer()
417 RegisterInfo* reg_info = GetRegisterInfo(reg); in PrepareOutputRegister()
436 RegisterInfo* reg_info = GetRegisterInfo(reg); in GetInputRegister()
440 RegisterInfo* equivalent_info = in GetInputRegister()
456 RegisterInfo* input_info = GetRegisterInfo(current); in GetInputRegisterList()
472 new (zone()) RegisterInfo(RegisterFromRegisterInfoTableIndex(i), in GrowRegisterMap()
478 void BytecodeRegisterOptimizer::AllocateRegister(RegisterInfo* info) { in AllocateRegister()