Home
last modified time | relevance | path

Searched refs:copy_def (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_opt_copy_propagate.c103 nir_ssa_def *copy_def; in copy_prop_src() local
112 copy_def= alu_instr->src[0].src.ssa; in copy_prop_src()
118 nir_instr_rewrite_src(parent_instr, src, nir_src_for_ssa(copy_def)); in copy_prop_src()
121 nir_if_rewrite_condition(parent_if, nir_src_for_ssa(copy_def)); in copy_prop_src()
/external/tensorflow/tensorflow/compiler/jit/
Dextract_outside_compilation_pass.cc1051 NodeDef copy_def = n->def(); in ConstructHostGraph() local
1053 copy_def.clear_device(); in ConstructHostGraph()
1054 copy = (*host_graph)->AddNode(copy_def, &s); in ConstructHostGraph()
1164 NodeDef copy_def = n->def(); in ExpandHostGraphIntoMainGraph() local
1165 copy = main_graph->AddNode(copy_def, &s); in ExpandHostGraphIntoMainGraph()
2175 NodeDef copy_def = n->def(); in CopyOutsideCompilationConstNodes() local
2176 copy_def.set_name(g->NewName(n->name())); in CopyOutsideCompilationConstNodes()
2177 copy_def.mutable_attr()->erase(outside_compilation_attr_name); in CopyOutsideCompilationConstNodes()
2179 Node* copy_node = g->AddNode(copy_def, &s); in CopyOutsideCompilationConstNodes()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Dencapsulate_tpu_computations_pass.cc466 NodeDef copy_def = n->def(); in MoveHeadOutsideCompilationToHost() local
467 copy_def.set_name(absl::StrCat(n->name(), "_head_oc/R", replica_id)); in MoveHeadOutsideCompilationToHost()
468 copy_def.clear_device(); in MoveHeadOutsideCompilationToHost()
471 Node* copy_node = g->AddNode(copy_def, &s); in MoveHeadOutsideCompilationToHost()
1117 NodeDef copy_def = n->def(); in MoveTailOutsideCompilationToHost() local
1118 copy_def.set_name(absl::StrCat(n->name(), "_tail_oc/R", replica_id)); in MoveTailOutsideCompilationToHost()
1119 copy_def.clear_device(); in MoveTailOutsideCompilationToHost()
1122 Node* copy_node = g->AddNode(copy_def, &s); in MoveTailOutsideCompilationToHost()