Lines Matching refs:LifetimePosition
57 LifetimePosition pos) { in GetInstructionBlock()
129 bool CanCover(LifetimePosition position) { in CanCover()
134 const LifetimePosition start_;
135 const LifetimePosition end_;
168 LiveRangeBound* Find(const LifetimePosition position) const { in Find()
186 LifetimePosition pred_end = in FindPred()
187 LifetimePosition::InstructionFromInstructionIndex( in FindPred()
193 LifetimePosition succ_start = LifetimePosition::GapFromInstructionIndex( in FindSucc()
201 LifetimePosition pred_end = in FindConnectableSubranges()
202 LifetimePosition::InstructionFromInstructionIndex( in FindConnectableSubranges()
206 LifetimePosition cur_start = LifetimePosition::GapFromInstructionIndex( in FindConnectableSubranges()
282 UsePosition::UsePosition(LifetimePosition pos, InstructionOperand* operand, in UsePosition()
387 UseInterval* UseInterval::SplitAt(LifetimePosition pos, Zone* zone) { in SplitAt()
397 void LifetimePosition::Print() const { in Print()
403 std::ostream& operator<<(std::ostream& os, const LifetimePosition pos) { in operator <<()
454 LifetimePosition last_end = first_interval()->end(); in VerifyIntervals()
497 UsePosition* LiveRange::NextUsePosition(LifetimePosition start) const { in NextUsePosition()
511 LifetimePosition start) const { in NextUsePositionRegisterIsBeneficial()
521 LifetimePosition start) const { in PreviousUsePositionRegisterIsBeneficial()
532 UsePosition* LiveRange::NextRegisterPosition(LifetimePosition start) const { in NextRegisterPosition()
541 UsePosition* LiveRange::NextSlotPosition(LifetimePosition start) const { in NextSlotPosition()
551 bool LiveRange::CanBeSpilled(LifetimePosition pos) const { in CanBeSpilled()
581 LifetimePosition position) const { in FirstSearchIntervalForPosition()
592 UseInterval* to_start_of, LifetimePosition but_not_past) const { in AdvanceLastProcessedMarker()
595 LifetimePosition start = current_interval_ == nullptr in AdvanceLastProcessedMarker()
596 ? LifetimePosition::Invalid() in AdvanceLastProcessedMarker()
604 LiveRange* LiveRange::SplitAt(LifetimePosition position, Zone* zone) { in SplitAt()
616 UsePosition* LiveRange::DetachAt(LifetimePosition position, LiveRange* result, in DetachAt()
739 LifetimePosition start = Start(); in ShouldBeAllocatedBefore()
740 LifetimePosition other_start = other->Start(); in ShouldBeAllocatedBefore()
767 bool LiveRange::CanCover(LifetimePosition position) const { in CanCover()
773 bool LiveRange::Covers(LifetimePosition position) const { in Covers()
788 LifetimePosition LiveRange::FirstIntersection(LiveRange* other) const { in FirstIntersection()
790 if (b == nullptr) return LifetimePosition::Invalid(); in FirstIntersection()
791 LifetimePosition advance_last_processed_up_to = b->start(); in FirstIntersection()
796 LifetimePosition cur_intersection = a->Intersect(b); in FirstIntersection()
808 return LifetimePosition::Invalid(); in FirstIntersection()
924 void TopLevelLiveRange::Splinter(LifetimePosition start, LifetimePosition end, in Splinter()
1075 LifetimePosition last_end = End(); in VerifyChildrenInOrder()
1092 void TopLevelLiveRange::ShortenTo(LifetimePosition start) { in ShortenTo()
1101 void TopLevelLiveRange::EnsureInterval(LifetimePosition start, in EnsureInterval()
1102 LifetimePosition end, Zone* zone) { in EnsureInterval()
1105 LifetimePosition new_end = end; in EnsureInterval()
1122 void TopLevelLiveRange::AddUseInterval(LifetimePosition start, in AddUseInterval()
1123 LifetimePosition end, Zone* zone) { in AddUseInterval()
1150 LifetimePosition pos = use_pos->pos(); in AddUsePosition()
1275 LifetimePosition max = LifetimePosition::MaxPosition(); in TryMerge()
1577 bool RegisterAllocationData::IsBlockBoundary(LifetimePosition pos) const { in IsBlockBoundary()
1876 LifetimePosition start = LifetimePosition::GapFromInstructionIndex( in AddInitialIntervals()
1878 LifetimePosition end = LifetimePosition::InstructionFromInstructionIndex( in AddInitialIntervals()
1965 UsePosition* LiveRangeBuilder::NewUsePosition(LifetimePosition pos, in NewUsePosition()
1973 UsePosition* LiveRangeBuilder::Define(LifetimePosition position, in Define()
1995 UsePosition* LiveRangeBuilder::Use(LifetimePosition block_start, in Use()
1996 LifetimePosition position, in Use()
2015 LifetimePosition block_start_position = in ProcessInstructions()
2016 LifetimePosition::GapFromInstructionIndex(block_start); in ProcessInstructions()
2020 LifetimePosition curr_position = in ProcessInstructions()
2021 LifetimePosition::InstructionFromInstructionIndex(index); in ProcessInstructions()
2045 Define(LifetimePosition::GapFromInstructionIndex(index), output); in ProcessInstructions()
2093 LifetimePosition use_pos; in ProcessInstructions()
2232 LifetimePosition block_start = LifetimePosition::GapFromInstructionIndex( in ProcessPhis()
2247 LifetimePosition start = LifetimePosition::GapFromInstructionIndex( in ProcessLoopHeader()
2249 LifetimePosition end = LifetimePosition::GapFromInstructionIndex( in ProcessLoopHeader()
2379 LifetimePosition start = interval->start(); in IntervalStartsAtBlockBoundary()
2389 LifetimePosition start = interval->start(); in IntervalPredecessorsCoveredByRange()
2396 LifetimePosition last_pos = LifetimePosition::GapFromInstructionIndex( in IntervalPredecessorsCoveredByRange()
2407 LifetimePosition end = interval->end(); in NextIntervalStartsInDifferentBlocks()
2408 LifetimePosition next_start = interval->next()->start(); in NextIntervalStartsInDifferentBlocks()
2430 LifetimePosition RegisterAllocator::GetSplitPositionForInstruction( in GetSplitPositionForInstruction()
2432 LifetimePosition ret = LifetimePosition::Invalid(); in GetSplitPositionForInstruction()
2434 ret = LifetimePosition::GapFromInstructionIndex(instruction_index); in GetSplitPositionForInstruction()
2436 return LifetimePosition::Invalid(); in GetSplitPositionForInstruction()
2452 LifetimePosition start = range->Start(); in SplitAndSpillRangesDefinedByMemoryOperand()
2455 LifetimePosition next_pos = start; in SplitAndSpillRangesDefinedByMemoryOperand()
2467 LifetimePosition split_pos = GetSplitPositionForInstruction( in SplitAndSpillRangesDefinedByMemoryOperand()
2483 LifetimePosition pos) { in SplitRangeAt()
2502 LifetimePosition start, in SplitBetween()
2503 LifetimePosition end) { in SplitBetween()
2509 LifetimePosition split_pos = FindOptimalSplitPos(start, end); in SplitBetween()
2515 LifetimePosition RegisterAllocator::FindOptimalSplitPos(LifetimePosition start, in FindOptimalSplitPos()
2516 LifetimePosition end) { in FindOptimalSplitPos()
2549 return LifetimePosition::GapFromInstructionIndex( in FindOptimalSplitPos()
2554 LifetimePosition RegisterAllocator::FindOptimalSpillingPos( in FindOptimalSpillingPos()
2555 LiveRange* range, LifetimePosition pos) { in FindOptimalSpillingPos()
2569 LifetimePosition loop_start = LifetimePosition::GapFromInstructionIndex( in FindOptimalSpillingPos()
2662 LifetimePosition position = current->Start(); in AllocateRegisters()
2830 LifetimePosition free_until_pos[RegisterConfiguration::kMaxFPRegisters]; in TryAllocateFreeReg()
2832 free_until_pos[i] = LifetimePosition::MaxPosition(); in TryAllocateFreeReg()
2838 free_until_pos[cur_reg] = LifetimePosition::GapFromInstructionIndex(0); in TryAllocateFreeReg()
2840 LifetimePosition::GapFromInstructionIndex(0).value()); in TryAllocateFreeReg()
2849 LifetimePosition::GapFromInstructionIndex(0); in TryAllocateFreeReg()
2856 LifetimePosition next_intersection = in TryAllocateFreeReg()
2904 LifetimePosition pos = free_until_pos[reg]; in TryAllocateFreeReg()
2948 LifetimePosition use_pos[RegisterConfiguration::kMaxFPRegisters]; in AllocateBlockedReg()
2949 LifetimePosition block_pos[RegisterConfiguration::kMaxFPRegisters]; in AllocateBlockedReg()
2951 use_pos[i] = block_pos[i] = LifetimePosition::MaxPosition(); in AllocateBlockedReg()
2961 LifetimePosition::GapFromInstructionIndex(0); in AllocateBlockedReg()
2980 LifetimePosition::GapFromInstructionIndex(0); in AllocateBlockedReg()
2996 LifetimePosition next_intersection = range->FirstIntersection(current); in AllocateBlockedReg()
3034 LifetimePosition pos = use_pos[reg]; in AllocateBlockedReg()
3037 if (LifetimePosition::ExistsGapPositionBetween(current->Start(), in AllocateBlockedReg()
3071 LifetimePosition split_pos = current->Start(); in SplitAndSpillIntersecting()
3085 LifetimePosition spill_pos = FindOptimalSpillingPos(range, split_pos); in SplitAndSpillIntersecting()
3097 DCHECK(LifetimePosition::ExistsGapPositionBetween(current->Start(), in SplitAndSpillIntersecting()
3118 LifetimePosition next_intersection = range->FirstIntersection(current); in SplitAndSpillIntersecting()
3151 LifetimePosition pred_end = in TryReuseSpillForPhi()
3152 LifetimePosition::InstructionFromInstructionIndex( in TryReuseSpillForPhi()
3195 LifetimePosition next_pos = range->Start(); in TryReuseSpillForPhi()
3222 void LinearScanAllocator::SpillAfter(LiveRange* range, LifetimePosition pos) { in SpillAfter()
3228 void LinearScanAllocator::SpillBetween(LiveRange* range, LifetimePosition start, in SpillBetween()
3229 LifetimePosition end) { in SpillBetween()
3235 LifetimePosition start, in SpillBetweenUntil()
3236 LifetimePosition until, in SpillBetweenUntil()
3237 LifetimePosition end) { in SpillBetweenUntil()
3245 LifetimePosition third_part_end = end.PrevStart().End(); in SpillBetweenUntil()
3396 LifetimePosition this_end = cur->End(); in PopulateReferenceMaps()
3439 LifetimePosition safe_point_pos = in PopulateReferenceMaps()
3440 LifetimePosition::InstructionFromInstructionIndex(safe_point); in PopulateReferenceMaps()
3533 LifetimePosition block_start = in ResolveControlFlow()
3534 LifetimePosition::GapFromInstructionIndex(block->code_start()); in ResolveControlFlow()
3535 LifetimePosition block_end = in ResolveControlFlow()
3536 LifetimePosition::GapFromInstructionIndex(block->code_end()); in ResolveControlFlow()
3616 LifetimePosition pos = second_range->Start(); in ConnectRanges()
3753 LifetimePosition pred_end = in CommitSpillsInDeferredBlocks()
3754 LifetimePosition::InstructionFromInstructionIndex( in CommitSpillsInDeferredBlocks()