Home
last modified time | relevance | path

Searched refs:call_graph (Results 1 – 25 of 47) 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.cc281 auto call_graph = absl::WrapUnique<CallGraph>(new CallGraph(module)); in Build() local
288 auto it_added = call_graph->node_indices_.insert( in Build()
289 {computation, call_graph->nodes_.size()}); in Build()
293 call_graph->nodes_.emplace_back(computation); in Build()
297 call_graph->nodes_.back().AddCallSiteForInstruction(instruction); in Build()
304 call_graph->GetNode(computation).callsites()) { in Build()
307 call_graph->GetNode(callee).AddCallerCallSite(callsite); in Build()
312 call_graph->SetCallContexts(); in Build()
313 call_graph->SetNodeDepths(); in Build()
315 XLA_VLOG_LINES(2, call_graph->ToString()); in Build()
[all …]
Dcall_inliner.cc137 std::unique_ptr<CallGraph> call_graph = CallGraph::Build(module); in Run() local
142 call_graph->VisitNodes([&](const CallGraphNode& node) -> Status { in Run()
148 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()
/external/llvm-project/lld/test/ELF/
Dcgprofile-txt.s7 # RUN: echo "A B 10" > %t.call_graph
8 # RUN: echo "A B 10" >> %t.call_graph
9 # RUN: echo "Aa B 80" >> %t.call_graph
10 # RUN: echo "A C 40" >> %t.call_graph
11 # RUN: echo "B C 30" >> %t.call_graph
12 # RUN: echo "C D 90" >> %t.call_graph
13 # RUN: echo "PP TS 100" >> %t.call_graph
14 # RUN: echo "_init2 _init 24567837" >> %t.call_graph
15 # RUN: echo "TS QC 9001" >> %t.call_graph
16 # RUN: echo "TooManyPreds0 TooManyPreds 10" >> %t.call_graph
[all …]
Dcgprofile-warn.s5 # RUN: echo "A B 100" > %t.call_graph
6 # RUN: echo "A C 40" >> %t.call_graph
7 # RUN: echo "B C 30" >> %t.call_graph
8 # RUN: echo "adena1 A 30" >> %t.call_graph
9 # RUN: echo "A adena2 30" >> %t.call_graph
10 # RUN: echo "poppy A 30" >> %t.call_graph
11 # RUN: ld.lld -e A %t --call-graph-ordering-file %t.call_graph -o /dev/null \
29 # CHECK: {{.*}}.call_graph: no such symbol: adena1
30 # CHECK: {{.*}}.call_graph: no such symbol: adena2
33 # RUN: ld.lld %t --call-graph-ordering-file %t.call_graph -o /dev/null \
Dcgprofile-bad-clusters.s6 # RUN: echo "A C 1" > %t.call_graph
7 # RUN: echo "E B 4" >> %t.call_graph
8 # RUN: echo "C D 2" >> %t.call_graph
9 # RUN: echo "B D 1" >> %t.call_graph
10 # RUN: echo "F G 6" >> %t.call_graph
11 # RUN: echo "G H 5" >> %t.call_graph
12 # RUN: echo "H I 4" >> %t.call_graph
13 # RUN: ld.lld -e A %t --call-graph-ordering-file %t.call_graph -o %t2
Dcgprofile-err.s5 # RUN: echo "A B C 100" > %t.call_graph
7 # RUN: %t.call_graph -o /dev/null 2>&1 | FileCheck %s
9 # CHECK: {{.*}}.call_graph: parse error
11 # RUN: echo "A B C" > %t.call_graph
13 # RUN: %t.call_graph -o /dev/null 2>&1 | FileCheck %s
Dcgprofile-print.s4 # RUN: echo "A B 5" > %t.call_graph
5 # RUN: echo "B C 50" >> %t.call_graph
6 # RUN: echo "C D 40" >> %t.call_graph
7 # RUN: echo "D B 10" >> %t.call_graph
8 # RUN: ld.lld -e A %t --call-graph-ordering-file %t.call_graph -o %t2 --print-symbol-order=%t3
Dcgprofile-txt2.s4 # RUN: echo "A B 5" > %t.call_graph
5 # RUN: echo "B C 50" >> %t.call_graph
6 # RUN: echo "C D 40" >> %t.call_graph
7 # RUN: echo "D B 10" >> %t.call_graph
8 # RUN: ld.lld -e A %t --call-graph-ordering-file %t.call_graph -o %t2
Dcgprofile-reproduce.s4 # RUN: echo "A B 5" > %t.call_graph
5 # RUN: echo "B C 50" >> %t.call_graph
6 # RUN: echo "C D 40" >> %t.call_graph
7 # RUN: echo "D B 10" >> %t.call_graph
8 # RUN: ld.lld -e A %t --call-graph-ordering-file %t.call_graph -o %t2 --print-symbol-order=%t3
Dcgprofile-icf.s5 # RUN: echo "A B 100" > %t.call_graph
6 # RUN: echo "A C 40" >> %t.call_graph
7 # RUN: echo "C D 61" >> %t.call_graph
8 # RUN: ld.lld -e A %t --call-graph-ordering-file %t.call_graph -o %t.out -icf=all
10 # RUN: ld.lld -e A %t --call-graph-ordering-file %t.call_graph -o %t2.out
/external/llvm-project/lld/test/COFF/
Dcgprofile-bad-clusters.s6 # RUN: echo "A C 1" > %t.call_graph
7 # RUN: echo "E B 4" >> %t.call_graph
8 # RUN: echo "C D 2" >> %t.call_graph
9 # RUN: echo "B D 1" >> %t.call_graph
10 # RUN: echo "F G 6" >> %t.call_graph
11 # RUN: echo "G H 5" >> %t.call_graph
12 # RUN: echo "H I 4" >> %t.call_graph
13 # RUN: lld-link /subsystem:console /entry:A %t /call-graph-ordering-file:%t.call_graph /out:%t2 /de…
Dcgprofile-err.s5 # RUN: echo "A B C 100" > %t.call_graph
6 # RUN: not lld-link /dll /noentry /subsystem:console %t /call-graph-ordering-file:%t.call_graph /o…
8 # CHECK: {{.*}}.call_graph: parse error
10 # RUN: echo "A B C" > %t.call_graph
11 # RUN: not lld-link /dll /noentry /subsystem:console %t /call-graph-ordering-file:%t.call_graph /o…
Dcgprofile-print.s4 # RUN: echo "A B 5" > %t.call_graph
5 # RUN: echo "B C 50" >> %t.call_graph
6 # RUN: echo "C D 40" >> %t.call_graph
7 # RUN: echo "D B 10" >> %t.call_graph
8 # RUN: lld-link /subsystem:console /entry:A %t /call-graph-ordering-file:%t.call_graph /out:%t2 /pr…
Dcgprofile-txt.s8 # RUN: echo "A B 5" > %t.call_graph
9 # RUN: echo "B C 50" >> %t.call_graph
10 # RUN: echo "C D 40" >> %t.call_graph
11 # RUN: echo "D B 10" >> %t.call_graph
12 # RUN: lld-link /subsystem:console /entry:A %t /call-graph-ordering-file:%t.call_graph /out:%t2 /de…
Dcgprofile-icf.s5 # RUN: echo "A B 100" > %t.call_graph
6 # RUN: echo "A C 40" >> %t.call_graph
7 # RUN: echo "C D 61" >> %t.call_graph
8 # RUN: lld-link /subsystem:console /entry:A %t /call-graph-ordering-file:%t.call_graph /out:%t2 /de…
10 # RUN: lld-link /subsystem:console /entry:A %t /call-graph-ordering-file:%t.call_graph /out:%t2 /de…
/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/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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dfuzzer_pass_add_function_calls.cpp55 CallGraph call_graph(GetIRContext()); in Apply() local
83 if (call_graph.GetIndirectCallees(candidate_function->result_id()) in Apply()
/external/swiftshader/third_party/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()

12