Home
last modified time | relevance | path

Searched refs:pred (Results 1 – 18 of 18) sorted by relevance

/art/compiler/optimizing/
Dcode_sinking.cc547 for (HBasicBlock* pred : exit->GetPredecessors()) { in ReturnSinking()
551 if (pred->GetLastInstruction()->IsReturn() || pred->GetLastInstruction()->IsReturnVoid()) { in ReturnSinking()
552 saw_return |= pred->GetLastInstruction()->IsReturn(); in ReturnSinking()
568 HBasicBlock* pred = exit->GetPredecessors()[i]; in ReturnSinking() local
569 if (!pred->GetLastInstruction()->IsReturn()) { in ReturnSinking()
574 HReturn* ret = pred->GetLastInstruction()->AsReturn(); in ReturnSinking()
585 pred->ReplaceAndRemoveInstructionWith(ret, in ReturnSinking()
587 pred->ReplaceSuccessor(exit, new_block); in ReturnSinking()
593 HBasicBlock* pred = exit->GetPredecessors()[i]; in ReturnSinking() local
594 if (!pred->GetLastInstruction()->IsReturnVoid()) { in ReturnSinking()
[all …]
Dexecution_subgraph.cc63 for (HBasicBlock* pred : to_remove->GetPredecessors()) { in RemoveBlock()
66 for (auto [succ, i] : ZipCount(MakeIterationRange(pred->GetSuccessors()))) { in RemoveBlock()
71 LimitBlockSuccessors(pred, allowed_successors); in RemoveBlock()
290 for (const HBasicBlock* pred : cur->GetPredecessors()) { in RecalculateExcludedCohort() local
291 worklist.push(pred); in RecalculateExcludedCohort()
Dreference_type_propagation_test.cc329 for (const auto& [pred, index] : ZipCount(MakeIterationRange(blk->GetPredecessors()))) { in RunVisitListTest()
330 CHECK(single_value[pred] != nullptr) << pred->GetBlockId() << " " << alg.GetName(pred); in RunVisitListTest()
331 my_val->SetRawInputAt(index, single_value[pred]); in RunVisitListTest()
421 for (const auto& [pred, index] : ZipCount(MakeIterationRange(blk->GetPredecessors()))) { in RunVisitListTest()
422 my_val->SetRawInputAt(index, single_value[pred]); in RunVisitListTest()
Dnodes.cc599 for (size_t pred = 1, e = header->GetPredecessors().size(); pred < e; ++pred) { in OrderLoopHeaderPredecessors() local
600 HBasicBlock* predecessor = header->GetPredecessors()[pred]; in OrderLoopHeaderPredecessors()
602 header->predecessors_[pred] = to_swap; in OrderLoopHeaderPredecessors()
604 FixPhisAfterPredecessorsReodering(header, 0, pred); in OrderLoopHeaderPredecessors()
616 for (size_t pred = 0; pred < header->GetPredecessors().size(); ++pred) { in FixControlForNewSinglePreheader() local
617 HBasicBlock* predecessor = header->GetPredecessors()[pred]; in FixControlForNewSinglePreheader()
620 pred--; in FixControlForNewSinglePreheader()
671 for (size_t pred = 0; pred < header->GetPredecessors().size(); ++pred) { in TransformLoopToSinglePreheaderFormat() local
672 HBasicBlock* predecessor = header->GetPredecessors()[pred]; in TransformLoopToSinglePreheaderFormat()
674 first_nonbackedge_pred_pos = pred; in TransformLoopToSinglePreheaderFormat()
[all …]
Dload_store_elimination.cc3259 for (HBasicBlock* pred : blk->GetPredecessors()) { in GenerateMaterializationValueFromPredecessors()
3260 DCHECK(HasMaterialization(pred)); in GenerateMaterializationValueFromPredecessors()
3261 pred_vals.push_back(GetMaterialization(pred)); in GenerateMaterializationValueFromPredecessors()
3603 HBasicBlock* pred = entry->GetPredecessors()[cur_pred_idx]; in InsertMaterializationBlocks() local
3604 mat->InsertBetween(pred, entry); in InsertMaterializationBlocks()
3606 << pred->GetBlockId() << "->" << entry->GetBlockId(); in InsertMaterializationBlocks()
3837 Value pred = ReplacementOrValue(intermediate_values_.find(read)->second); in GetPartialValueAt() local
3838 LSE_VLOG << "using " << pred << " as default value for " << *read; in GetPartialValueAt()
3839 if (pred.IsInstruction()) { in GetPartialValueAt()
3840 return pred.GetInstruction(); in GetPartialValueAt()
[all …]
Ddead_code_elimination.cc512 HBasicBlock* pred = block->GetPredecessors()[index]; in MaybeAddPhi() local
514 dominator->GetLastInstruction()->AsIf()->IfTrueSuccessor()->Dominates(pred); in MaybeAddPhi()
516 dominator->GetLastInstruction()->AsIf()->IfFalseSuccessor()->Dominates(pred); in MaybeAddPhi()
Dsuperblock_cloner.cc692 for (HBasicBlock* pred : bb->GetPredecessors()) { in DumpBB()
693 oss << pred->GetBlockId() << " "; in DumpBB()
1110 for (HBasicBlock* pred : block->GetPredecessors()) { in IsSubgraphConnected()
1111 if (!work_set->IsBitSet(pred->GetBlockId())) { in IsSubgraphConnected()
Doptimizing_unit_test.h349 std::all_of(preds.begin(), preds.end(), [&](HBasicBlock* pred) { in EnsurePredecessorOrder()
355 if (cur.first == pred && !bv.IsBitSet(cur.second)) { in EnsurePredecessorOrder()
Dexecution_subgraph_test.cc943 for (HBasicBlock* pred : remove_implicit->GetPredecessors()) { in TEST_F()
944 esg.RemoveBlock(pred); in TEST_F()
/art/libartbase/base/
Dhash_set.h213 const Pred& pred) noexcept in HashSet() argument
214 : HashSet(kDefaultMinLoadFactor, kDefaultMaxLoadFactor, hashfn, pred) {} in HashSet()
216 const Pred& pred, in HashSet() argument
218 : HashSet(kDefaultMinLoadFactor, kDefaultMaxLoadFactor, hashfn, pred, alloc) {} in HashSet()
223 const Pred& pred) noexcept in HashSet() argument
224 : HashSet(min_load_factor, max_load_factor, hashfn, pred, allocator_type()) {} in HashSet()
228 const Pred& pred, in HashSet() argument
233 pred_(pred), in HashSet()
301 const Pred& pred, in HashSet() argument
307 pred_(pred), in HashSet()
Dintrusive_forward_list.h289 void remove_if(Predicate pred) { in remove_if() argument
292 if (pred(*current)) { in remove_if()
304 void unique(BinaryPredicate pred) { in unique() argument
310 if (pred(*prev, *current)) { in unique()
Dhash_set_test.cc460 StatefulPred pred(&strings); in TEST_F() local
461 HashSet<uint16_t, SmallIndexEmptyFn, StatefulHashFn, StatefulPred> hash_set(hashfn, pred); in TEST_F()
/art/test/988-method-trace/src/art/
DTest988.java42 (x) -> NON_DETERMINISTIC_OUTPUT_METHODS.stream().anyMatch((pred) -> pred.test(x));
44 (x) -> NON_DETERMINISTIC_OUTPUT_TYPE_METHODS.stream().anyMatch((pred) -> pred.test(x));
/art/test/2263-method-trace-jit/src/art/
DTest988.java42 (x) -> NON_DETERMINISTIC_OUTPUT_METHODS.stream().anyMatch((pred) -> pred.test(x));
44 (x) -> NON_DETERMINISTIC_OUTPUT_TYPE_METHODS.stream().anyMatch((pred) -> pred.test(x));
/art/libdexfile/external/
Ddex_file_ext.cc114 auto pred = [](auto it) { return it.first != 0; }; // Entries to copy (not cleared above). in CreateClassCache() local
115 std::copy_if(cache.begin(), cache.end(), std::back_inserter(class_cache_), pred); in CreateClassCache()
/art/runtime/base/
Dmutex.cc126 static inline bool WaitBrieflyFor(AtomicInteger* testLoc, Thread* self, Pred pred) { in WaitBrieflyFor() argument
137 if (pred(testLoc->load(std::memory_order_relaxed))) { in WaitBrieflyFor()
/art/openjdkjvmti/
Dti_redefine.cc2876 auto pred = [&](art::ArtField& f) REQUIRES(art::Locks::mutator_lock_) { in UpdateClassStructurally()
2887 return std::find_if(sfields.begin(), sfields.end(), pred) != sfields.end(); in UpdateClassStructurally()
2895 return std::find_if(ifields.begin(), ifields.end(), pred) != ifields.end(); in UpdateClassStructurally()
/art/build/boot/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt7140 Ljava/util/concurrent/ConcurrentLinkedDeque;->pred(Ljava/util/concurrent/ConcurrentLinkedDeque$Node…