Home
last modified time | relevance | path

Searched refs:IsReachable (Results 1 – 25 of 123) sorted by relevance

12345

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_reachability_test.cc61 EXPECT_TRUE(reachability.IsReachable(a, a)); in TEST_F()
62 EXPECT_TRUE(reachability.IsReachable(a, b)); in TEST_F()
63 EXPECT_TRUE(reachability.IsReachable(a, c)); in TEST_F()
64 EXPECT_TRUE(reachability.IsReachable(a, d)); in TEST_F()
65 EXPECT_TRUE(reachability.IsReachable(a, e)); in TEST_F()
67 EXPECT_FALSE(reachability.IsReachable(b, a)); in TEST_F()
68 EXPECT_TRUE(reachability.IsReachable(b, b)); in TEST_F()
69 EXPECT_FALSE(reachability.IsReachable(b, c)); in TEST_F()
70 EXPECT_TRUE(reachability.IsReachable(b, d)); in TEST_F()
71 EXPECT_FALSE(reachability.IsReachable(b, e)); in TEST_F()
[all …]
Dhlo_reachability.h126 bool IsReachable(const HloInstruction* a, const HloInstruction* b) const { in IsReachable() function
127 return IsReachable(GetIndex(a), GetIndex(b)); in IsReachable()
129 bool IsReachable(Index a, Index b) const { return GetBitVector(b).Get(a.v); } in IsReachable() function
139 return IsReachable(a, b) || IsReachable(b, a); in IsConnected()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/utils/
Dcycle_detector_test.cc59 TEST_F(GraphCyclesTest, IsReachable) { in TEST_F() argument
65 EXPECT_TRUE(g_.IsReachable(1, 5)); in TEST_F()
66 EXPECT_FALSE(g_.IsReachable(5, 1)); in TEST_F()
/external/openscreen/third_party/abseil/src/absl/synchronization/internal/
Dgraphcycles_test.cc50 static bool IsReachable(Edges *edges, int from, int to, in IsReachable() function
59 IsReachable(edges, edge.to, to, seen)) { in IsReachable()
94 if (IsReachable(edges, a, b, &seen)) { in PrintTransitiveClosure()
107 if (gc->IsReachable(Get(id, a), Get(id, b))) { in PrintGCTransitiveClosure()
121 bool gc_reachable = gc->IsReachable(Get(id, a), Get(id, b)); in CheckTransitiveClosure()
122 bool reachable = IsReachable(edges, a, b, &seen); in CheckTransitiveClosure()
260 ASSERT_TRUE(IsReachable(&edges, nodes[to], nodes[from], &seen)) in TEST()
288 bool reachable = IsReachable(&edges, nodes[from], nodes[to], &seen); in TEST()
290 graph_cycles.IsReachable(Get(id, nodes[from]), Get(id, nodes[to])); in TEST()
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/
Dgraphcycles_test.cc50 static bool IsReachable(Edges *edges, int from, int to, in IsReachable() function
59 IsReachable(edges, edge.to, to, seen)) { in IsReachable()
94 if (IsReachable(edges, a, b, &seen)) { in PrintTransitiveClosure()
107 if (gc->IsReachable(Get(id, a), Get(id, b))) { in PrintGCTransitiveClosure()
121 bool gc_reachable = gc->IsReachable(Get(id, a), Get(id, b)); in CheckTransitiveClosure()
122 bool reachable = IsReachable(edges, a, b, &seen); in CheckTransitiveClosure()
260 ASSERT_TRUE(IsReachable(&edges, nodes[to], nodes[from], &seen)) in TEST()
288 bool reachable = IsReachable(&edges, nodes[from], nodes[to], &seen); in TEST()
290 graph_cycles.IsReachable(Get(id, nodes[from]), Get(id, nodes[to])); in TEST()
/external/abseil-cpp/absl/synchronization/internal/
Dgraphcycles_test.cc50 static bool IsReachable(Edges *edges, int from, int to, in IsReachable() function
59 IsReachable(edges, edge.to, to, seen)) { in IsReachable()
94 if (IsReachable(edges, a, b, &seen)) { in PrintTransitiveClosure()
107 if (gc->IsReachable(Get(id, a), Get(id, b))) { in PrintGCTransitiveClosure()
121 bool gc_reachable = gc->IsReachable(Get(id, a), Get(id, b)); in CheckTransitiveClosure()
122 bool reachable = IsReachable(edges, a, b, &seen); in CheckTransitiveClosure()
260 ASSERT_TRUE(IsReachable(&edges, nodes[to], nodes[from], &seen)) in TEST()
288 bool reachable = IsReachable(&edges, nodes[from], nodes[to], &seen); in TEST()
290 graph_cycles.IsReachable(Get(id, nodes[from]), Get(id, nodes[to])); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dgraphcycles_test.cc50 static bool IsReachable(Edges *edges, int from, int to, in IsReachable() function
59 IsReachable(edges, edge.to, to, seen)) { in IsReachable()
94 if (IsReachable(edges, a, b, &seen)) { in PrintTransitiveClosure()
107 if (gc->IsReachable(Get(id, a), Get(id, b))) { in PrintGCTransitiveClosure()
121 bool gc_reachable = gc->IsReachable(Get(id, a), Get(id, b)); in CheckTransitiveClosure()
122 bool reachable = IsReachable(edges, a, b, &seen); in CheckTransitiveClosure()
260 ASSERT_TRUE(IsReachable(&edges, nodes[to], nodes[from], &seen)) in TEST()
288 bool reachable = IsReachable(&edges, nodes[from], nodes[to], &seen); in TEST()
290 graph_cycles.IsReachable(Get(id, nodes[from]), Get(id, nodes[to])); in TEST()
Dgraphcycles.h96 bool IsReachable(GraphId source_node, GraphId dest_node) const;
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dgraphcycles_test.cc50 static bool IsReachable(Edges *edges, int from, int to, in IsReachable() function
59 IsReachable(edges, edge.to, to, seen)) { in IsReachable()
94 if (IsReachable(edges, a, b, &seen)) { in PrintTransitiveClosure()
107 if (gc->IsReachable(Get(id, a), Get(id, b))) { in PrintGCTransitiveClosure()
121 bool gc_reachable = gc->IsReachable(Get(id, a), Get(id, b)); in CheckTransitiveClosure()
122 bool reachable = IsReachable(edges, a, b, &seen); in CheckTransitiveClosure()
260 ASSERT_TRUE(IsReachable(&edges, nodes[to], nodes[from], &seen)) in TEST()
288 bool reachable = IsReachable(&edges, nodes[from], nodes[to], &seen); in TEST()
290 graph_cycles.IsReachable(Get(id, nodes[from]), Get(id, nodes[to])); in TEST()
/external/angle/third_party/abseil-cpp/absl/synchronization/internal/
Dgraphcycles_test.cc50 static bool IsReachable(Edges *edges, int from, int to, in IsReachable() function
59 IsReachable(edges, edge.to, to, seen)) { in IsReachable()
94 if (IsReachable(edges, a, b, &seen)) { in PrintTransitiveClosure()
107 if (gc->IsReachable(Get(id, a), Get(id, b))) { in PrintGCTransitiveClosure()
121 bool gc_reachable = gc->IsReachable(Get(id, a), Get(id, b)); in CheckTransitiveClosure()
122 bool reachable = IsReachable(edges, a, b, &seen); in CheckTransitiveClosure()
260 ASSERT_TRUE(IsReachable(&edges, nodes[to], nodes[from], &seen)) in TEST()
288 bool reachable = IsReachable(&edges, nodes[from], nodes[to], &seen); in TEST()
290 graph_cycles.IsReachable(Get(id, nodes[from]), Get(id, nodes[to])); in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/graphcycles/
Dgraphcycles_test.cc44 static bool IsReachable(Edges *edges, int from, int to, in IsReachable() function
54 IsReachable(edges, edge->to, to, seen)) { in IsReachable()
101 if (IsReachable(edges, a, b, &seen)) { in PrintTransitiveClosure()
116 if (gc->IsReachable(a, b)) { in PrintGCTransitiveClosure()
132 bool gc_reachable = gc->IsReachable(a, b); in CheckTransitiveClosure()
134 bool reachable = IsReachable(edges, a, b, &seen); in CheckTransitiveClosure()
278 ASSERT_TRUE(IsReachable(&edges, nodes[to], nodes[from], &seen)) in TEST()
307 bool reachable = IsReachable(&edges, nodes[from], nodes[to], &seen); in TEST()
308 bool gc_reachable = graph_cycles.IsReachable(nodes[from], nodes[to]); in TEST()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/reduce/
Dstructured_construct_to_block_reduction_opportunity_finder.cpp80 if (!context->IsReachable(block)) { in GetAvailableOpportunities()
86 if (!context->IsReachable(*merge_block)) { in GetAvailableOpportunities()
172 if (!context->IsReachable(*context->cfg()->block(pred))) { in HasUnreachablePredecessor()
Dstructured_loop_to_selection_reduction_opportunity.cpp30 return loop_construct_header_->GetLabel()->context()->IsReachable( in PreconditionHolds()
79 if (!context_->IsReachable(*context_->cfg()->block(pred))) { in RedirectToClosestMergeBlock()
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dfuzzer_pass_test.cpp87 ASSERT_TRUE(dominator_analysis->IsReachable(5)); in TEST()
88 ASSERT_FALSE(dominator_analysis->IsReachable(8)); in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dfuzzer_pass_test.cpp87 ASSERT_TRUE(dominator_analysis->IsReachable(5)); in TEST()
88 ASSERT_FALSE(dominator_analysis->IsReachable(8)); in TEST()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dfuzzer_pass_test.cpp87 ASSERT_TRUE(dominator_analysis->IsReachable(5)); in TEST()
88 ASSERT_FALSE(dominator_analysis->IsReachable(8)); in TEST()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Ddominator_analysis.h78 inline bool IsReachable(const BasicBlock* node) const { in IsReachable() function
84 inline bool IsReachable(uint32_t node_id) const { in IsReachable() function
Dblock_merge_pass.cpp32 if (context()->IsReachable(*bi) && in MergeBlocks()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddominator_analysis.h78 inline bool IsReachable(const BasicBlock* node) const { in IsReachable() function
84 inline bool IsReachable(uint32_t node_id) const { in IsReachable() function
/external/deqp-deps/SPIRV-Tools/source/opt/
Ddominator_analysis.h78 inline bool IsReachable(const BasicBlock* node) const { in IsReachable() function
84 inline bool IsReachable(uint32_t node_id) const { in IsReachable() function
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dfuzzer_pass_propagate_instructions_down.cpp34 if (GetIRContext()->IsReachable(block)) { in Apply()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_propagate_instructions_down.cpp37 if (GetIRContext()->GetDominatorAnalysis(&function)->IsReachable( in Apply()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_propagate_instructions_down.cpp37 if (GetIRContext()->GetDominatorAnalysis(&function)->IsReachable( in Apply()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp33 ->IsReachable(loop_construct_header_); in PreconditionHolds()
82 ->IsReachable(pred)) { in RedirectToClosestMergeBlock()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp33 ->IsReachable(loop_construct_header_); in PreconditionHolds()
82 ->IsReachable(pred)) { in RedirectToClosestMergeBlock()

12345