Searched refs:use_node (Results 1 – 7 of 7) sorted by relevance
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/mutations/ |
D | replace_identifier.cc | 87 const auto* use_node = node_id_map.GetNode(message_.use_id()); in Apply() local 92 clone_context->dst->Expr(clone_context->Clone(use_node->source), in Apply() 94 clone_context->Replace(use_node, cloned_replacement); in Apply()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | opt.cc | 177 auto use_node = use.first; in UpdateTransformingListWithUserNodes() local 178 if (use_node == nullptr) { in UpdateTransformingListWithUserNodes() 181 (*todo).emplace_back(use_node); in UpdateTransformingListWithUserNodes() 182 if (use_node->seen_ == seen) { in UpdateTransformingListWithUserNodes() 183 use_node->seen_--; in UpdateTransformingListWithUserNodes()
|
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/pipeline_transformer/ |
D | pipeline_transformer.h | 68 …AnfNodePtr HandleParameterGraph(const AnfNodePtr &node, const AnfNodePtr &use_node, int64_t stage,… 73 …rtReceive(const FuncGraphPtr &graph, const AnfNodePtr &node, const AnfNodePtr &use_node, int index,
|
D | pipeline_transformer.cc | 621 … const AnfNodePtr &use_node, int index, int64_t user_node_stage, in InsertReceive() argument 693 manager_->SetEdge(use_node, index, recv); in InsertReceive() 763 …ransformer::HandleParameterGraph(const AnfNodePtr &node, const AnfNodePtr &use_node, int64_t stage, in HandleParameterGraph() argument 779 auto use_cnode = use_node->cast<CNodePtr>(); in HandleParameterGraph() 799 manager_->SetEdge(use_node, SizeToInt(pos), recv); in HandleParameterGraph() 802 …return InsertReceive(main_graph_, argument, use_node, SizeToInt(pos), user_stage, stage, micro, pa… in HandleParameterGraph()
|
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ |
D | parameter_manager.cc | 177 auto use_node = node_user.first->cast<CNodePtr>(); in IsUsedParameter() local 178 if (IsValueNode<FuncGraph>(use_node->input(0))) { in IsUsedParameter() 179 auto graph_sub = GetValueNode<FuncGraphPtr>(use_node->input(0)); in IsUsedParameter() 184 if (use_node->input(0)->isa<CNode>()) { in IsUsedParameter() 185 auto cnode = use_node->input(0)->cast<CNodePtr>(); in IsUsedParameter()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/buffer_fusion/ |
D | ub_pattern_fusion.cc | 299 for (auto use_node : use_nodes) { in GetFusionScopeOutputNodeList() local 302 if (AnfAlgo::CheckPrimitiveType(use_node.first, prim::kPrimUpdateState)) { in GetFusionScopeOutputNodeList() 303 auto new_updatestate = RemoveNodeFromUpdateState(kernel_graph, node, use_node.first); in GetFusionScopeOutputNodeList() 304 (void)manager->Replace(use_node.first, new_updatestate); in GetFusionScopeOutputNodeList() 307 … if (std::find(fusion_info.anf_nodes.begin(), fusion_info.anf_nodes.end(), use_node.first) == in GetFusionScopeOutputNodeList()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/ |
D | graph_kernel_helper.cc | 430 auto use_node = user.first; in ReplaceNewFuseCNode() local 431 if (!use_node->isa<CNode>() || !IsPrimitiveCNode(use_node, prim::kPrimTupleGetItem)) { in ReplaceNewFuseCNode() 434 auto get_item_cnode = use_node->cast<CNodePtr>(); in ReplaceNewFuseCNode()
|