Home
last modified time | relevance | path

Searched refs:SetBit (Results 1 – 25 of 32) sorted by relevance

12

/aosp12/art/libartbase/base/
H A Dbit_vector_test.cc48 bv.SetBit(0); in TEST()
109 bv.SetBit(8); in TEST()
115 bv.SetBit(16); in TEST()
121 bv.SetBit(32); in TEST()
127 bv.SetBit(48); in TEST()
259 bv.SetBit(0); in TEST()
260 bv.SetBit(17); in TEST()
261 bv.SetBit(26); in TEST()
274 bv.SetBit(18); in TEST()
303 bv.SetBit(4); in TEST()
[all …]
H A Dbit_vector.cc257 SetBit(num_bits - 1); in SetInitialBits()
305 SetBit(highest_bit); in Copy()
388 GetRawData().SetBit(num_rows_ * num_columns_ - 1); in Resize()
H A Dbit_vector.h142 void SetBit(uint32_t idx) { in SetBit() function
344 void SetBit(size_t row, size_t col) { in SetBit() function
347 GetRawData().SetBit(row * num_columns_ + col); in SetBit()
H A Darena_allocator_test.cc41 bv.SetBit(5); in TEST_F()
43 bv.SetBit(35); in TEST_F()
/aosp12/art/compiler/optimizing/
H A Dexecution_subgraph.cc62 unreachable_blocks_.SetBit(id); in RemoveBlock()
127 visiting.SetBit(cur_block->GetBlockId()); in Prune()
229 unreachable_blocks_.SetBit(blk->GetBlockId()); in Prune()
288 cohort.blocks_.SetBit(cur->GetBlockId()); in RecalculateExcludedCohort()
308 cohort.entry_blocks_.SetBit(blk->GetBlockId()); in RecalculateExcludedCohort()
311 cohort.exit_blocks_.SetBit(blk->GetBlockId()); in RecalculateExcludedCohort()
H A Dstack_map_test.cc113 sp_mask1.SetBit(2); in TEST()
114 sp_mask1.SetBit(4); in TEST()
127 sp_mask2.SetBit(3); in TEST()
128 sp_mask2.SetBit(8); in TEST()
135 sp_mask3.SetBit(1); in TEST()
136 sp_mask3.SetBit(5); in TEST()
143 sp_mask4.SetBit(6); in TEST()
144 sp_mask4.SetBit(7); in TEST()
307 sp_mask1.SetBit(2); in TEST()
308 sp_mask1.SetBit(4); in TEST()
[all …]
H A Dcode_sinking.cc281 post_dominated.SetBit(block->GetBlockId()); in SinkCodeToUncommonBranch()
296 post_dominated.SetBit(block->GetBlockId()); in SinkCodeToUncommonBranch()
365 processed_instructions.SetBit(instruction->GetId()); in SinkCodeToUncommonBranch()
370 instructions_that_can_move.SetBit(instruction->GetId()); in SinkCodeToUncommonBranch()
372 processed_instructions.SetBit(instruction->GetId()); in SinkCodeToUncommonBranch()
H A Dssa_liveness_analysis.cc124 live_in->SetBit(input->GetSsaIndex()); in RecursivelyProcessInputs()
158 live_in->SetBit(instruction->GetSsaIndex()); in ProcessEnvironment()
196 live_in->SetBit(input->GetSsaIndex()); in ComputeLiveRanges()
213 kill->SetBit(current->GetSsaIndex()); in ComputeLiveRanges()
248 kill->SetBit(current->GetSsaIndex()); in ComputeLiveRanges()
H A Dintrinsics.h155 void Set##name() { SetBit(k##name); } \
176 void SetBit(uint32_t bit) { in SetBit() function
191 void Set##name() { SetBit(k##name); } \
H A Dsuperblock_cloner.cc289 visited.SetBit(entry_block->GetBlockId()); in FindBackEdgesLocal()
290 visiting.SetBit(entry_block->GetBlockId()); in FindBackEdgesLocal()
310 visited.SetBit(successor_id); in FindBackEdgesLocal()
311 visiting.SetBit(successor_id); in FindBackEdgesLocal()
324 outer_loop_bb_set->SetBit(block->GetBlockId()); in RecalculateBackEdgesInfo()
338 outer_loop_bb_set->SetBit(entry.second->GetBlockId()); in RecalculateBackEdgesInfo()
972 work_set.SetBit(iter.first->GetBlockId()); // Original block. in Run()
973 work_set.SetBit(iter.second->GetBlockId()); // Copy block. in Run()
H A Dssa_phi_elimination.cc169 visited_phis_in_cycle.SetBit(phi->GetId()); in Run()
201 visited_phis_in_cycle.SetBit(input->GetId()); in Run()
H A Dnodes.cc98 visited->SetBit(successor_id); in FindBackEdges()
99 visiting.SetBit(successor_id); in FindBackEdges()
378 discovered.SetBit(target_idx); in CalculateConnectednessOn()
910 blocks_.SetBit(block->GetBlockId()); in Add()
922 blocks_.SetBit(block->GetBlockId()); in PopulateRecursive()
957 blocks_.SetBit(block_id); in PopulateIrreducibleRecursive()
958 finalized->SetBit(block_id); in PopulateIrreducibleRecursive()
973 blocks_.SetBit(block_id); in PopulateIrreducibleRecursive()
974 finalized->SetBit(block_id); in PopulateIrreducibleRecursive()
982 finalized->SetBit(block_id); in PopulateIrreducibleRecursive()
[all …]
H A Dload_store_elimination.cc826 kept_stores_.SetBit(instruction->GetId()); in KeepStores()
1829 kept_stores_.SetBit(instruction->GetId()); in VisitSetLocation()
1916 visited.SetBit(PhiPlaceholderIndex(phi_placeholder)); in TryReplacingLoopPhiPlaceholderWithDefault()
1929 visited.SetBit(PhiPlaceholderIndex(value)); in TryReplacingLoopPhiPlaceholderWithDefault()
1964 visited.SetBit(PhiPlaceholderIndex(value)); in TryReplacingLoopPhiPlaceholderWithDefault()
2000 visited.SetBit(PhiPlaceholderIndex(phi_placeholder)); in TryReplacingLoopPhiPlaceholderWithSingleInput()
2013 visited.SetBit(PhiPlaceholderIndex(value)); in TryReplacingLoopPhiPlaceholderWithSingleInput()
2326 dependencies[i]->SetBit(j); in MaterializeLoopPhis()
2851 eliminated_stores.SetBit(store->GetId()); in FindStoresWritingOldValues()
2975 heap_locs_.SetBit(idx); in AddHeapLocation()
[all …]
H A Dregister_allocator.cc148 liveness_of_spill_slot->SetBit(j); in ValidateIntervals()
195 liveness_of_register->SetBit(j); in ValidateIntervals()
H A Dload_store_analysis.cc121 additional_exclusions.SetBit(user->GetBlock()->GetBlockId()); in PrunePartialEscapeWrites()
162 seen_instructions.SetBit(escape->GetId()); in CollectPartialEscapes()
H A Dsuperblock_cloner_test.cc279 bb_set.SetBit(header->GetBlockId()); in TEST_F()
280 bb_set.SetBit(loop_body->GetBlockId()); in TEST_F()
281 bb_set.SetBit(unreachable_block->GetBlockId()); in TEST_F()
651 orig_bb_set.SetBit(preheader->GetBlockId()); in TEST_F()
H A Dlicm.cc114 visited->SetBit(inner->GetBlockId()); in Run()
H A Ddead_code_elimination.cc35 visited->SetBit(graph->GetEntryBlock()->GetBlockId()); in MarkReachableBlocks()
83 visited->SetBit(successor->GetBlockId()); in MarkReachableBlocks()
H A Dgvn.cc244 buckets_owned_.SetBit(index); in CloneBucket()
524 visited_blocks_.SetBit(block->GetBlockId()); in VisitBasicBlock()
H A Dstack_map_stream.cc272 temp_dex_register_mask_.SetBit(i); in CreateDexRegisterMap()
/aosp12/system/core/init/
H A Dkeychords.cpp52 void Keychords::Mask::SetBit(size_t bit, bool value) { in SetBit() function in android::init::Keychords::Mask
134 current_.SetBit(event.code, event.value); in LambdaHandler()
147 mask.SetBit(EV_KEY); in GeteventEnable()
163 mask.SetBit(code); in GeteventEnable()
H A Dkeychords.h48 void SetBit(size_t bit, bool value = true);
/aosp12/art/runtime/gc/accounting/
H A Dbitmap.h60 ALWAYS_INLINE bool SetBit(size_t bit_index) { in SetBit() function
162 return SetBit(BitIndexFromAddr(addr)); in Set()
/aosp12/frameworks/native/services/inputflinger/tests/
H A DEventHub_test.cpp233 TEST_F(BitArrayTest, SetBit) { in TEST_F() argument
/aosp12/art/runtime/verifier/
H A Dreg_type_cache.cc410 types.SetBit(left.GetId()); in FromUnresolvedMerge()
428 types.SetBit(right.GetId()); in FromUnresolvedMerge()

12