Home
last modified time | relevance | path

Searched refs:reachable_functions (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
H A Ddecompose_resource_ops_pass.cc44 ModuleOp module, SmallPtrSetImpl<Operation*>& reachable_functions) { in PopulateClusterReachableFunctions() argument
65 if (reachable_functions.insert(func).second) in PopulateClusterReachableFunctions()
77 if (reachable_functions.insert(callee).second) in PopulateClusterReachableFunctions()
115 SmallPtrSet<Operation*, 16> reachable_functions; in ApplyPatternsInClusterAndReachableFunctions() local
116 PopulateClusterReachableFunctions(module, reachable_functions); in ApplyPatternsInClusterAndReachableFunctions()
119 for (Operation* op : reachable_functions) { in ApplyPatternsInClusterAndReachableFunctions()
134 if (reachable_functions.contains(func)) continue; in ApplyPatternsInClusterAndReachableFunctions()
H A Dexecutor_tpuv1_island_coarsening.cc371 SmallPtrSet<Operation*, 16> reachable_functions; in FindTPUPartitionedCallReachableFunctions() local
375 if (reachable_functions.insert(caller).second) { in FindTPUPartitionedCallReachableFunctions()
381 return reachable_functions; in FindTPUPartitionedCallReachableFunctions()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/tf2xla/
H A Dtf2xla_util.cc972 FunctionLibraryDefinition reachable_functions = in PruneUnreachableFunctionsFromGraph() local
975 if (!reachable_functions.Find(func_name)) { in PruneUnreachableFunctionsFromGraph()
/aosp_15_r20/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
H A Ddistributed_tpu_rewrite_pass.cc4775 FunctionLibraryDefinition reachable_functions = in RewriteTPUReplicateNode() local
4780 FingerprintFunctionLibrary(reachable_functions, &library_fingerprint)); in RewriteTPUReplicateNode()
4782 << absl::StrJoin(reachable_functions.ListFunctionNames(), ", "); in RewriteTPUReplicateNode()
4848 ContainsResourceWriteOp(*graph, reachable_functions); in RewriteTPUReplicateNode()