Home
last modified time | relevance | path

Searched refs:call_graph (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dcall_graph_test.cc100 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 …]
Dflatten_call_graph_test.cc180 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()
Dcall_graph.cc280 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 …]
Dcall_inliner.cc138 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()
Ddefuser.cc97 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module); in Run() local
98 TF_RETURN_IF_ERROR(call_graph->VisitNodes( in Run()
Dconditional_to_select.cc66 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module); in Run() local
70 call_graph->VisitNodes([&](const CallGraphNode& node) -> Status { in Run()
Dhlo_liveness_analysis.cc197 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()
Dflatten_call_graph.cc120 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module); in Run() local
121 TF_RETURN_IF_ERROR(call_graph->VisitNodes(FlattenNode)); in Run()
Dcopy_insertion.cc982 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()
Dcopy_insertion.h83 virtual Status AddSpecialCaseCopies(const CallGraph& call_graph,
Dhlo_ordering.h72 const CallGraph& call_graph() const { return *call_graph_; } in call_graph() function
Dhlo_alias_analysis.cc230 dataflow_.call_graph().GetNode(computation); in ComputeWhileAliasedBuffers()
249 dataflow_.call_graph().GetNode(computation); in ComputeWhileAliasedBuffers()
285 dataflow_.call_graph().GetNode(computation); in ComputeConditionalAliasedBuffers()
Dhlo_dataflow_analysis.h134 const CallGraph& call_graph() const { return *call_graph_; } in call_graph() function
DBUILD343 ":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 …]
Dhlo_ordering.cc290 call_graph().InstructionIsNestedIn(b.instruction(), in LiveRangeStrictlyBefore()
/external/google-fruit/extras/scripts/
Danalyze_template_instantiations_clang_diagnostics.py364 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/
Dfuzzer_pass_add_function_calls.cpp56 CallGraph call_graph(GetIRContext()); in Apply() local
83 if (call_graph.GetIndirectCallees(candidate_function->result_id()) in Apply()
Dfuzzer_pass_donate_modules.cpp695 CallGraph call_graph(context); in GetFunctionsInCallGraphTopologicalOrder() local
705 call_graph.GetFunctionInDegree(); in GetFunctionsInCallGraphTopologicalOrder()
722 for (auto successor : call_graph.GetDirectCallees(next)) { in GetFunctionsInCallGraphTopologicalOrder()
DCMakeLists.txt32 call_graph.h
117 call_graph.cpp
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_function_calls.cpp57 CallGraph call_graph(GetIRContext()); in Apply() local
85 if (call_graph.GetIndirectCallees(candidate_function->result_id()) in Apply()
DCMakeLists.txt32 call_graph.h
127 call_graph.cpp
Dfuzzer_pass_donate_modules.cpp756 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/
Dfuzzer_pass_add_function_calls.cpp57 CallGraph call_graph(GetIRContext()); in Apply() local
85 if (call_graph.GetIndirectCallees(candidate_function->result_id()) in Apply()
DCMakeLists.txt32 call_graph.h
128 call_graph.cpp
Dfuzzer_pass_donate_modules.cpp758 CallGraph call_graph(context); in GetFunctionsInCallGraphTopologicalOrder() local
768 call_graph.GetFunctionInDegree(); in GetFunctionsInCallGraphTopologicalOrder()
785 for (auto successor : call_graph.GetDirectCallees(next)) { in GetFunctionsInCallGraphTopologicalOrder()

12