Home
last modified time | relevance | path

Searched refs:bb_set (Results 1 – 2 of 2) sorted by relevance

/art/compiler/optimizing/
Dsuperblock_cloner_test.cc277 HBasicBlockSet bb_set( in TEST_F() local
279 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()
283 EXPECT_FALSE(IsSubgraphConnected(&bb_set, graph_)); in TEST_F()
284 EXPECT_EQ(bb_set.NumSetBits(), 1u); in TEST_F()
285 EXPECT_TRUE(bb_set.IsBitSet(unreachable_block->GetBlockId())); in TEST_F()
Dsuperblock_cloner.cc42 static bool IsUsedOutsideRegion(const HInstruction* instr, const HBasicBlockSet& bb_set) { in IsUsedOutsideRegion() argument
46 if (!bb_set.IsBitSet(user->GetBlock()->GetBlockId())) { in IsUsedOutsideRegion()
54 if (!bb_set.IsBitSet(user->GetBlock()->GetBlockId())) { in IsUsedOutsideRegion()
101 static void TraverseSubgraphForConnectivity(HBasicBlock* block, HBasicBlockSet* bb_set) { in TraverseSubgraphForConnectivity() argument
102 DCHECK(bb_set->IsBitSet(block->GetBlockId())); in TraverseSubgraphForConnectivity()
103 bb_set->ClearBit(block->GetBlockId()); in TraverseSubgraphForConnectivity()
106 if (bb_set->IsBitSet(succ->GetBlockId())) { in TraverseSubgraphForConnectivity()
107 TraverseSubgraphForConnectivity(succ, bb_set); in TraverseSubgraphForConnectivity()