Searched refs:LifetimePosition (Results 1 – 13 of 13) sorted by relevance
/external/v8/src/crankshaft/ |
D | lithium-allocator.h | 36 class LifetimePosition { 40 static LifetimePosition FromInstructionIndex(int index) { in FromInstructionIndex() 41 return LifetimePosition(index * kStep); in FromInstructionIndex() 64 LifetimePosition InstructionStart() const { in InstructionStart() 66 return LifetimePosition(value_ & ~(kStep - 1)); in InstructionStart() 71 LifetimePosition InstructionEnd() const { in InstructionEnd() 73 return LifetimePosition(InstructionStart().Value() + kStep/2); in InstructionEnd() 77 LifetimePosition NextInstruction() const { in NextInstruction() 79 return LifetimePosition(InstructionStart().Value() + kStep); in NextInstruction() 84 LifetimePosition PrevInstruction() const { in PrevInstruction() [all …]
|
D | lithium-allocator.cc | 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() [all …]
|
D | hydrogen.cc | 13359 LifetimePosition::FromInstructionIndex(first_index).Value()); in Trace() 13362 LifetimePosition::FromInstructionIndex(last_index).Value()); in Trace() 13412 LifetimePosition::FromInstructionIndex(i).Value()); in Trace()
|
/external/v8/src/compiler/ |
D | register-allocator.h | 36 class LifetimePosition final { 40 static LifetimePosition GapFromInstructionIndex(int index) { in GapFromInstructionIndex() 41 return LifetimePosition(index * kStep); in GapFromInstructionIndex() 45 static LifetimePosition InstructionFromInstructionIndex(int index) { in InstructionFromInstructionIndex() 46 return LifetimePosition(index * kStep + kHalfStep); in InstructionFromInstructionIndex() 70 LifetimePosition Start() const { in Start() 72 return LifetimePosition(value_ & ~(kHalfStep - 1)); in Start() 76 LifetimePosition FullStart() const { in FullStart() 78 return LifetimePosition(value_ & ~(kStep - 1)); in FullStart() 82 LifetimePosition End() const { in End() [all …]
|
D | coalesced-live-ranges.h | 18 AllocatedInterval(LifetimePosition start, LifetimePosition end, in AllocatedInterval() 22 LifetimePosition start_; 23 LifetimePosition end_; 81 static AllocatedInterval AsAllocatedInterval(LifetimePosition pos) { in AsAllocatedInterval() 82 return AllocatedInterval(pos, LifetimePosition::Invalid(), nullptr); in AsAllocatedInterval() 86 static bool Intersects(LifetimePosition a_start, LifetimePosition a_end, in Intersects() 87 LifetimePosition b_start, LifetimePosition b_end) { in Intersects()
|
D | live-range-separator.cc | 23 LifetimePosition first_cut, LifetimePosition last_cut) { in CreateSplinter() 30 LifetimePosition max_allowed_end = last_cut.NextFullStart(); in CreateSplinter() 36 LifetimePosition start = Max(first_cut, range->Start()); in CreateSplinter() 37 LifetimePosition end = Min(last_cut, range->End()); in CreateSplinter() 66 LifetimePosition first_cut = LifetimePosition::Invalid(); in SplinterLiveRange() 67 LifetimePosition last_cut = LifetimePosition::Invalid(); in SplinterLiveRange() 82 first_cut = LifetimePosition::GapFromInstructionIndex( in SplinterLiveRange() 85 last_cut = LifetimePosition::GapFromInstructionIndex( in SplinterLiveRange() 90 first_cut = LifetimePosition::Invalid(); in SplinterLiveRange() 91 last_cut = LifetimePosition::Invalid(); in SplinterLiveRange()
|
D | register-allocator.cc | 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() [all …]
|
D | greedy-allocator.cc | 42 LifetimePosition pos) { in Split() 478 LifetimePosition start = range->Start(); in SpillRangeAsLastResort() 491 LifetimePosition start = interval->start(); in GetRemainderAfterSplittingAroundFirstCall() 492 LifetimePosition end = interval->end(); in GetRemainderAfterSplittingAroundFirstCall() 508 LifetimePosition before = in GetRemainderAfterSplittingAroundFirstCall() 515 LifetimePosition after = in GetRemainderAfterSplittingAroundFirstCall() 557 LifetimePosition GreedyAllocator::FindSplitPositionAfterCall( in FindSplitPositionAfterCall() 559 LifetimePosition after_call = in FindSplitPositionAfterCall() 561 LifetimePosition::GapFromInstructionIndex(call_index + 1)); in FindSplitPositionAfterCall() 563 if (!next_use) return LifetimePosition::Invalid(); in FindSplitPositionAfterCall() [all …]
|
D | coalesced-live-ranges.cc | 32 LifetimePosition q_start = query_->start(); in MovePosToFirstConflictForQuery() 33 LifetimePosition q_end = query_->end(); in MovePosToFirstConflictForQuery() 130 LifetimePosition last_end = LifetimePosition::GapFromInstructionIndex(0); in VerifyAllocationsAreValidForTesting()
|
D | greedy-allocator.h | 156 LifetimePosition FindSplitPositionAfterCall(const LiveRange* range, 163 LifetimePosition FindSplitPositionBeforeLoops(LiveRange* range); 180 LifetimePosition GetLastResortSplitPosition(const LiveRange* range);
|
D | graph-visualizer.cc | 414 LifetimePosition::GapFromInstructionIndex(first_index).value()); in PrintSchedule() 416 LifetimePosition::InstructionFromInstructionIndex( in PrintSchedule()
|
/external/v8/test/unittests/compiler/ |
D | live-range-builder.h | 48 LifetimePosition start = LifetimePosition::FromInt(pair.first); in Build() 49 LifetimePosition end = LifetimePosition::FromInt(pair.second); in Build() 55 new (zone_) UsePosition(LifetimePosition::FromInt(pos), nullptr, in Build()
|
D | live-range-unittest.cc | 29 return range->SplitAt(LifetimePosition::FromInt(pos), zone()); in Split() 40 top->Splinter(LifetimePosition::FromInt(start), in Splinter() 41 LifetimePosition::FromInt(end), zone()); in Splinter() 79 range->AddUseInterval(LifetimePosition::FromInt(0), in TEST_F() 80 LifetimePosition::FromInt(0), zone()), in TEST_F() 442 vreg->Splinter(LifetimePosition::FromInt(4), LifetimePosition::FromInt(12), in TEST_F() 448 LiveRange* child = vreg->SplitAt(LifetimePosition::FromInt(50), zone()); in TEST_F() 453 splinter->SplitAt(LifetimePosition::FromInt(8), zone()); in TEST_F()
|