Home
last modified time | relevance | path

Searched refs:LifetimePosition (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/crankshaft/
Dlithium-allocator.h38 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 …]
Dlithium-allocator.cc19 static inline LifetimePosition Min(LifetimePosition a, LifetimePosition b) { in Min()
24 static inline LifetimePosition Max(LifetimePosition a, LifetimePosition b) { in Max()
29 UsePosition::UsePosition(LifetimePosition pos, in UsePosition()
63 void UseInterval::SplitAt(LifetimePosition pos, Zone* zone) { in SplitAt()
149 UsePosition* LiveRange::NextUsePosition(LifetimePosition start) { in NextUsePosition()
161 LifetimePosition start) { in NextUsePositionRegisterIsBeneficial()
171 LifetimePosition start) { in PreviousUsePositionRegisterIsBeneficial()
182 UsePosition* LiveRange::NextRegisterPosition(LifetimePosition start) { in NextRegisterPosition()
191 bool LiveRange::CanBeSpilled(LifetimePosition pos) { in CanBeSpilled()
229 LifetimePosition position) const { in FirstSearchIntervalForPosition()
[all …]
Dhydrogen.cc12824 LifetimePosition::FromInstructionIndex(first_index).Value()); in Trace()
12827 LifetimePosition::FromInstructionIndex(last_index).Value()); in Trace()
12876 LifetimePosition::FromInstructionIndex(i).Value()); in Trace()
/external/v8/src/compiler/
Dregister-allocator.h34 class LifetimePosition final {
38 static LifetimePosition GapFromInstructionIndex(int index) { in GapFromInstructionIndex()
39 return LifetimePosition(index * kStep); in GapFromInstructionIndex()
43 static LifetimePosition InstructionFromInstructionIndex(int index) { in InstructionFromInstructionIndex()
44 return LifetimePosition(index * kStep + kHalfStep); in InstructionFromInstructionIndex()
47 static bool ExistsGapPositionBetween(LifetimePosition pos1, in ExistsGapPositionBetween()
48 LifetimePosition pos2) { in ExistsGapPositionBetween()
50 LifetimePosition next(pos1.value_ + 1); in ExistsGapPositionBetween()
76 LifetimePosition Start() const { in Start()
78 return LifetimePosition(value_ & ~(kHalfStep - 1)); in Start()
[all …]
Dlive-range-separator.cc23 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()
75 LifetimePosition first_cut = LifetimePosition::Invalid(); in SplinterLiveRange()
76 LifetimePosition last_cut = LifetimePosition::Invalid(); in SplinterLiveRange()
91 first_cut = LifetimePosition::GapFromInstructionIndex( in SplinterLiveRange()
94 last_cut = LifetimePosition::GapFromInstructionIndex( in SplinterLiveRange()
99 first_cut = LifetimePosition::Invalid(); in SplinterLiveRange()
100 last_cut = LifetimePosition::Invalid(); in SplinterLiveRange()
Dregister-allocator.cc62 LifetimePosition pos) { in GetInstructionBlock()
109 bool CanCover(LifetimePosition position) { in CanCover()
114 const LifetimePosition start_;
115 const LifetimePosition end_;
148 LiveRangeBound* Find(const LifetimePosition position) const { in Find()
166 LifetimePosition pred_end = in FindPred()
167 LifetimePosition::InstructionFromInstructionIndex( in FindPred()
173 LifetimePosition succ_start = LifetimePosition::GapFromInstructionIndex( in FindSucc()
181 LifetimePosition pred_end = in FindConnectableSubranges()
182 LifetimePosition::InstructionFromInstructionIndex( in FindConnectableSubranges()
[all …]
Dgraph-visualizer.cc460 LifetimePosition::GapFromInstructionIndex(first_index).value()); in PrintSchedule()
462 LifetimePosition::InstructionFromInstructionIndex( in PrintSchedule()