Searched refs:LifetimePosition (Results 1 – 9 of 9) sorted by relevance
/external/v8/src/crankshaft/ |
D | lithium-allocator.h | 38 class LifetimePosition { 42 static LifetimePosition FromInstructionIndex(int index) { in FromInstructionIndex() 43 return LifetimePosition(index * kStep); in FromInstructionIndex() 66 LifetimePosition InstructionStart() const { in InstructionStart() 68 return LifetimePosition(value_ & ~(kStep - 1)); in InstructionStart() 73 LifetimePosition InstructionEnd() const { in InstructionEnd() 75 return LifetimePosition(InstructionStart().Value() + kStep/2); in InstructionEnd() 79 LifetimePosition NextInstruction() const { in NextInstruction() 81 return LifetimePosition(InstructionStart().Value() + kStep); in NextInstruction() 86 LifetimePosition PrevInstruction() const { in PrevInstruction() [all …]
|
D | lithium-allocator.cc | 18 static inline LifetimePosition Min(LifetimePosition a, LifetimePosition b) { in Min() 23 static inline LifetimePosition Max(LifetimePosition a, LifetimePosition b) { in Max() 28 UsePosition::UsePosition(LifetimePosition pos, in UsePosition() 62 void UseInterval::SplitAt(LifetimePosition pos, Zone* zone) { in SplitAt() 148 UsePosition* LiveRange::NextUsePosition(LifetimePosition start) { in NextUsePosition() 160 LifetimePosition start) { in NextUsePositionRegisterIsBeneficial() 170 LifetimePosition start) { in PreviousUsePositionRegisterIsBeneficial() 181 UsePosition* LiveRange::NextRegisterPosition(LifetimePosition start) { in NextRegisterPosition() 190 bool LiveRange::CanBeSpilled(LifetimePosition pos) { in CanBeSpilled() 228 LifetimePosition position) const { in FirstSearchIntervalForPosition() [all …]
|
D | hydrogen.cc | 13460 LifetimePosition::FromInstructionIndex(first_index).Value()); in Trace() 13463 LifetimePosition::FromInstructionIndex(last_index).Value()); in Trace() 13513 LifetimePosition::FromInstructionIndex(i).Value()); in Trace()
|
/external/v8/src/compiler/ |
D | register-allocator.h | 32 class LifetimePosition final { 36 static LifetimePosition GapFromInstructionIndex(int index) { in GapFromInstructionIndex() 37 return LifetimePosition(index * kStep); in GapFromInstructionIndex() 41 static LifetimePosition InstructionFromInstructionIndex(int index) { in InstructionFromInstructionIndex() 42 return LifetimePosition(index * kStep + kHalfStep); in InstructionFromInstructionIndex() 45 static bool ExistsGapPositionBetween(LifetimePosition pos1, in ExistsGapPositionBetween() 46 LifetimePosition pos2) { in ExistsGapPositionBetween() 48 LifetimePosition next(pos1.value_ + 1); in ExistsGapPositionBetween() 74 LifetimePosition Start() const { in Start() 76 return LifetimePosition(value_ & ~(kHalfStep - 1)); in Start() [all …]
|
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 | 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() [all …]
|
D | graph-visualizer.cc | 438 LifetimePosition::GapFromInstructionIndex(first_index).value()); in PrintSchedule() 440 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()
|