Lines Matching defs:RegisterInfo
16 class BytecodeRegisterOptimizer::RegisterInfo final : public ZoneObject {
18 RegisterInfo(Register reg, uint32_t equivalence_id, bool materialized,
27 void AddToEquivalenceSetOf(RegisterInfo* info);
31 bool IsInSameEquivalenceSet(RegisterInfo* info) const;
37 RegisterInfo* GetMaterializedEquivalent();
43 RegisterInfo* GetMaterializedEquivalentOtherThan(Register reg);
51 RegisterInfo* GetEquivalentToMaterialize();
57 RegisterInfo* GetEquivalent();
76 RegisterInfo* next_;
77 RegisterInfo* prev_;
79 DISALLOW_COPY_AND_ASSIGN(RegisterInfo);
82 void BytecodeRegisterOptimizer::RegisterInfo::AddToEquivalenceSetOf(
83 RegisterInfo* info) {
97 void BytecodeRegisterOptimizer::RegisterInfo::MoveToNewEquivalenceSet(
106 bool BytecodeRegisterOptimizer::RegisterInfo::IsOnlyMemberOfEquivalenceSet()
111 bool BytecodeRegisterOptimizer::RegisterInfo::
115 const RegisterInfo* visitor = this->next_;
125 bool BytecodeRegisterOptimizer::RegisterInfo::IsInSameEquivalenceSet(
126 RegisterInfo* info) const {
130 BytecodeRegisterOptimizer::RegisterInfo*
131 BytecodeRegisterOptimizer::RegisterInfo::GetMaterializedEquivalent() {
132 RegisterInfo* visitor = this;
143 BytecodeRegisterOptimizer::RegisterInfo*
144 BytecodeRegisterOptimizer::RegisterInfo::GetMaterializedEquivalentOtherThan(
146 RegisterInfo* visitor = this;
157 BytecodeRegisterOptimizer::RegisterInfo*
158 BytecodeRegisterOptimizer::RegisterInfo::GetEquivalentToMaterialize() {
160 RegisterInfo* visitor = this->next_;
161 RegisterInfo* best_info = nullptr;
176 void BytecodeRegisterOptimizer::RegisterInfo::MarkTemporariesAsUnmaterialized(
180 RegisterInfo* visitor = this->next_;
189 BytecodeRegisterOptimizer::RegisterInfo*
190 BytecodeRegisterOptimizer::RegisterInfo::GetEquivalent() {
224 register_info_table_[i] = new (zone) RegisterInfo(
241 RegisterInfo* reg_info = register_info_table_[i];
246 RegisterInfo* equivalent;
260 RegisterInfo* input_info, RegisterInfo* output_info,
287 RegisterInfo* info) {
289 RegisterInfo* unmaterialized = info->GetEquivalentToMaterialize();
295 BytecodeRegisterOptimizer::RegisterInfo*
296 BytecodeRegisterOptimizer::GetMaterializedEquivalent(RegisterInfo* info) {
300 BytecodeRegisterOptimizer::RegisterInfo*
302 RegisterInfo* info) {
307 RegisterInfo* result = info->GetMaterializedEquivalentOtherThan(accumulator_);
316 void BytecodeRegisterOptimizer::Materialize(RegisterInfo* info) {
318 RegisterInfo* materialized = info->GetMaterializedEquivalent();
324 RegisterInfo* set_member, RegisterInfo* non_set_member) {
332 RegisterInfo* input_info, RegisterInfo* output_info,
350 RegisterInfo* materialized_info = input_info->GetMaterializedEquivalent();
373 RegisterInfo* reg_info = GetRegisterInfo(reg);
392 RegisterInfo* reg_info = GetRegisterInfo(reg);
396 RegisterInfo* equivalent_info =
412 RegisterInfo* input_info = GetRegisterInfo(current);
428 new (zone()) RegisterInfo(RegisterFromRegisterInfoTableIndex(i),