/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | BreadthFirstIteratorTest.cpp | 22 G.AddEdge(0, 1); in TEST() 23 G.AddEdge(0, 2); in TEST() 24 G.AddEdge(1, 3); in TEST() 47 G.AddEdge(0, 1); in TEST() 48 G.AddEdge(1, 0); in TEST() 49 G.AddEdge(1, 2); in TEST() 50 G.AddEdge(2, 1); in TEST() 51 G.AddEdge(2, 1); in TEST() 52 G.AddEdge(2, 3); in TEST() 53 G.AddEdge(3, 2); in TEST() [all …]
|
D | DepthFirstIteratorTest.cpp | 46 G.AddEdge(0, 1); in TEST() 47 G.AddEdge(0, 2); in TEST()
|
D | SCCIteratorTest.cpp | 39 G.AddEdge(i, j); in TEST() 43 G.AddEdge(i, j); in TEST()
|
/external/tensorflow/tensorflow/compiler/jit/graphcycles/ |
D | graphcycles_test.cc | 390 bool AddEdge(int x, int y) { return g_.InsertEdge(x, y); } in AddEdge() function in GraphCyclesTest 395 EXPECT_TRUE(AddEdge(x, 2 * x)) << x; in AddMultiples() 396 EXPECT_TRUE(AddEdge(x, 3 * x)) << x; in AddMultiples() 427 EXPECT_FALSE(AddEdge(8, 4)); in TEST_F() 434 EXPECT_TRUE(AddEdge(16, 9)); in TEST_F() 436 EXPECT_FALSE(AddEdge(9, 2)); in TEST_F() 442 ASSERT_TRUE(AddEdge(2, 4)); in TEST_F() 443 ASSERT_TRUE(AddEdge(4, 6)); in TEST_F() 444 ASSERT_TRUE(AddEdge(6, 8)); in TEST_F() 445 ASSERT_TRUE(AddEdge(8, 10)); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph_test.cc | 190 graph_.AddEdge(a, 0, c, 0); in TEST_F() 220 graph_.AddEdge(a, 0, c, 0); in TEST_F() 235 graph_.AddEdge(a, 0, t, 0); in TEST_F() 237 graph_.AddEdge(t, 0, t, 1); in TEST_F() 271 graph_.AddEdge(a_new, 0, c, 0); in TEST_F() 276 graph_.AddEdge(b_new, 0, c, 0); in TEST_F() 301 graph_.AddEdge(a, 0, c, 0); in TEST_F() 394 graph_.AddEdge(a, 0, b, 0); in TEST_F() 401 graph_.AddEdge(a, 1, a, 0); in TEST_F() 549 graph_.AddEdge(a, 0, c, 0); in TEST_F() [all …]
|
D | mkl_tfconversion_pass.cc | 197 CHECK_NOTNULL((*g)->AddEdge(conversion_node, 0, dst, e->dst_input())); in InsertConversionNodeOnEdge() 281 CHECK_NOTNULL((*g)->AddEdge(conversion_node, 0, n, edges[0]->dst_input())); in InsertInputConversionNode() 282 CHECK_NOTNULL((*g)->AddEdge(conversion_node, 1, n, edges[1]->dst_input())); in InsertInputConversionNode() 283 CHECK_NOTNULL((*g)->AddEdge(conversion_node, 2, n, edges[2]->dst_input())); in InsertInputConversionNode() 284 CHECK_NOTNULL((*g)->AddEdge(conversion_node, 3, n, edges[3]->dst_input())); in InsertInputConversionNode()
|
D | gradients.cc | 77 g->AddEdge(input.node, input.index, read, 0); in AddZerosLike() 85 g->AddEdge(read, 0, ret, 0); in AddZerosLike() 96 g->AddEdge(input.node, input.index, ret, 0); in AddZerosLike() 322 graph_->AddEdge(nout.node, nout.index, add, i); in SumGradients() 378 graph_->AddEdge(e->src(), e->src_output(), grad, e->dst_input()); in Compute() 381 graph_->AddEdge(dy[i].node, dy[i].index, grad, num_x + i); in Compute()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | encapsulate_xla_computations_pass_test.cc | 67 scope.graph()->AddEdge(a.node(), 0, launch, 0); in MakeOuterGraph() 68 scope.graph()->AddEdge(b.node(), 0, launch, 1); in MakeOuterGraph() 69 scope.graph()->AddEdge(c.node(), 0, launch, 2); in MakeOuterGraph() 70 scope.graph()->AddEdge(d.node(), 0, launch, 3); in MakeOuterGraph() 71 scope.graph()->AddEdge(u.node(), 0, launch, 4); in MakeOuterGraph() 72 scope.graph()->AddEdge(v.node(), 0, launch, 5); in MakeOuterGraph() 73 scope.graph()->AddEdge(w.node(), 0, launch, 6); in MakeOuterGraph()
|
D | extract_outside_compilation_pass.cc | 145 g->AddEdge(recv_at_host_node, index, edge.dst, edge.dst_input); in ReplaceArgNodesWithRecvAtHostNode() 171 g->AddEdge(key_placeholder, 0, recv_at_host_node, 0); in ReplaceArgNodesWithRecvAtHostNode() 253 g->AddEdge(edge->src(), edge->src_output(), send_from_host_node, index); in ReplaceRetNodesWithSendFromHostNode() 258 g->AddEdge(key_placeholder, 0, send_from_host_node, in ReplaceRetNodesWithSendFromHostNode() 549 host_graph.AddEdge(node_map[e->src()], e->src_output(), copy, in ConstructHostGraph() 663 main_graph->AddEdge(node_map[e->src()], e->src_output(), copy, in ExpandHostGraphIntoMainGraph() 759 g->AddEdge(node_map[e->src()], e->src_output(), copy, e->dst_input()); in RewriteShapeInferenceGraph() 819 g->AddEdge(pred_node, 0, send_pred_node, 0); in BuildSendIfPredNode() 909 host_graph.AddEdge(key_placeholder, 0, recv_pred_node, 0); in BuildHostGraphForIfNode() 941 host_graph.AddEdge(recv_pred_node, 0, if_node, 0); in BuildHostGraphForIfNode() [all …]
|
D | clone_constants_for_better_clustering.cc | 49 g->AddEdge(e->src(), e->src_output(), new_in, e->dst_input()); in CloneNode() 116 g->AddEdge(input_cloned, 0, n, dst_input); in CloneSmallHostConstantInputs()
|
D | build_xla_ops_pass.cc | 55 g->AddEdge(new_node, edge->src_output(), edge->dst(), edge->dst_input()); in MoveOutgoingEdges() 101 s.graph()->AddEdge(merged_output.node(), merged_output.index(), dst, in MergeOutgoingDataEdges() 265 g->AddEdge(call.operation.node(), e->src_output(), e->dst(), in ReplaceFunctionCallWithPartionedCall()
|
D | shape_inference_helpers.cc | 61 graph_->AddEdge(be.src, be.src_output, be.dst, be.dst_input); in Replace()
|
D | partially_decluster_pass.cc | 135 graph->AddEdge(in_edge->src(), in_edge->src_output(), cloned_node, in PartiallyDeclusterNode() 140 graph->AddEdge(cloned_node, out_edge_to_clone->src_output(), in PartiallyDeclusterNode()
|
/external/tensorflow/tensorflow/core/nccl/ |
D | nccl_rewrite.cc | 98 graph->AddEdge(recv_node, 0, out_node.node, out_node.index); in ReplaceReduce() 154 graph->AddEdge(in_node, in_index, out_node.node, out_node.index); in ReplaceBroadcast() 195 graph->AddEdge(in_node.node, in_node.index, out_node.node, in ReplaceBroadcast() 235 graph->AddEdge(recv_node, 0, out_node.node, out_node.index); in ReplaceBroadcast()
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/segment/ |
D | segment.cc | 120 void AddEdge(SimpleNode* src, int out_port, SimpleNode* dst, int in_port); 182 void SimpleGraph::AddEdge(SimpleNode* src, int out_port, SimpleNode* dst, in AddEdge() function in tensorflow::tensorrt::segment::SimpleGraph 201 AddEdge(src, Graph::kControlSlot, dst, Graph::kControlSlot); in AddControlEdge() 367 graph->AddEdge(e->src(), e->src_output(), src, Graph::kControlSlot); in ContractEdge() 369 graph->AddEdge(e->src(), e->src_output(), src, 0 /* input index */); in ContractEdge() 386 graph->AddEdge(src, Graph::kControlSlot, e->dst(), e->dst_input()); in ContractEdge() 388 graph->AddEdge(src, 0 /* output index */, e->dst(), e->dst_input()); in ContractEdge()
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | SCCIteratorTest.cpp | 115 void AddEdge(unsigned FromIdx, unsigned ToIdx) { in AddEdge() function in llvm::Graph 266 G.AddEdge(i, j); in TEST() 270 G.AddEdge(i, j); in TEST()
|
/external/llvm/unittests/ADT/ |
D | SCCIteratorTest.cpp | 113 void AddEdge(unsigned FromIdx, unsigned ToIdx) { in AddEdge() function in llvm::Graph 264 G.AddEdge(i, j); in TEST() 268 G.AddEdge(i, j); in TEST()
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
D | project.py | 162 g.AddEdge(m, dep.id) 197 g.AddEdge(out_dep, cur) 225 def AddEdge(self, mFrom, mTo): member in _Graph
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | functionalize_while.cc | 128 output->AddEdge(src_copy, src_output, dst_copy, e->dst_input()); in CopySubgraph() 218 output->AddEdge(arg_node, 0, retval_node, 0); in BuildLoopBody() 323 graph->AddEdge(e->src(), e->src_output(), new_arg.enter, in FunctionalizeLoop() 329 graph->AddEdge(new_arg.enter, 0, dst, dst_input); in FunctionalizeLoop() 555 graph->AddEdge(in_edge->src(), in_edge->src_output(), while_node, i); in FunctionalizeLoop() 571 graph->AddEdge(while_node, i, dst, dst_input); in FunctionalizeLoop()
|
D | functionalize_cond.cc | 454 bodies_[branch_index]->AddEdge(src_copy, 0, dst_copy, dst_input); in BuildArgumentNodes() 509 graph->AddEdge(switch_node, static_cast<int>(branch), dst, dst_input); in AddSwitchNodeAlongEdge() 683 output->AddEdge(src_copy, src_output, dst_copy, e->dst_input()); in ExtractBodies() 713 output->AddEdge(node_map[in->id()], e->src_output(), in ExtractBodies() 822 graph->AddEdge(iter->second.node, iter->second.index, if_node_, index++); in AddInputEdges() 824 graph->AddEdge(const_cast<Node*>(predicate_.node), predicate_.index, in AddInputEdges() 832 graph->AddEdge(arg.src, arg.src_output, if_node_, index++); in AddInputEdges() 864 graph->AddEdge(if_node_, i, dst, dst_input); in AddOutputEdges() 1196 graph_->AddEdge(non_dead_edge->src(), in RemoveRedundantMerge() 1267 graph_->AddEdge( in RemoveRedundantSwitch()
|
D | tf2xla_util.cc | 157 g->AddEdge(const_node, 0, replace_node, usages[i].dst_input); in ReplaceArgUsageWithConstNode() 648 graph->AddEdge(edge->src(), edge->src_output(), new_node, in RewriteAssociatedFunction() 652 graph->AddEdge(new_node, edge->src_output(), edge->dst(), in RewriteAssociatedFunction() 735 g->AddEdge(in_edge->src(), in_edge->src_output(), new_node, in ReplaceNode() 739 g->AddEdge(new_node, out_edge.src_output, out_edge.dst, out_edge.dst_input); in ReplaceNode()
|
D | functionalize_control_flow_test.cc | 238 scope.graph()->AddEdge(next_iteration.node(), 0, merge.output.node(), 1); in TEST() 393 scope.graph()->AddEdge(n, 0, merge.output.node(), 1); in TEST() 518 scope.graph()->AddEdge(next_iteration.node(), 0, merge.output.node(), 1); in TEST() 663 scope.graph()->AddEdge(next_iteration_x.node(), 0, merge_x.output.node(), in TEST() 665 scope.graph()->AddEdge(next_iteration_y.node(), 0, merge_y.output.node(), in TEST() 903 scope.graph()->AddEdge(next_iteration_i.node(), 0, merge_i.output.node(), in TEST() 905 scope.graph()->AddEdge(next_iteration_j.node(), 0, merge_j.output.node(), in TEST() 907 scope.graph()->AddEdge(next_iteration_k.node(), 0, merge_k.output.node(), in TEST()
|
/external/tensorflow/tensorflow/core/debug/ |
D | debug_graph_utils.cc | 162 graph->AddEdge(src_node, src_output_slot, copy_node, 0); in InsertNodes() 174 graph->AddEdge(copy_node, 0, debug_node, 0); in InsertNodes() 199 graph->AddEdge(copy_node, 0, edge->dst(), edge->dst_input()); in InsertNodes() 207 graph->AddEdge(debug_node, Graph::kControlSlot, edge->dst(), in InsertNodes()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | loop_fusion.cpp | 653 cfg->AddEdge(last_block_of_0->id(), first_block_of_1->id()); in Fuse() 655 cfg->AddEdge(last_block_of_1->id(), loop_0_->GetContinueBlock()->id()); in Fuse() 657 cfg->AddEdge(loop_0_->GetContinueBlock()->id(), in Fuse() 660 cfg->AddEdge(condition_block_of_0->id(), loop_1_->GetMergeBlock()->id()); in Fuse()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | loop_fusion.cpp | 653 cfg->AddEdge(last_block_of_0->id(), first_block_of_1->id()); in Fuse() 655 cfg->AddEdge(last_block_of_1->id(), loop_0_->GetContinueBlock()->id()); in Fuse() 657 cfg->AddEdge(loop_0_->GetContinueBlock()->id(), in Fuse() 660 cfg->AddEdge(condition_block_of_0->id(), loop_1_->GetMergeBlock()->id()); in Fuse()
|