Lines Matching refs:LifetimePosition

59                                             LifetimePosition pos) {  in GetInstructionBlock()
117 UsePosition::UsePosition(LifetimePosition pos, InstructionOperand* operand, in UsePosition()
226 UseInterval* UseInterval::SplitAt(LifetimePosition pos, Zone* zone) { in SplitAt()
236 void LifetimePosition::Print() const { in Print()
242 std::ostream& operator<<(std::ostream& os, const LifetimePosition pos) { in operator <<()
301 LifetimePosition last_end = first_interval()->end(); in VerifyIntervals()
345 UsePosition* LiveRange::NextUsePosition(LifetimePosition start) const { in NextUsePosition()
359 LifetimePosition start) const { in NextUsePositionRegisterIsBeneficial()
369 LifetimePosition start) const { in PreviousUsePositionRegisterIsBeneficial()
380 UsePosition* LiveRange::NextRegisterPosition(LifetimePosition start) const { in NextRegisterPosition()
389 UsePosition* LiveRange::NextSlotPosition(LifetimePosition start) const { in NextSlotPosition()
399 bool LiveRange::CanBeSpilled(LifetimePosition pos) const { in CanBeSpilled()
429 LifetimePosition position) const { in FirstSearchIntervalForPosition()
440 UseInterval* to_start_of, LifetimePosition but_not_past) const { in AdvanceLastProcessedMarker()
443 LifetimePosition start = current_interval_ == nullptr in AdvanceLastProcessedMarker()
444 ? LifetimePosition::Invalid() in AdvanceLastProcessedMarker()
452 LiveRange* LiveRange::SplitAt(LifetimePosition position, Zone* zone) { in SplitAt()
464 UsePosition* LiveRange::DetachAt(LifetimePosition position, LiveRange* result, in DetachAt()
591 LifetimePosition start = Start(); in ShouldBeAllocatedBefore()
592 LifetimePosition other_start = other->Start(); in ShouldBeAllocatedBefore()
619 bool LiveRange::CanCover(LifetimePosition position) const { in CanCover()
625 bool LiveRange::Covers(LifetimePosition position) const { in Covers()
640 LifetimePosition LiveRange::FirstIntersection(LiveRange* other) const { in FirstIntersection()
642 if (b == nullptr) return LifetimePosition::Invalid(); in FirstIntersection()
643 LifetimePosition advance_last_processed_up_to = b->start(); in FirstIntersection()
648 LifetimePosition cur_intersection = a->Intersect(b); in FirstIntersection()
660 return LifetimePosition::Invalid(); in FirstIntersection()
830 void TopLevelLiveRange::Splinter(LifetimePosition start, LifetimePosition end, in Splinter()
981 LifetimePosition last_end = End(); in VerifyChildrenInOrder()
998 void TopLevelLiveRange::ShortenTo(LifetimePosition start) { in ShortenTo()
1007 void TopLevelLiveRange::EnsureInterval(LifetimePosition start, in EnsureInterval()
1008 LifetimePosition end, Zone* zone) { in EnsureInterval()
1011 LifetimePosition new_end = end; in EnsureInterval()
1028 void TopLevelLiveRange::AddUseInterval(LifetimePosition start, in AddUseInterval()
1029 LifetimePosition end, Zone* zone) { in AddUseInterval()
1056 LifetimePosition pos = use_pos->pos(); in AddUsePosition()
1187 LifetimePosition max = LifetimePosition::MaxPosition(); in TryMerge()
1482 bool RegisterAllocationData::IsBlockBoundary(LifetimePosition pos) const { in IsBlockBoundary()
1781 LifetimePosition start = LifetimePosition::GapFromInstructionIndex( in AddInitialIntervals()
1783 LifetimePosition end = LifetimePosition::InstructionFromInstructionIndex( in AddInitialIntervals()
1850 UsePosition* LiveRangeBuilder::NewUsePosition(LifetimePosition pos, in NewUsePosition()
1858 UsePosition* LiveRangeBuilder::Define(LifetimePosition position, in Define()
1880 UsePosition* LiveRangeBuilder::Use(LifetimePosition block_start, in Use()
1881 LifetimePosition position, in Use()
1900 LifetimePosition block_start_position = in ProcessInstructions()
1901 LifetimePosition::GapFromInstructionIndex(block_start); in ProcessInstructions()
1905 LifetimePosition curr_position = in ProcessInstructions()
1906 LifetimePosition::InstructionFromInstructionIndex(index); in ProcessInstructions()
1930 Define(LifetimePosition::GapFromInstructionIndex(index), output); in ProcessInstructions()
1964 LifetimePosition use_pos; in ProcessInstructions()
2088 LifetimePosition block_start = LifetimePosition::GapFromInstructionIndex( in ProcessPhis()
2103 LifetimePosition start = LifetimePosition::GapFromInstructionIndex( in ProcessLoopHeader()
2105 LifetimePosition end = LifetimePosition::GapFromInstructionIndex( in ProcessLoopHeader()
2219 LifetimePosition RegisterAllocator::GetSplitPositionForInstruction( in GetSplitPositionForInstruction()
2221 LifetimePosition ret = LifetimePosition::Invalid(); in GetSplitPositionForInstruction()
2223 ret = LifetimePosition::GapFromInstructionIndex(instruction_index); in GetSplitPositionForInstruction()
2225 return LifetimePosition::Invalid(); in GetSplitPositionForInstruction()
2241 LifetimePosition start = range->Start(); in SplitAndSpillRangesDefinedByMemoryOperand()
2244 LifetimePosition next_pos = start; in SplitAndSpillRangesDefinedByMemoryOperand()
2256 LifetimePosition split_pos = GetSplitPositionForInstruction( in SplitAndSpillRangesDefinedByMemoryOperand()
2272 LifetimePosition pos) { in SplitRangeAt()
2291 LifetimePosition start, in SplitBetween()
2292 LifetimePosition end) { in SplitBetween()
2298 LifetimePosition split_pos = FindOptimalSplitPos(start, end); in SplitBetween()
2304 LifetimePosition RegisterAllocator::FindOptimalSplitPos(LifetimePosition start, in FindOptimalSplitPos()
2305 LifetimePosition end) { in FindOptimalSplitPos()
2335 return LifetimePosition::GapFromInstructionIndex( in FindOptimalSplitPos()
2340 LifetimePosition RegisterAllocator::FindOptimalSpillingPos( in FindOptimalSpillingPos()
2341 LiveRange* range, LifetimePosition pos) { in FindOptimalSpillingPos()
2355 LifetimePosition loop_start = LifetimePosition::GapFromInstructionIndex( in FindOptimalSpillingPos()
2451 LifetimePosition position = current->Start(); in AllocateRegisters()
2610 LifetimePosition free_until_pos[RegisterConfiguration::kMaxDoubleRegisters]; in TryAllocateFreeReg()
2613 free_until_pos[i] = LifetimePosition::MaxPosition(); in TryAllocateFreeReg()
2618 LifetimePosition::GapFromInstructionIndex(0); in TryAllocateFreeReg()
2621 LifetimePosition::GapFromInstructionIndex(0).value()); in TryAllocateFreeReg()
2626 LifetimePosition next_intersection = in TryAllocateFreeReg()
2662 LifetimePosition pos = free_until_pos[reg]; in TryAllocateFreeReg()
2696 LifetimePosition use_pos[RegisterConfiguration::kMaxDoubleRegisters]; in AllocateBlockedReg()
2697 LifetimePosition block_pos[RegisterConfiguration::kMaxDoubleRegisters]; in AllocateBlockedReg()
2700 use_pos[i] = block_pos[i] = LifetimePosition::MaxPosition(); in AllocateBlockedReg()
2708 LifetimePosition::GapFromInstructionIndex(0); in AllocateBlockedReg()
2722 LifetimePosition next_intersection = range->FirstIntersection(current); in AllocateBlockedReg()
2741 LifetimePosition pos = use_pos[reg]; in AllocateBlockedReg()
2774 LifetimePosition split_pos = current->Start(); in SplitAndSpillIntersecting()
2779 LifetimePosition spill_pos = FindOptimalSpillingPos(range, split_pos); in SplitAndSpillIntersecting()
2802 LifetimePosition next_intersection = range->FirstIntersection(current); in SplitAndSpillIntersecting()
2836 LifetimePosition pred_end = in TryReuseSpillForPhi()
2837 LifetimePosition::InstructionFromInstructionIndex( in TryReuseSpillForPhi()
2880 LifetimePosition next_pos = range->Start(); in TryReuseSpillForPhi()
2907 void LinearScanAllocator::SpillAfter(LiveRange* range, LifetimePosition pos) { in SpillAfter()
2913 void LinearScanAllocator::SpillBetween(LiveRange* range, LifetimePosition start, in SpillBetween()
2914 LifetimePosition end) { in SpillBetween()
2920 LifetimePosition start, in SpillBetweenUntil()
2921 LifetimePosition until, in SpillBetweenUntil()
2922 LifetimePosition end) { in SpillBetweenUntil()
2930 LifetimePosition third_part_end = end.PrevStart().End(); in SpillBetweenUntil()
3091 LifetimePosition this_end = cur->End(); in PopulateReferenceMaps()
3134 LifetimePosition safe_point_pos = in PopulateReferenceMaps()
3135 LifetimePosition::InstructionFromInstructionIndex(safe_point); in PopulateReferenceMaps()
3200 bool CanCover(LifetimePosition position) { in CanCover()
3205 const LifetimePosition start_;
3206 const LifetimePosition end_;
3240 LiveRangeBound* Find(const LifetimePosition position) const { in Find()
3258 LifetimePosition pred_end = in FindPred()
3259 LifetimePosition::InstructionFromInstructionIndex( in FindPred()
3265 LifetimePosition succ_start = LifetimePosition::GapFromInstructionIndex( in FindSucc()
3273 LifetimePosition pred_end = in FindConnectableSubranges()
3274 LifetimePosition::InstructionFromInstructionIndex( in FindConnectableSubranges()
3278 LifetimePosition cur_start = LifetimePosition::GapFromInstructionIndex( in FindConnectableSubranges()
3430 LifetimePosition pos = second_range->Start(); in ConnectRanges()