/aosp12/art/compiler/optimizing/ |
H A D | code_sinking.cc | 129 if (!discard_blocks.IsBitSet(instruction->GetBlock()->GetBlockId()) && in AddInstruction() 130 !processed_instructions.IsBitSet(instruction->GetId()) && in AddInstruction() 163 !post_dominated.IsBitSet(user->GetBlock()->GetBlockId()); in ShouldFilterUse() 167 !post_dominated.IsBitSet(user->GetBlock()->GetBlockId()); in ShouldFilterUse() 289 if (!post_dominated.IsBitSet(successor->GetBlockId())) { in SinkCodeToUncommonBranch() 307 if (post_dominated.IsBitSet(i)) { in SinkCodeToUncommonBranch() 317 if (processed_instructions.IsBitSet(instruction->GetId())) { in SinkCodeToUncommonBranch() 328 if (!post_dominated.IsBitSet(user->GetBlock()->GetBlockId()) && in SinkCodeToUncommonBranch() 329 !instructions_that_can_move.IsBitSet(user->GetId())) { in SinkCodeToUncommonBranch() 336 if (processed_instructions.IsBitSet(user->GetId()) || in SinkCodeToUncommonBranch() [all …]
|
H A D | execution_subgraph.cc | 54 if (unreachable_blocks_.IsBitSet(id)) { in RemoveBlock() 167 if (visiting.IsBitSet(id)) { in Prune() 205 if (visiting.IsBitSet(nxt->GetBlockId())) { in Prune() 246 if (blk == nullptr || unreachable_blocks_.IsBitSet(blk->GetBlockId())) { in RemoveConcavity() 283 if (!unreachable.IsBitSet(cur->GetBlockId())) { in RecalculateExcludedCohort() 302 return !cohort.blocks_.IsBitSet(ext->GetBlockId()); in RecalculateExcludedCohort() 339 if (!entry_blocks_.IsBitSet(b->GetBlockId()) && !exit_blocks_.IsBitSet(b->GetBlockId())) { in Dump()
|
H A D | gvn.cc | 89 if (!buckets_owned_.IsBitSet(index)) { in Add() 228 DCHECK(!buckets_owned_.IsBitSet(index)); in CloneBucket() 260 if (!buckets_owned_.IsBitSet(i)) { in DeleteAllImpureWhich() 279 DCHECK(buckets_owned_.IsBitSet(i) || node == nullptr); in DeleteAllImpureWhich() 528 DCHECK(visited_blocks_.IsBitSet(block->GetBlockId())); in WillBeReferencedAgain() 531 if (!visited_blocks_.IsBitSet(dominated_block->GetBlockId())) { in WillBeReferencedAgain() 537 if (!visited_blocks_.IsBitSet(successor->GetBlockId())) { in WillBeReferencedAgain()
|
H A D | execution_subgraph.h | 84 return inner_.IsBitSet(b->GetBlockId()); in operator() 154 return entry_blocks_.IsBitSet(blk->GetBlockId()); in IsEntryBlock() 168 return blocks_.IsBitSet(blk->GetBlockId()); in ContainsBlock() 244 return !unreachable_blocks_.IsBitSet(blk->GetBlockId()); in ContainsBlock()
|
H A D | superblock_cloner.cc | 46 if (!bb_set.IsBitSet(user->GetBlock()->GetBlockId())) { in IsUsedOutsideRegion() 54 if (!bb_set.IsBitSet(user->GetBlock()->GetBlockId())) { in IsUsedOutsideRegion() 102 DCHECK(bb_set->IsBitSet(block->GetBlockId())); in TraverseSubgraphForConnectivity() 106 if (bb_set->IsBitSet(succ->GetBlockId())) { in TraverseSubgraphForConnectivity() 302 if (!local_set->IsBitSet(successor_id)) { in FindBackEdgesLocal() 306 if (visiting.IsBitSet(successor_id)) { in FindBackEdgesLocal() 309 } else if (!visited.IsBitSet(successor_id)) { in FindBackEdgesLocal() 370 if (!outer_loop_bb_set->IsBitSet(block->GetBlockId())) { in AnalyzeLoopsLocally() 384 if (!outer_loop_bb_set->IsBitSet(block->GetBlockId())) { in AnalyzeLoopsLocally() 1102 if (!work_set->IsBitSet(pred->GetBlockId())) { in IsSubgraphConnected() [all …]
|
H A D | intrinsics.h | 156 bool Get##name() const { return IsBitSet(k##name); } \ 171 bool IsBitSet(uint32_t bit) const { in IsBitSet() function 192 bool Get##name() const { return IsBitSet(k##name); } \
|
H A D | ssa_phi_elimination.cc | 199 if (!visited_phis_in_cycle.IsBitSet(input->GetId())) { in Run() 250 if (user->IsPhi() && !visited_phis_in_cycle.IsBitSet(user->GetId())) { in Run()
|
H A D | dead_code_elimination.cc | 42 DCHECK(visited->IsBitSet(block_id)); in MarkReachableBlocks() 82 if (!visited->IsBitSet(successor->GetBlockId())) { in MarkReachableBlocks() 464 if (!live_blocks.IsBitSet(id)) { in RemoveDeadBlocks()
|
H A D | register_allocator.cc | 139 if (liveness_of_spill_slot->IsBitSet(j)) { in ValidateIntervals() 161 if (liveness_of_register->IsBitSet(j)) { in ValidateIntervals()
|
H A D | load_store_analysis.cc | 107 if (!additional_exclusions.IsBitSet(user->GetBlock()->GetBlockId()) && in PrunePartialEscapeWrites() 161 if ((escape->IsPhi() || escape->IsSelect()) && !seen_instructions.IsBitSet(escape->GetId())) { in CollectPartialEscapes()
|
H A D | load_store_elimination.cc | 1822 !kept_stores_.IsBitSet(record.stored_by.GetInstruction()->GetId())); in VisitSetLocation() 1928 if (!visited.IsBitSet(PhiPlaceholderIndex(value))) { in TryReplacingLoopPhiPlaceholderWithDefault() 1963 if (!visited.IsBitSet(PhiPlaceholderIndex(value))) { in TryReplacingLoopPhiPlaceholderWithDefault() 2012 if (!visited.IsBitSet(PhiPlaceholderIndex(value))) { in TryReplacingLoopPhiPlaceholderWithSingleInput() 2325 if (dependencies[i]->IsBitSet(k) && dependencies[k]->IsBitSet(j)) { in MaterializeLoopPhis() 2359 if (dependencies[matrix_index]->IsBitSet(current_matrix_index)) { in MaterializeLoopPhis() 2368 if (current_dependencies->IsBitSet(matrix_index)) { in MaterializeLoopPhis() 2634 kept_merged_unknowns_.IsBitSet(cur_phi_idx) && in SearchPhiPlaceholdersForKeptStores() 2700 !phi_placeholders_to_search_for_kept_stores_.IsBitSet( in UpdateValueRecordForStoreElimination() 2811 !phi_placeholders_to_search_for_kept_stores_.IsBitSet(i)) { in FindStoresWritingOldValues() [all …]
|
H A D | nodes.cc | 94 if (visiting.IsBitSet(successor_id)) { in FindBackEdges() 97 } else if (!visited->IsBitSet(successor_id)) { in FindBackEdges() 155 if (!visited.IsBitSet(i)) { in RemoveInstructionsAsUsersFromDeadBlocks() 170 if (!visited.IsBitSet(i)) { in RemoveDeadBlocks() 393 if (!discovered.IsBitSet(succ->GetBlockId())) { in CalculateConnectednessOn() 918 if (blocks_.IsBitSet(block->GetBlockId())) { in PopulateRecursive() 942 if (finalized->IsBitSet(block_id)) { in PopulateIrreducibleRecursive() 955 if (blocks_.IsBitSet(pre_header->GetBlockId())) { in PopulateIrreducibleRecursive() 1060 return blocks_.IsBitSet(block.GetBlockId()); in Contains() 1064 return other.blocks_.IsBitSet(header_->GetBlockId()); in IsIn() [all …]
|
H A D | licm.cc | 110 DCHECK(visited->IsBitSet(inner->GetBlockId())); in Run()
|
H A D | liveness_test.cc | 42 buffer << vector->IsBitSet(i); in DumpBitVector()
|
H A D | load_store_analysis.h | 400 return aliasing_matrix_.IsBitSet(AliasingMatrixPosition(index1, index2)); in MayAlias() 402 return aliasing_matrix_.IsBitSet(AliasingMatrixPosition(index2, index1)); in MayAlias()
|
H A D | superblock_cloner.h | 211 return orig_bb_set_.IsBitSet(block_id); in IsInOrigBBSet()
|
H A D | graph_checker.cc | 360 if (seen_ids_.IsBitSet(instruction->GetId())) { in VisitInstruction() 725 if (!loop_blocks.IsBitSet(back_edge_id)) { in HandleLoop() 794 if (visited->IsBitSet(insn1->GetId())) { in IsConstantEquivalent()
|
H A D | find_loops_test.cc | 116 ASSERT_TRUE(blocks.IsBitSet(blocks_in_loop[i])); in TestBlock()
|
H A D | stack_map_stream.cc | 157 CHECK_EQ(seen_stack_mask.LoadBit(b), stack_mask != nullptr && stack_mask->IsBitSet(b)); in BeginStackMapEntry()
|
H A D | register_allocator_graph_color.cc | 2040 if (taken.IsBitSet(s)) { in ColorSpillSlots() 2069 DCHECK(taken.IsBitSet(s)); in ColorSpillSlots()
|
H A D | optimizing_unit_test.h | 367 if (cur.first == pred && !bv.IsBitSet(cur.second)) { in EnsurePredecessorOrder()
|
/aosp12/art/libartbase/base/ |
H A D | bit_vector_test.cc | 40 EXPECT_FALSE(bv.IsBitSet(i)); in TEST() 53 EXPECT_TRUE(bv.IsBitSet(0)); in TEST() 55 EXPECT_FALSE(bv.IsBitSet(i)); in TEST() 57 EXPECT_TRUE(bv.IsBitSet(kBits - 1)); in TEST() 195 EXPECT_TRUE(first.IsBitSet(64)); in TEST() 353 EXPECT_TRUE(bv.IsBitSet(13)); in TEST() 357 EXPECT_TRUE(bv2.IsBitSet(13)); in TEST() 395 EXPECT_TRUE(bva.IsBitSet(4, 12)); in TEST() 396 EXPECT_TRUE(bva.IsBitSet(4, 120)); in TEST() 397 EXPECT_TRUE(bva.IsBitSet(4, 121)); in TEST() [all …]
|
H A D | bit_vector.h | 163 bool IsBitSet(uint32_t idx) const { in IsBitSet() function 166 return (idx < (storage_size_ * kWordBits)) && IsBitSet(storage_, idx); in IsBitSet() 256 static bool IsBitSet(const uint32_t* storage, uint32_t idx) { in IsBitSet() function 356 bool IsBitSet(size_t row, size_t col) const { in IsBitSet() function 359 return GetRawData().IsBitSet(row * num_columns_ + col); in IsBitSet()
|
H A D | bit_vector.cc | 347 buffer << IsBitSet(i); in DumpHelper()
|
/aosp12/art/runtime/verifier/ |
H A D | reg_type_test.cc | 506 EXPECT_TRUE(unresolved_parts.IsBitSet(ref_type_0.GetId())); in TEST_F() 507 EXPECT_TRUE(unresolved_parts.IsBitSet(ref_type_1.GetId())); in TEST_F()
|