/external/tensorflow/tensorflow/compiler/xla/service/ |
D | call_graph_test.cc | 100 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module.get()); in TEST_F() local 101 EXPECT_EQ(1, call_graph->nodes().size()); in TEST_F() 102 EXPECT_TRUE(call_graph->IsFlattened()); in TEST_F() 104 const CallGraphNode& node = call_graph->GetNode(computation); in TEST_F() 123 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module.get()); in TEST_F() local 124 EXPECT_EQ(2, call_graph->nodes().size()); in TEST_F() 126 const CallGraphNode& entry_node = call_graph->GetNode(entry_computation); in TEST_F() 132 call_graph->GetNode(unreachable_computation); in TEST_F() 147 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module.get()); in TEST_F() local 148 EXPECT_EQ(2, call_graph->nodes().size()); in TEST_F() [all …]
|
D | flatten_call_graph_test.cc | 180 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module.get()); in TEST_F() local 181 const CallGraphNode& cond_node = call_graph->GetNode(cond_computation); in TEST_F() 188 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module.get()); in TEST_F() local 189 const CallGraphNode& cond_node = call_graph->GetNode(cond_computation); in TEST_F() 217 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module.get()); in TEST_F() local 220 const CallGraphNode& c_node = call_graph->GetNode(c_computation); in TEST_F() 223 const CallGraphNode& b_node = call_graph->GetNode(b_computation); in TEST_F() 249 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module.get()); in TEST_F() local 253 const CallGraphNode& sub_node = call_graph->GetNode(sub_computation); in TEST_F()
|
D | call_graph.cc | 280 auto call_graph = absl::WrapUnique<CallGraph>(new CallGraph(module)); in Build() local 287 auto it_added = call_graph->node_indices_.insert( in Build() 288 {computation, call_graph->nodes_.size()}); in Build() 292 call_graph->nodes_.emplace_back(computation); in Build() 296 call_graph->nodes_.back().AddCallSiteForInstruction(instruction); in Build() 303 call_graph->GetNode(computation).callsites()) { in Build() 306 call_graph->GetNode(callee).AddCallerCallSite(callsite); in Build() 311 call_graph->SetCallContexts(); in Build() 312 call_graph->SetNodeDepths(); in Build() 314 XLA_VLOG_LINES(2, call_graph->ToString()); in Build() [all …]
|
D | call_inliner.cc | 138 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module); in Run() local 143 call_graph->VisitNodes([&](const CallGraphNode& node) -> Status { in Run() 149 call_graph->GetNode(instruction->to_apply()) in Run()
|
D | defuser.cc | 97 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module); in Run() local 98 TF_RETURN_IF_ERROR(call_graph->VisitNodes( in Run()
|
D | conditional_to_select.cc | 66 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module); in Run() local 70 call_graph->VisitNodes([&](const CallGraphNode& node) -> Status { in Run()
|
D | hlo_liveness_analysis.cc | 197 Workset* workset, CallGraph* call_graph) { in PropagateLivenessToParameterCallers() argument 200 call_graph->GetNode(instruction->parent()); in PropagateLivenessToParameterCallers() 228 Workset* workset, CallGraph* call_graph) { in PropagateLivenessThroughControlFlow() argument 230 call_graph->GetNode(instruction->parent()); in PropagateLivenessThroughControlFlow()
|
D | flatten_call_graph.cc | 120 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module); in Run() local 121 TF_RETURN_IF_ERROR(call_graph->VisitNodes(FlattenNode)); in Run()
|
D | copy_insertion.cc | 982 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module); in AddSpecialCaseCopies() local 983 return AddSpecialCaseCopies(*call_graph, module); in AddSpecialCaseCopies() 986 Status CopyInsertion::AddSpecialCaseCopies(const CallGraph& call_graph, in AddSpecialCaseCopies() argument 1023 const CallGraphNode& node = call_graph.GetNode(computation); in AddSpecialCaseCopies() 1102 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module); in RemoveUnnecessaryCopies() local 1141 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module); in Run() local 1142 if (!call_graph->IsFlattened()) { in Run() 1177 TF_RETURN_IF_ERROR(AddSpecialCaseCopies(*call_graph, module)); in Run()
|
D | copy_insertion.h | 83 virtual Status AddSpecialCaseCopies(const CallGraph& call_graph,
|
D | hlo_ordering.h | 72 const CallGraph& call_graph() const { return *call_graph_; } in call_graph() function
|
D | hlo_alias_analysis.cc | 230 dataflow_.call_graph().GetNode(computation); in ComputeWhileAliasedBuffers() 249 dataflow_.call_graph().GetNode(computation); in ComputeWhileAliasedBuffers() 285 dataflow_.call_graph().GetNode(computation); in ComputeConditionalAliasedBuffers()
|
D | hlo_dataflow_analysis.h | 134 const CallGraph& call_graph() const { return *call_graph_; } in call_graph() function
|
D | BUILD | 343 ":call_graph", 667 name = "call_graph", 668 srcs = ["call_graph.cc"], 669 hdrs = ["call_graph.h"], 687 ":call_graph", 707 ":call_graph", 721 ":call_graph", 757 ":call_graph", 1256 ":call_graph", 1285 ":call_graph", [all …]
|
D | hlo_ordering.cc | 290 call_graph().InstructionIsNestedIn(b.instruction(), in LiveRangeStrictlyBefore()
|
/external/google-fruit/extras/scripts/ |
D | analyze_template_instantiations_clang_diagnostics.py | 364 call_graph = {} 373 if called in call_graph and call_graph[called] != caller: 377 call_graph[called] = caller
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | fuzzer_pass_add_function_calls.cpp | 56 CallGraph call_graph(GetIRContext()); in Apply() local 83 if (call_graph.GetIndirectCallees(candidate_function->result_id()) in Apply()
|
D | fuzzer_pass_donate_modules.cpp | 695 CallGraph call_graph(context); in GetFunctionsInCallGraphTopologicalOrder() local 705 call_graph.GetFunctionInDegree(); in GetFunctionsInCallGraphTopologicalOrder() 722 for (auto successor : call_graph.GetDirectCallees(next)) { in GetFunctionsInCallGraphTopologicalOrder()
|
D | CMakeLists.txt | 32 call_graph.h 117 call_graph.cpp
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | fuzzer_pass_add_function_calls.cpp | 57 CallGraph call_graph(GetIRContext()); in Apply() local 85 if (call_graph.GetIndirectCallees(candidate_function->result_id()) in Apply()
|
D | CMakeLists.txt | 32 call_graph.h 127 call_graph.cpp
|
D | fuzzer_pass_donate_modules.cpp | 756 CallGraph call_graph(context); in GetFunctionsInCallGraphTopologicalOrder() local 766 call_graph.GetFunctionInDegree(); in GetFunctionsInCallGraphTopologicalOrder() 783 for (auto successor : call_graph.GetDirectCallees(next)) { in GetFunctionsInCallGraphTopologicalOrder()
|
/external/angle/third_party/spirv-tools/src/source/fuzz/ |
D | fuzzer_pass_add_function_calls.cpp | 57 CallGraph call_graph(GetIRContext()); in Apply() local 85 if (call_graph.GetIndirectCallees(candidate_function->result_id()) in Apply()
|
D | CMakeLists.txt | 32 call_graph.h 128 call_graph.cpp
|
D | fuzzer_pass_donate_modules.cpp | 758 CallGraph call_graph(context); in GetFunctionsInCallGraphTopologicalOrder() local 768 call_graph.GetFunctionInDegree(); in GetFunctionsInCallGraphTopologicalOrder() 785 for (auto successor : call_graph.GetDirectCallees(next)) { in GetFunctionsInCallGraphTopologicalOrder()
|