Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 100) 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.cc244 LiveInterval* current = instruction->GetLiveInterval(); in ProcessInstruction() local
245 if (current == nullptr) in ProcessInstruction()
252 DCHECK(unhandled.empty() || current->StartsBeforeOrAt(unhandled.back())); in ProcessInstruction()
254 if (codegen_->NeedsTwoRegisters(current->GetType())) { in ProcessInstruction()
255 current->AddHighInterval(); in ProcessInstruction()
259 current->ResetSearchCache(); in ProcessInstruction()
267 if (current->HasSpillSlot() || instruction->IsConstant()) { in ProcessInstruction()
269 size_t first_register_use = current->FirstRegisterUse(); in ProcessInstruction()
271 LiveInterval* split = SplitBetween(current, current->GetStart(), first_register_use - 1); in ProcessInstruction()
282 AddSorted(&unhandled, current); 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_IMPLIES(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_IMPLIES(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.cc488 HInstruction* current = block->GetFirstInstruction(); in VisitBasicBlock() local
489 while (current != nullptr) { in VisitBasicBlock()
491 HInstruction* next = current->GetNext(); in VisitBasicBlock()
500 if (current->CanBeMoved() || current->IsBoundType() || current->IsDeoptimize()) { in VisitBasicBlock()
501 if (current->IsBinaryOperation() && current->AsBinaryOperation()->IsCommutative()) { in VisitBasicBlock()
504 current->AsBinaryOperation()->OrderInputs(); in VisitBasicBlock()
506 HInstruction* existing = set->Lookup(current); in VisitBasicBlock()
512 current->ReplaceWith(existing); in VisitBasicBlock()
513 current->GetBlock()->RemoveInstruction(current); in VisitBasicBlock()
515 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.cc86 HBasicBlock* current = worklist.back(); in FindBackEdges() local
87 uint32_t current_id = current->GetBlockId(); in FindBackEdges()
88 if (successors_visited[current_id] == current->GetSuccessors().size()) { in FindBackEdges()
92 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in FindBackEdges()
96 successor->AddBackEdge(current); in FindBackEdges()
460 HBasicBlock* current = worklist.back(); in ComputeDominanceInformation() local
461 uint32_t current_id = current->GetBlockId(); in ComputeDominanceInformation()
462 if (successors_visited[current_id] == current->GetSuccessors().size()) { in ComputeDominanceInformation()
465 HBasicBlock* successor = current->GetSuccessors()[successors_visited[current_id]++]; in ComputeDominanceInformation()
466 UpdateDominatorOfSuccessor(current, successor); in ComputeDominanceInformation()
[all …]
/art/test/491-current-method/
DAndroid.bp3 // Build rules for ART run-test `491-current-method`.
16 name: "art-run-test-491-current-method",
21 ":art-run-test-491-current-method-expected-stdout",
22 ":art-run-test-491-current-method-expected-stderr",
28 name: "art-run-test-491-current-method-expected-stdout",
29 out: ["art-run-test-491-current-method-expected-stdout.txt"],
36 name: "art-run-test-491-current-method-expected-stderr",
37 out: ["art-run-test-491-current-method-expected-stderr.txt"],
/art/test/489-current-method-regression/
DAndroid.bp3 // Build rules for ART run-test `489-current-method-regression`.
16 name: "art-run-test-489-current-method-regression",
21 ":art-run-test-489-current-method-regression-expected-stdout",
22 ":art-run-test-489-current-method-regression-expected-stderr",
28 name: "art-run-test-489-current-method-regression-expected-stdout",
29 out: ["art-run-test-489-current-method-regression-expected-stdout.txt"],
36 name: "art-run-test-489-current-method-regression-expected-stderr",
37 out: ["art-run-test-489-current-method-regression-expected-stderr.txt"],
/art/test/1933-monitor-current-contended/
DAndroid.bp3 // Build rules for ART run-test `1933-monitor-current-contended`.
16 name: "art-run-test-1933-monitor-current-contended",
21 ":art-run-test-1933-monitor-current-contended-expected-stdout",
22 ":art-run-test-1933-monitor-current-contended-expected-stderr",
28 name: "art-run-test-1933-monitor-current-contended-expected-stdout",
29 out: ["art-run-test-1933-monitor-current-contended-expected-stdout.txt"],
36 name: "art-run-test-1933-monitor-current-contended-expected-stderr",
37 out: ["art-run-test-1933-monitor-current-contended-expected-stderr.txt"],
/art/test/1916-get-set-current-frame/
DAndroid.bp3 // Build rules for ART run-test `1916-get-set-current-frame`.
16 name: "art-run-test-1916-get-set-current-frame",
21 ":art-run-test-1916-get-set-current-frame-expected-stdout",
22 ":art-run-test-1916-get-set-current-frame-expected-stderr",
28 name: "art-run-test-1916-get-set-current-frame-expected-stdout",
29 out: ["art-run-test-1916-get-set-current-frame-expected-stdout.txt"],
36 name: "art-run-test-1916-get-set-current-frame-expected-stderr",
37 out: ["art-run-test-1916-get-set-current-frame-expected-stderr.txt"],
/art/test/1935-get-set-current-frame-jit/
DAndroid.bp3 // Build rules for ART run-test `1935-get-set-current-frame-jit`.
16 name: "art-run-test-1935-get-set-current-frame-jit",
21 ":art-run-test-1935-get-set-current-frame-jit-expected-stdout",
22 ":art-run-test-1935-get-set-current-frame-jit-expected-stderr",
28 name: "art-run-test-1935-get-set-current-frame-jit-expected-stdout",
29 out: ["art-run-test-1935-get-set-current-frame-jit-expected-stdout.txt"],
36 name: "art-run-test-1935-get-set-current-frame-jit-expected-stderr",
37 out: ["art-run-test-1935-get-set-current-frame-jit-expected-stderr.txt"],
/art/test/1915-get-set-local-current-thread/
DAndroid.bp3 // Build rules for ART run-test `1915-get-set-local-current-thread`.
16 name: "art-run-test-1915-get-set-local-current-thread",
21 ":art-run-test-1915-get-set-local-current-thread-expected-stdout",
22 ":art-run-test-1915-get-set-local-current-thread-expected-stderr",
28 name: "art-run-test-1915-get-set-local-current-thread-expected-stdout",
29 out: ["art-run-test-1915-get-set-local-current-thread-expected-stdout.txt"],
36 name: "art-run-test-1915-get-set-local-current-thread-expected-stderr",
37 out: ["art-run-test-1915-get-set-local-current-thread-expected-stderr.txt"],
Dexpected-stdout.txt1 GetLocalInt on current thread!
4 SetLocalInt on current thread!
/art/test/619-checker-current-method/
DAndroid.bp3 // Build rules for ART run-test `619-checker-current-method`.
16 name: "art-run-test-619-checker-current-method",
21 ":art-run-test-619-checker-current-method-expected-stdout",
22 ":art-run-test-619-checker-current-method-expected-stderr",
31 name: "art-run-test-619-checker-current-method-expected-stdout",
32 out: ["art-run-test-619-checker-current-method-expected-stdout.txt"],
39 name: "art-run-test-619-checker-current-method-expected-stderr",
40 out: ["art-run-test-619-checker-current-method-expected-stderr.txt"],
/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()
/art/libartbase/base/
Dintrusive_forward_list.h291 for (iterator current = begin(); current != end(); ++current) { in remove_if() local
292 if (pred(*current)) { in remove_if()
294 current = prev; in remove_if()
296 prev = current; in remove_if()
307 iterator current = prev; in unique() local
308 ++current; in unique()
309 for (; current != end(); ++current) { in unique()
310 if (pred(*prev, *current)) { in unique()
312 current = prev; in unique()
314 prev = current; in unique()
[all …]
Dcompiler_filter.h80 static bool IsAsGoodAs(Filter current, Filter target);
85 static bool IsBetter(Filter current, Filter target);
/art/test/2011-stack-walk-concurrent-instrument/src/
DMain.java41 final Thread current = Thread.currentThread(); in testConcurrent() local
44 this.waitAndInstrumentStack(current); in testConcurrent()
/art/test/712-varhandle-invocations/src/
DVarHandleUnitTestCollector.java28 private String current; field in VarHandleUnitTestCollector
35 current = testName; in start()
/art/odrefresh/
Dodr_fs_utils.cc115 std::string current = unvisited.front(); in GetUsedSpace() local
117 std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir(current.c_str()), closedir); in GetUsedSpace()
126 std::string entity_name = current + "/" + entity->d_name; in GetUsedSpace()

1234