Home
last modified time | relevance | path

Searched refs:interval (Results 1 – 16 of 16) sorted by relevance

/art/compiler/optimizing/
Dlive_interval_test.cc31 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator); in TEST() local
32 ASSERT_EQ(0u, interval->GetStart()); in TEST()
37 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator); in TEST() local
38 ASSERT_EQ(4u, interval->GetStart()); in TEST()
48 LiveInterval* interval = BuildInterval(ranges, arraysize(ranges), &allocator); in TEST() local
49 ASSERT_TRUE(interval->IsDeadAt(42)); in TEST()
50 ASSERT_TRUE(interval->IsDeadAt(43)); in TEST()
51 ASSERT_FALSE(interval->IsDeadAt(41)); in TEST()
52 ASSERT_FALSE(interval->IsDeadAt(0)); in TEST()
53 ASSERT_FALSE(interval->IsDeadAt(22)); in TEST()
[all …]
Dlive_ranges_test.cc65 LiveInterval* interval = liveness.GetInstructionFromSsaIndex(0)->GetLiveInterval(); in TEST() local
66 LiveRange* range = interval->GetFirstRange(); in TEST()
111 LiveInterval* interval = liveness.GetInstructionFromSsaIndex(0)->GetLiveInterval(); in TEST() local
112 LiveRange* range = interval->GetFirstRange(); in TEST()
161 LiveInterval* interval = liveness.GetInstructionFromSsaIndex(1)->GetLiveInterval(); in TEST() local
162 LiveRange* range = interval->GetFirstRange(); in TEST()
170 interval = liveness.GetInstructionFromSsaIndex(0)->GetLiveInterval(); in TEST()
173 range = interval->GetFirstRange(); in TEST()
185 interval = liveness.GetInstructionFromSsaIndex(2)->GetLiveInterval(); in TEST()
186 range = interval->GetFirstRange(); in TEST()
[all …]
Dregister_allocator.cc66 static bool ShouldProcess(bool processing_core_registers, LiveInterval* interval) { in ShouldProcess() argument
67 bool is_core_register = (interval->GetType() != Primitive::kPrimDouble) in ShouldProcess()
68 && (interval->GetType() != Primitive::kPrimFloat); in ShouldProcess()
93 LiveInterval* interval = physical_register_intervals_.Get(reg); in BlockRegister() local
94 if (interval == nullptr) { in BlockRegister()
95 interval = LiveInterval::MakeFixedInterval(allocator_, reg, type); in BlockRegister()
96 physical_register_intervals_.Put(reg, interval); in BlockRegister()
97 inactive_.Add(interval); in BlockRegister()
99 DCHECK(interval->GetRegister() == reg); in BlockRegister()
100 interval->AddRange(start, end); in BlockRegister()
[all …]
Dregister_allocator.h82 bool TryAllocateFreeReg(LiveInterval* interval);
83 bool AllocateBlockedReg(LiveInterval* interval);
87 void AddToUnhandled(LiveInterval* interval);
90 LiveInterval* Split(LiveInterval* interval, size_t at);
99 void AllocateSpillSlotFor(LiveInterval* interval);
100 void AllocateOneSpillSlot(LiveInterval* interval, size_t end);
101 void AllocateTwoSpillSlots(LiveInterval* interval, size_t end);
104 void ConnectSiblings(LiveInterval* interval);
107 void ConnectSplitSiblings(LiveInterval* interval, HBasicBlock* from, HBasicBlock* to) const;
119 void DumpInterval(std::ostream& stream, LiveInterval* interval) const;
Doptimizing_unit_test.h43 LiveInterval* interval = new (allocator) LiveInterval(allocator, Primitive::kPrimInt); variable
45 interval->AddRange(ranges[i - 1][0], ranges[i - 1][1]);
47 interval->SetRegister(reg);
48 return interval;
Dregister_allocator_test.cc339 LiveInterval* interval = first_add->GetLiveInterval(); in TEST() local
340 ASSERT_EQ(interval->GetEnd(), last_add->GetLifetimePosition() + 1); in TEST()
341 ASSERT_TRUE(interval->GetNextSibling() == nullptr); in TEST()
344 ASSERT_EQ(interval->FirstRegisterUse(), first_add->GetLifetimePosition()); in TEST()
347 interval = interval->SplitAt(first_add->GetLifetimePosition() + 2); in TEST()
349 ASSERT_EQ(interval->FirstRegisterUse(), last_add->GetLifetimePosition() + 1); in TEST()
352 LiveInterval* new_interval = interval->SplitAt(last_add->GetLifetimePosition() - 1); in TEST()
354 ASSERT_EQ(interval->FirstRegisterUse(), kNoLifetime); in TEST()
Dssa_liveness_analysis.cc235 LiveInterval* interval = current->GetLiveInterval(); in ComputeLiveRanges() local
236 DCHECK((interval->GetFirstRange() == nullptr) in ComputeLiveRanges()
237 || (interval->GetStart() == current->GetLifetimePosition())); in ComputeLiveRanges()
238 interval->SetFrom(current->GetLifetimePosition()); in ComputeLiveRanges()
Dssa_liveness_analysis.h150 LiveInterval* interval = new (allocator) LiveInterval(allocator, type); in MakeFixedInterval() local
151 interval->SetRegister(reg); in MakeFixedInterval()
152 interval->is_fixed_ = true; in MakeFixedInterval()
153 return interval; in MakeFixedInterval()
Dgraph_visualizer.cc151 const LiveInterval& interval = *instruction->GetLiveInterval(); in VisitInstruction() local
152 interval.Dump(output_); in VisitInstruction()
Dnodes.h575 void SetLiveInterval(LiveInterval* interval) { live_interval_ = interval; } in SetLiveInterval() argument
/art/runtime/base/
Dhistogram-inl.h165 inline void Histogram<Value>::PrintConfidenceIntervals(std::ostream &os, double interval, in PrintConfidenceIntervals() argument
168 DCHECK_GT(interval, 0); in PrintConfidenceIntervals()
169 DCHECK_LT(interval, 1.0); in PrintConfidenceIntervals()
170 const double per_0 = (1.0 - interval) / 2.0; in PrintConfidenceIntervals()
171 const double per_1 = per_0 + interval; in PrintConfidenceIntervals()
174 << (interval * 100) << "% C.I. " << FormatDuration(Percentile(per_0, data) * kAdjust, unit, in PrintConfidenceIntervals()
Dhistogram.h60 void PrintConfidenceIntervals(std::ostream& os, double interval,
/art/test/099-vmdebug/
Dexpected.txt18 Test sampling with bogus (<= 0) interval
/art/runtime/arch/arm/
Dportable_entrypoints_arm.S43 mov r4, #SUSPEND_CHECK_INTERVAL @ reset r4 to suspend check interval
Dquick_entrypoints_arm.S309 mov r4, #SUSPEND_CHECK_INTERVAL @ reset r4 to suspend check interval
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S497 addiu $s0, $zero, SUSPEND_CHECK_INTERVAL # reset s0 to suspend check interval