Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 86) sorted by relevance

1234

/art/tools/ahat/src/main/com/android/ahat/heapdump/
DDiffedFieldValue.java39 public final Value current; field in DiffedFieldValue
81 public static DiffedFieldValue matched(FieldValue current, FieldValue baseline) { in matched() argument
82 return new DiffedFieldValue(current.name, in matched()
83 current.type, in matched()
84 current.value, in matched()
95 public static DiffedFieldValue added(FieldValue current) { in added() argument
96 return new DiffedFieldValue(current.name, current.type, current.value, null, Status.ADDED); in added()
109 private DiffedFieldValue(String name, Type type, Value current, Value baseline, Status status) { in DiffedFieldValue() argument
112 this.current = current; in DiffedFieldValue()
118 return Objects.hash(name, type, current, baseline, status); in hashCode()
[all …]
/art/compiler/optimizing/
Dssa_liveness_analysis.cc52 HInstruction* current = inst_it.Current(); in NumberInstructions() local
53 codegen_->AllocateLocations(current); in NumberInstructions()
54 LocationSummary* locations = current->GetLocations(); in NumberInstructions()
56 instructions_from_ssa_index_.push_back(current); in NumberInstructions()
57 current->SetSsaIndex(ssa_index++); in NumberInstructions()
58 current->SetLiveInterval( in NumberInstructions()
59 LiveInterval::MakeInterval(allocator_, current->GetType(), current)); in NumberInstructions()
61 current->SetLifetimePosition(lifetime_position); in NumberInstructions()
70 HInstruction* current = inst_it.Current(); in NumberInstructions() local
71 codegen_->AllocateLocations(current); in NumberInstructions()
[all …]
Dregister_allocator_linear_scan.cc300 LiveInterval* current = instruction->GetLiveInterval(); in ProcessInstruction() local
301 if (current == nullptr) return; in ProcessInstruction()
307 DCHECK(unhandled.empty() || current->StartsBeforeOrAt(unhandled.back())); in ProcessInstruction()
309 if (codegen_->NeedsTwoRegisters(current->GetType())) { in ProcessInstruction()
310 current->AddHighInterval(); in ProcessInstruction()
321 if (safepoint_position == current->GetStart()) { in ProcessInstruction()
327 } else if (current->IsDeadAt(safepoint_position)) { in ProcessInstruction()
329 } else if (!current->Covers(safepoint_position)) { in ProcessInstruction()
333 current->AddSafepoint(safepoint); in ProcessInstruction()
335 current->ResetSearchCache(); in ProcessInstruction()
[all …]
Dssa_phi_elimination.cc96 HInstruction* current = block->GetFirstPhi(); in EliminateDeadPhis() local
99 while (current != nullptr) { in EliminateDeadPhis()
100 phi = current->AsPhi(); in EliminateDeadPhis()
101 next = current->GetNext(); in EliminateDeadPhis()
121 current = next; in EliminateDeadPhis()
191 HPhi* current = cycle_worklist[i]; in Run() local
192 DCHECK(!current->IsLoopHeaderPhi() || in Run()
193 current->GetBlock()->IsLoopPreHeaderFirstPredecessor()); in Run()
195 for (HInstruction* input : current->GetInputs()) { in Run()
196 if (input == current) { in Run()
[all …]
Dregister_allocation_resolver.cc60 LiveInterval* current = instruction->GetLiveInterval(); in Resolve() local
67 current->SetSpillSlot(location.GetStackIndex()); in Resolve()
71 current->SetSpillSlot(location.GetStackIndex()); in Resolve()
73 } else if (current->HasSpillSlot()) { in Resolve()
74 current->SetSpillSlot(current->GetSpillSlot() + codegen_->GetFrameSize()); in Resolve()
78 DCHECK(!current->HasSpillSlot() || (current->GetSpillSlot() == 0)); in Resolve()
80 DCHECK(current->HasSpillSlot()); in Resolve()
81 size_t slot = current->GetSpillSlot() in Resolve()
85 current->SetSpillSlot(slot * kVRegSize); in Resolve()
86 } else if (current->HasSpillSlot()) { in Resolve()
[all …]
Dregister_allocator.cc129 LiveInterval* current = it.CurrentInterval(); in ValidateIntervals() local
130 HInstruction* defined_by = current->GetParent()->GetDefinedBy(); in ValidateIntervals()
131 if (current->GetParent()->HasSpillSlot() in ValidateIntervals()
136 + current->GetParent()->GetSpillSlot() / kVRegSize in ValidateIntervals()
153 if (current->HasRegister()) { in ValidateIntervals()
154 if (kIsDebugBuild && log_fatal_on_failure && !current->IsFixed()) { in ValidateIntervals()
157 CHECK(codegen.HasAllocatedRegister(processing_core_registers, current->GetRegister())); in ValidateIntervals()
159 BitVector* liveness_of_register = liveness_of_values[current->GetRegister()]; in ValidateIntervals()
162 if (current->IsUsingInputRegister() && current->CanUseInputRegister()) { in ValidateIntervals()
173 codegen.DumpCoreRegister(message, current->GetRegister()); in ValidateIntervals()
[all …]
Dgvn.cc473 HInstruction* current = block->GetFirstInstruction(); in VisitBasicBlock() local
474 while (current != nullptr) { in VisitBasicBlock()
476 HInstruction* next = current->GetNext(); in VisitBasicBlock()
482 if (current->CanBeMoved() || current->IsBoundType()) { in VisitBasicBlock()
483 if (current->IsBinaryOperation() && current->AsBinaryOperation()->IsCommutative()) { in VisitBasicBlock()
486 current->AsBinaryOperation()->OrderInputs(); in VisitBasicBlock()
488 HInstruction* existing = set->Lookup(current); in VisitBasicBlock()
494 current->ReplaceWith(existing); in VisitBasicBlock()
495 current->GetBlock()->RemoveInstruction(current); in VisitBasicBlock()
497 set->Kill(current->GetSideEffects()); in VisitBasicBlock()
[all …]
Dlinear_order.cc45 HBasicBlock* current = *insert_pos; in AddToListForLinearization() local
46 HLoopInformation* current_loop = current->GetLoopInformation(); in AddToListForLinearization()
115 HBasicBlock* current = worklist.back(); in LinearizeGraphInternal() local
117 linear_order[num_added] = current; in LinearizeGraphInternal()
119 for (HBasicBlock* successor : current->GetSuccessors()) { in LinearizeGraphInternal()
Dssa_liveness_analysis.h512 size_t FirstIntersectionWith(LiveInterval* current) const { in FirstIntersectionWith() argument
515 DCHECK(GetStart() <= current->GetStart() || IsFixed()); in FirstIntersectionWith()
516 LiveRange* other_range = current->first_range_; in FirstIntersectionWith()
682 LiveRange* current = first_range_; in SplitAt() local
687 if (position >= current->GetEnd()) { in SplitAt()
689 previous = current; in SplitAt()
690 current = current->next_; in SplitAt()
691 } else if (position <= current->GetStart()) { in SplitAt()
696 DCHECK(current != first_range_); in SplitAt()
700 new_interval->first_range_ = current; in SplitAt()
[all …]
Dnodes.cc78 HBasicBlock* current = worklist.back(); in FindBackEdges() local
79 uint32_t current_id = current->GetBlockId(); in FindBackEdges()
80 if (successors_visited[current_id] == current->GetSuccessors().size()) { in FindBackEdges()
84 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in FindBackEdges()
88 successor->AddBackEdge(current); in FindBackEdges()
287 HBasicBlock* current = worklist.back(); in ComputeDominanceInformation() local
288 uint32_t current_id = current->GetBlockId(); in ComputeDominanceInformation()
289 if (successors_visited[current_id] == current->GetSuccessors().size()) { in ComputeDominanceInformation()
292 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in ComputeDominanceInformation()
293 UpdateDominatorOfSuccessor(current, successor); in ComputeDominanceInformation()
[all …]
/art/tools/ahat/src/main/com/android/ahat/
DDocString.java153 long current, long baseline) { in delta() argument
155 return doc.appendDelta(noCurrent, noBaseline, current, baseline); in delta()
163 long current, long baseline) { in appendDelta() argument
168 } else if (current > baseline) { in appendDelta()
169 append(added(format("%+,14d", current - baseline))); in appendDelta()
170 } else if (current < baseline) { in appendDelta()
171 append(removed(format("%+,14d", current - baseline))); in appendDelta()
DAsciiProgress.java52 public void update(long current) { in update() argument
55 long newPercent = current * 100 / duration; in update()
56 progress = current; in update()
DObjectHandler.java134 for (Value current : selector.selected()) { in printArrayElements()
138 if (!Objects.equals(current, previous)) { in printArrayElements()
143 doc.row(DocString.format("%d", i), Summarizer.summarize(current), delta); in printArrayElements()
159 Iterable<FieldValue> current, Iterable<FieldValue> baseline) { in printFields() argument
167 List<DiffedFieldValue> fields = DiffFields.diff(current, baseline); in printFields()
184 Summarizer.summarize(field.current), in printFields()
191 Summarizer.summarize(field.current), in printFields()
192 Objects.equals(field.current, previous) ? new DocString() : was); in printFields()
/art/libartbase/base/
Dintrusive_forward_list.h292 for (iterator current = begin(); current != end(); ++current) { in remove_if() local
293 if (pred(*current)) { in remove_if()
295 current = prev; in remove_if()
297 prev = current; in remove_if()
308 iterator current = prev; in unique() local
309 ++current; in unique()
310 for (; current != end(); ++current) { in unique()
311 if (pred(*prev, *current)) { in unique()
313 current = prev; in unique()
315 prev = current; in unique()
[all …]
/art/test/1915-get-set-local-current-thread/
Dexpected.txt1 GetLocalInt on current thread!
4 SetLocalInt on current thread!
Dinfo.txt1 Tests for jvmti get/set Local variable on current thread.
/art/test/2011-stack-walk-concurrent-instrument/src/
DMain.java41 final Thread current = Thread.currentThread(); in testConcurrent() local
44 this.waitAndDeopt(current); in testConcurrent()
/art/runtime/
Dcompiler_filter.h85 static bool IsAsGoodAs(Filter current, Filter target);
90 static bool IsBetter(Filter current, Filter target);
Dcompiler_filter.cc166 bool CompilerFilter::IsAsGoodAs(Filter current, Filter target) { in IsAsGoodAs() argument
167 return current >= target; in IsAsGoodAs()
170 bool CompilerFilter::IsBetter(Filter current, Filter target) { in IsBetter() argument
171 return current > target; in IsBetter()
/art/test/712-varhandle-invocations/src/
DVarHandleUnitTestCollector.java28 private String current; field in VarHandleUnitTestCollector
35 current = testName; in start()
/art/libnativeloader/test/
DAndroid.mk44 LOCAL_SDK_VERSION := current
54 LOCAL_SDK_VERSION := current
/art/test/1903-suspend-self/
Dinfo.txt1 Test jvmti suspend/resume of the current thread.
/art/test/1907-suspend-list-self-twice/
Dinfo.txt1 Test jvmti SuspendThreadList with the current thread on it twice.
/art/test/1906-suspend-list-me-first/
Dinfo.txt1 Test jvmti SuspendThreadList with the current thread as the first thread in the list.
/art/test/1925-self-frame-pop/
Dinfo.txt3 This tests setting frame-pop on the current thread

1234