Home
last modified time | relevance | path

Searched refs:kMaxFilterableSuccessors (Results 1 – 3 of 3) sorted by relevance

/aosp12/art/compiler/optimizing/
H A Dexecution_subgraph.cc35 ~(std::bitset<kMaxFilterableSuccessors> {}), in ExecutionSubgraph()
44 return it == nullptr || it->GetSuccessors().size() <= kMaxFilterableSuccessors; in __anon9c85d5c70102()
64 std::bitset<kMaxFilterableSuccessors> allowed_successors {}; in RemoveBlock()
86 ScopedArenaVector<std::bitset<kMaxFilterableSuccessors>> results( in Prune()
151 DCHECK_LT(last_succ_seen[id], static_cast<ssize_t>(kMaxFilterableSuccessors)); in Prune()
172 std::bitset<kMaxFilterableSuccessors>& result = results[id]; in Prune()
178 } else if (last_succ_seen[id] == kMaxFilterableSuccessors) { in Prune()
190 while (++(*cur_succ) < static_cast<ssize_t>(kMaxFilterableSuccessors) && in Prune()
197 DCHECK_LE(*cur_succ, static_cast<ssize_t>(kMaxFilterableSuccessors)); in Prune()
198 *cur_succ = kMaxFilterableSuccessors; in Prune()
[all …]
H A Dexecution_subgraph.h223 static constexpr uint32_t kMaxFilterableSuccessors = 8; variable
303 return blk == nullptr || blk->GetSuccessors().size() <= kMaxFilterableSuccessors; in CanAnalyse()
308 std::bitset<kMaxFilterableSuccessors> GetAllowedSuccessors(const HBasicBlock* blk) const { in GetAllowedSuccessors()
314 std::bitset<kMaxFilterableSuccessors> allowed) { in LimitBlockSuccessors()
338 ScopedArenaVector<std::bitset<kMaxFilterableSuccessors>> allowed_successors_;
H A Dexecution_subgraph_test.cc807 for (auto i : Range(ExecutionSubgraph::kMaxFilterableSuccessors)) { in TEST_F()
812 ASSERT_EQ(mid_blocks.size(), ExecutionSubgraph::kMaxFilterableSuccessors); in TEST_F()
831 ASSERT_EQ(contents.size(), ExecutionSubgraph::kMaxFilterableSuccessors + 2); in TEST_F()
837 for (auto i : Range(ExecutionSubgraph::kMaxFilterableSuccessors)) { in TEST_F()
858 ASSERT_EQ(contents.size(), ExecutionSubgraph::kMaxFilterableSuccessors + 2 - 2); in TEST_F()
868 for (auto i : Range(ExecutionSubgraph::kMaxFilterableSuccessors)) { in TEST_F()
892 constexpr size_t kNumBlocks = ExecutionSubgraph::kMaxFilterableSuccessors + 1000; in TEST_F()
903 std::min(cur + ExecutionSubgraph::kMaxFilterableSuccessors + 1, kNumBlocks))) { in TEST_F()
923 constexpr size_t kNumBlocks = ExecutionSubgraph::kMaxFilterableSuccessors + 1000; in TEST_F()
924 constexpr size_t kTestMaxSuccessors = ExecutionSubgraph::kMaxFilterableSuccessors - 1; in TEST_F()
[all …]