Lines Matching refs:LifetimePosition
16 static inline LifetimePosition Min(LifetimePosition a, LifetimePosition b) { in Min()
21 static inline LifetimePosition Max(LifetimePosition a, LifetimePosition b) { in Max()
26 UsePosition::UsePosition(LifetimePosition pos, in UsePosition()
60 void UseInterval::SplitAt(LifetimePosition pos, Zone* zone) { in SplitAt()
146 UsePosition* LiveRange::NextUsePosition(LifetimePosition start) { in NextUsePosition()
158 LifetimePosition start) { in NextUsePositionRegisterIsBeneficial()
168 LifetimePosition start) { in PreviousUsePositionRegisterIsBeneficial()
179 UsePosition* LiveRange::NextRegisterPosition(LifetimePosition start) { in NextRegisterPosition()
188 bool LiveRange::CanBeSpilled(LifetimePosition pos) { in CanBeSpilled()
226 LifetimePosition position) const { in FirstSearchIntervalForPosition()
237 UseInterval* to_start_of, LifetimePosition but_not_past) const { in AdvanceLastProcessedMarker()
240 LifetimePosition start = in AdvanceLastProcessedMarker()
241 current_interval_ == NULL ? LifetimePosition::Invalid() in AdvanceLastProcessedMarker()
249 void LiveRange::SplitAt(LifetimePosition position, in SplitAt()
342 LifetimePosition start = Start(); in ShouldBeAllocatedBefore()
343 LifetimePosition other_start = other->Start(); in ShouldBeAllocatedBefore()
355 void LiveRange::ShortenTo(LifetimePosition start) { in ShortenTo()
364 void LiveRange::EnsureInterval(LifetimePosition start, in EnsureInterval()
365 LifetimePosition end, in EnsureInterval()
371 LifetimePosition new_end = end; in EnsureInterval()
389 void LiveRange::AddUseInterval(LifetimePosition start, in AddUseInterval()
390 LifetimePosition end, in AddUseInterval()
419 void LiveRange::AddUsePosition(LifetimePosition pos, in AddUsePosition()
467 bool LiveRange::CanCover(LifetimePosition position) const { in CanCover()
474 bool LiveRange::Covers(LifetimePosition position) { in Covers()
490 LifetimePosition LiveRange::FirstIntersection(LiveRange* other) { in FirstIntersection()
492 if (b == NULL) return LifetimePosition::Invalid(); in FirstIntersection()
493 LifetimePosition advance_last_processed_up_to = b->start(); in FirstIntersection()
498 LifetimePosition cur_intersection = a->Intersect(b); in FirstIntersection()
510 return LifetimePosition::Invalid(); in FirstIntersection()
574 LifetimePosition start = LifetimePosition::FromInstructionIndex( in AddInitialIntervals()
576 LifetimePosition end = LifetimePosition::FromInstructionIndex( in AddInitialIntervals()
693 void LAllocator::Define(LifetimePosition position, in Define()
714 void LAllocator::Use(LifetimePosition block_start, in Use()
715 LifetimePosition position, in Use()
886 LifetimePosition block_start_position = in ProcessInstructions()
887 LifetimePosition::FromInstructionIndex(block_start); in ProcessInstructions()
890 LifetimePosition curr_position = in ProcessInstructions()
891 LifetimePosition::FromInstructionIndex(index); in ProcessInstructions()
971 LifetimePosition use_pos; in ProcessInstructions()
1119 LifetimePosition pred_end = in ResolveControlFlow()
1120 LifetimePosition::FromInstructionIndex(pred->last_instruction_index()); in ResolveControlFlow()
1121 LifetimePosition cur_start = in ResolveControlFlow()
1122 LifetimePosition::FromInstructionIndex(block->first_instruction_index()); in ResolveControlFlow()
1177 LParallelMove* LAllocator::GetConnectingParallelMove(LifetimePosition pos) { in GetConnectingParallelMove()
1190 HBasicBlock* LAllocator::GetBlock(LifetimePosition pos) { in GetBlock()
1204 LifetimePosition pos = second_range->Start(); in ConnectRanges()
1299 LifetimePosition block_start = LifetimePosition::FromInstructionIndex( in BuildLiveRanges()
1317 LifetimePosition start = LifetimePosition::FromInstructionIndex( in BuildLiveRanges()
1319 LifetimePosition end = LifetimePosition::FromInstructionIndex( in BuildLiveRanges()
1398 LifetimePosition this_end = cur->End(); in PopulatePointerMaps()
1432 LifetimePosition safe_point_pos = in PopulatePointerMaps()
1433 LifetimePosition::FromInstructionIndex(safe_point); in PopulatePointerMaps()
1526 LifetimePosition position = current->Start(); in AllocateRegisters()
1536 LifetimePosition next_pos = position; in AllocateRegisters()
1767 LifetimePosition free_until_pos[DoubleRegister::kMaxNumRegisters]; in TryAllocateFreeReg()
1770 free_until_pos[i] = LifetimePosition::MaxPosition(); in TryAllocateFreeReg()
1776 LifetimePosition::FromInstructionIndex(0); in TryAllocateFreeReg()
1782 LifetimePosition next_intersection = in TryAllocateFreeReg()
1818 LifetimePosition pos = free_until_pos[reg]; in TryAllocateFreeReg()
1856 LifetimePosition use_pos[DoubleRegister::kMaxNumRegisters]; in AllocateBlockedReg()
1857 LifetimePosition block_pos[DoubleRegister::kMaxNumRegisters]; in AllocateBlockedReg()
1860 use_pos[i] = block_pos[i] = LifetimePosition::MaxPosition(); in AllocateBlockedReg()
1868 LifetimePosition::FromInstructionIndex(0); in AllocateBlockedReg()
1883 LifetimePosition next_intersection = range->FirstIntersection(current); in AllocateBlockedReg()
1902 LifetimePosition pos = use_pos[reg]; in AllocateBlockedReg()
1935 LifetimePosition LAllocator::FindOptimalSpillingPos(LiveRange* range, in FindOptimalSpillingPos()
1936 LifetimePosition pos) { in FindOptimalSpillingPos()
1950 LifetimePosition loop_start = LifetimePosition::FromInstructionIndex( in FindOptimalSpillingPos()
1971 LifetimePosition split_pos = current->Start(); in SplitAndSpillIntersecting()
1976 LifetimePosition spill_pos = FindOptimalSpillingPos(range, split_pos); in SplitAndSpillIntersecting()
2000 LifetimePosition next_intersection = range->FirstIntersection(current); in SplitAndSpillIntersecting()
2018 bool LAllocator::IsBlockBoundary(LifetimePosition pos) { in IsBlockBoundary()
2024 LiveRange* LAllocator::SplitRangeAt(LiveRange* range, LifetimePosition pos) { in SplitRangeAt()
2044 LifetimePosition start, in SplitBetween()
2045 LifetimePosition end) { in SplitBetween()
2052 LifetimePosition split_pos = FindOptimalSplitPos(start, end); in SplitBetween()
2058 LifetimePosition LAllocator::FindOptimalSplitPos(LifetimePosition start, in FindOptimalSplitPos()
2059 LifetimePosition end) { in FindOptimalSplitPos()
2087 return LifetimePosition::FromInstructionIndex( in FindOptimalSplitPos()
2092 void LAllocator::SpillAfter(LiveRange* range, LifetimePosition pos) { in SpillAfter()
2100 LifetimePosition start, in SpillBetween()
2101 LifetimePosition end) { in SpillBetween()
2107 LifetimePosition start, in SpillBetweenUntil()
2108 LifetimePosition until, in SpillBetweenUntil()
2109 LifetimePosition end) { in SpillBetweenUntil()