Home
last modified time | relevance | path

Searched refs:GetLiveInterval (Results 1 – 10 of 10) sorted by relevance

/aosp12/art/compiler/optimizing/
H A Dlive_ranges_test.cc172 interval = liveness.GetInstructionFromSsaIndex(0)->GetLiveInterval(); in TEST_F()
187 interval = liveness.GetInstructionFromSsaIndex(2)->GetLiveInterval(); in TEST_F()
238 LiveInterval* interval = graph->GetIntConstant(0)->GetLiveInterval(); in TEST_F()
247 interval = graph->GetIntConstant(4)->GetLiveInterval(); in TEST_F()
255 interval = graph->GetIntConstant(5)->GetLiveInterval(); in TEST_F()
314 LiveInterval* interval = constant->GetLiveInterval(); in TEST_F()
324 interval = phi->GetLiveInterval(); in TEST_F()
335 interval = add->GetLiveInterval(); in TEST_F()
409 interval = add->GetLiveInterval(); in TEST_F()
417 interval = add->GetLiveInterval(); in TEST_F()
[all …]
H A Dregister_allocator_test.cc342 LiveInterval* phi_interval = phi->GetLiveInterval(); in Loop3()
371 LiveInterval* interval = first_xor->GetLiveInterval(); in TEST_F()
574 ASSERT_EQ(input1->GetLiveInterval()->GetRegister(), 0); in PhiHint()
575 ASSERT_EQ(input2->GetLiveInterval()->GetRegister(), 0); in PhiHint()
576 ASSERT_EQ(phi->GetLiveInterval()->GetRegister(), 0); in PhiHint()
594 ASSERT_EQ(phi->GetLiveInterval()->GetRegister(), 2); in PhiHint()
612 ASSERT_EQ(phi->GetLiveInterval()->GetRegister(), 2); in PhiHint()
630 ASSERT_EQ(phi->GetLiveInterval()->GetRegister(), 2); in PhiHint()
689 ASSERT_EQ(field->GetLiveInterval()->GetRegister(), 0); in ExpectedInRegisterHint()
706 ASSERT_EQ(field->GetLiveInterval()->GetRegister(), 2); in ExpectedInRegisterHint()
[all …]
H A Dssa_liveness_analysis.cc123 input->GetLiveInterval()->AddUse(current, /* environment= */ nullptr, i, actual_user); in RecursivelyProcessInputs()
159 instruction->GetLiveInterval()->AddUse(current, in ProcessEnvironment()
193 input->GetLiveInterval()->AddPhiUse(phi, phi_input_index, block); in ComputeLiveRanges()
215 current->GetLiveInterval()->SetFrom(current->GetLifetimePosition()); in ComputeLiveRanges()
250 LiveInterval* interval = current->GetLiveInterval(); in ComputeLiveRanges()
266 current->GetLiveInterval()->AddLoopRange(block->GetLifetimeStart(), last_position); in ComputeLiveRanges()
347 DCHECK_EQ(defined_by_->GetLiveInterval(), this); in FindFirstRegisterHint()
389 Location phi_location = user->GetLiveInterval()->ToLocation(); in FindFirstRegisterHint()
405 Location location = inputs[i]->GetLiveInterval()->GetLocationAt( in FindFirstRegisterHint()
443 LiveInterval* input_interval = inputs[i]->GetLiveInterval()->GetSiblingAt(end - 1); in FindHintAtDefinition()
[all …]
H A Dregister_allocation_resolver.cc60 LiveInterval* current = instruction->GetLiveInterval(); in Resolve()
148 ConnectSiblings(instruction->GetLiveInterval()); in Resolve()
160 LiveInterval* interval = liveness_.GetInstructionFromSsaIndex(idx)->GetLiveInterval(); in Resolve()
173 LiveInterval* interval = liveness_.GetInstructionFromSsaIndex(idx)->GetLiveInterval(); in Resolve()
192 Location source = input->GetLiveInterval()->GetLocationAt( in Resolve()
194 Location destination = phi->GetLiveInterval()->ToLocation(); in Resolve()
235 for (LiveInterval* current = instruction->GetLiveInterval(); in UpdateSafepointLiveRegisters()
H A Dssa_liveness_analysis_test.cc74 arg->GetLiveInterval()->Dump(arg_dump); in TEST_F()
142 arg->GetLiveInterval()->Dump(arg_dump); in TEST_F()
214 arg->GetLiveInterval()->Dump(arg_dump); in TEST_F()
H A Dregister_allocator_graph_color.cc739 LiveInterval* interval = instruction->GetLiveInterval(); in Validate()
741 intervals.push_back(instruction->GetLiveInterval()); in Validate()
835 LiveInterval* interval = instruction->GetLiveInterval(); in ProcessInstruction()
898 LiveInterval* interval = instruction->GetLiveInterval(); in CheckForFixedOutput()
925 LiveInterval* interval = instruction->GetLiveInterval(); in AddSafepointsFor()
1040 LiveInterval* interval = phi->GetLiveInterval(); in AllocateSpillSlotForCatchPhi()
1050 DCHECK(previous_phi->GetLiveInterval()->HasSpillSlot()); in AllocateSpillSlotForCatchPhi()
1051 interval->SetSpillSlot(previous_phi->GetLiveInterval()->GetSpillSlot()); in AllocateSpillSlotForCatchPhi()
1173 if (inputs[i]->GetLiveInterval()->GetSiblingAt(def_position) == input_interval) { in CheckInputOutputCanOverlap()
1365 LiveInterval* input_interval = inputs[i]->GetLiveInterval()->GetSiblingAt(position); in FindCoalesceOpportunities()
[all …]
H A Dregister_allocator_linear_scan.cc300 LiveInterval* current = instruction->GetLiveInterval(); in ProcessInstruction()
435 if (ShouldProcess(processing_core_registers_, instruction->GetLiveInterval())) { in ValidateInternal()
436 intervals.push_back(instruction->GetLiveInterval()); in ValidateInternal()
643 LiveInterval* interval = inputs[i]->GetLiveInterval()->GetLastSibling(); in TryAllocateFreeReg()
1173 LiveInterval* interval = phi->GetLiveInterval(); in AllocateSpillSlotForCatchPhi()
1183 DCHECK(previous_phi->GetLiveInterval()->HasSpillSlot()); in AllocateSpillSlotForCatchPhi()
1184 interval->SetSpillSlot(previous_phi->GetLiveInterval()->GetSpillSlot()); in AllocateSpillSlotForCatchPhi()
H A Dssa_liveness_analysis.h881 LiveInterval* interval = input->GetLiveInterval(); in IsUsingInputRegister()
912 LiveInterval* interval = input->GetLiveInterval(); in CanUseInputRegister()
H A Dgraph_visualizer.cc688 LiveInterval* interval = instruction->GetLiveInterval(); in PrintInstruction()
H A Dnodes.h2577 LiveInterval* GetLiveInterval() const { return live_interval_; } in GetLiveInterval() function