/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/ |
D | partial_eliminate.h | 59 TraceGuard guard(std::make_shared<TracePartialTransform>(node->debug_info())); in operator() 81 TraceGuard guard(std::make_shared<TracePartialTransform>(node->debug_info())); in operator() 249 TraceGuard guard(std::make_shared<TraceCopy>(anchor_fg_params[j]->debug_info())); in UnifyParameters() 257 TraceGuard guard(std::make_shared<TraceCopy>(extra_inputs[j]->debug_info())); in UnifyParameters() 273 TraceGuard guard(std::make_shared<TraceCopy>(extra_inputs[i]->debug_info())); in UnifyParameters() 349 TraceGuard guard1(std::make_shared<TraceCopy>(input0_cnode->debug_info())); in BuildNewSwitchNode() 359 TraceGuard guard2(std::make_shared<TraceCopy>(old_cnode->debug_info())); in BuildNewSwitchNode() 433 TraceGuard guard1(std::make_shared<TraceCopy>(make_tuple_cnode->debug_info())); in BuildNewSwitchLayerNode() 437 TraceGuard guard2(std::make_shared<TraceCopy>(switch_layer_cnode->debug_info())); in BuildNewSwitchLayerNode() 448 TraceGuard guard3(std::make_shared<TraceCopy>(old_cnode->debug_info())); in BuildNewSwitchLayerNode()
|
D | parameter_eliminate.h | 139 TraceGuard trace_guard(std::make_shared<TraceCopy>(caller->debug_info())); in EraseArgs()
|
/third_party/mindspore/mindspore/core/utils/ |
D | info.h | 86 class TraceGuard { 88 TraceGuard(const std::string func_name, const LocationPtr &location) { in TraceGuard() function 91 explicit TraceGuard(const LocationPtr &location) { TraceManager::DebugTrace(location); } in TraceGuard() function 92 explicit TraceGuard(const TraceInfoPtr &trace_info) { TraceManager::DebugTrace(trace_info); } in TraceGuard() function 93 TraceGuard(const DebugInfoPtr &debug_info, const TraceInfoPtr &trace_info) { in TraceGuard() function 96 ~TraceGuard() { TraceManager::EndTrace(); } in ~TraceGuard()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/ |
D | parse.cc | 210 TraceGuard guard(GetLocation(args[i])); in GenerateArgsNodeForFunction() 265 TraceGuard trace_guard(data_converter::GetObjKey(ast_->obj())[0], GetLocation(node)); in ParseFunction() 338 TraceGuard trace_guard(GetLocation(node_list[i + 1])); in ParseStatements() 349 TraceGuard trace_guard(GetLocation(node)); in ParseStatement() 374 TraceGuard trace_guard(GetLocation(node)); in ParseExprNode() 799 TraceGuard guard(GetLocation(python_adapter::GetPyObjAttr(node, "attr"))); in ParseAttribute() 814 TraceGuard guard(GetLocation(node)); in ParseCompare() 856 TraceGuard guard(std::make_shared<TraceIfExpTrueBranch>(block_fg->debug_info())); in ProcessBoolOpValueList() 860 TraceGuard guard(std::make_shared<TraceIfExpFalseBranch>(block_fg->debug_info())); in ProcessBoolOpValueList() 932 TraceGuard guard(GetLocation(args[i])); in ParseLambda() [all …]
|
D | function_block.cc | 141 TraceGuard guard(std::make_shared<TracePhi>(debug_info)); in ReadVariable() 158 TraceGuard trace_guard(parser_.GetLocation(op)); in MakeResolveAstOp() 274 TraceGuard trace_guard(std::make_shared<TraceResolve>(phi->debug_info())); in SetPhiArgument() 397 TraceGuard trace_guard(std::make_shared<TraceForceBool>(cond->debug_info())); in ForceToBoolNode() 404 TraceGuard trace_guard(std::make_shared<TraceForceWhileCond>(cond->debug_info())); in ForceToWhileCond()
|
D | resolve.cc | 316 TraceGuard trace_guard(std::make_shared<TraceResolve>(node->debug_info())); in ResolveSymbol() 330 TraceGuard trace_guard(std::make_shared<TraceResolve>(node->debug_info())); in ResolveCellwithAttr()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/ |
D | dfunctor.h | 204 TraceGuard guard(std::make_shared<TraceCopy>(bprop_fg->debug_info())); in BpropToK() 227 TraceGuard guard(std::make_shared<TraceGradFprop>(outer_debug_info)); in BpropToK() 254 TraceGuard trace_guard(std::make_shared<TraceEquiv>(cnode->debug_info())); in BpropToK() 264 TraceGuard guard(std::make_shared<TraceGradSens>(out_param->debug_info())); in BpropToK()
|
D | dfunctor.cc | 47 TraceGuard guard(std::make_shared<TraceGradFprop>(primal_graph->debug_info())); in DFunctor() 56 TraceGuard guard(std::make_shared<TraceGradBprop>(primal_graph->debug_info())); in DFunctor() 289 TraceGuard guard(std::make_shared<TraceGradFpropApp>(cnode_morph->debug_info())); in MapMorphism() 575 TraceGuard trace_guard(std::make_shared<TraceGradFprop>(primal->debug_info())); in MapParameterToK()
|
D | kprim.cc | 539 TraceGuard trace_guard(std::make_shared<TraceGradFprop>(p->debug_info())); in TransformNormalArgs() 587 TraceGuard trace_guard(std::make_shared<TraceGradFprop>(p->debug_info())); in TransformArgsForFuncGraph()
|
D | kpynative.cc | 259 TraceGuard trace_guard(std::make_shared<TraceCopy>(cell_inputs[i]->debug_info())); in KPynativeCellImpl() 992 TraceGuard trace_guard(std::make_shared<TraceCopy>(weight->debug_info())); in SetSensAndWeights()
|
/third_party/mindspore/mindspore/core/ir/ |
D | func_graph_cloner.cc | 71 TraceGuard trace_guard(node->debug_info(), relation_); in CloneParameter() 89 TraceGuard trace_guard(node->debug_info(), relation_); in CloneCNode() 101 TraceGuard trace_guard(node->debug_info(), relation_); in CloneValueNode() 113 TraceGuard trace_guard(node->debug_info(), relation_); in CloneValueNode() 222 TraceGuard trace_guard(func_graph->debug_info(), target_relation_); in SetFuncGraphInfo() 290 TraceGuard guard(std::make_shared<TraceCopy>(node->debug_info())); in AddParameter() 736 TraceGuard guard(func_graph->debug_info(), relation); in TransformableClone() 742 TraceGuard trace_guard(std::make_shared<TraceCopy>(param->debug_info())); in TransformableClone()
|
D | func_graph_extends.cc | 91 TraceGuard trace_guard( in GenerateVarParams() 182 TraceGuard guard( in GenerateKwargReplNode()
|
/third_party/mindspore/mindspore/ccsrc/vm/ |
D | segment_runner.cc | 102 …TraceGuard guard(std::make_shared<TraceSegmentTransform>(lst[0]->cast<CNodePtr>()->func_graph()->d… in TransformSegmentToAnfGraph() 135 TraceGuard tg(std::make_shared<TraceSegmentTransform>(n->debug_info())); in TransformSegmentToAnfGraph()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/ |
D | transdata_split.cc | 35 TraceGuard guard(std::make_shared<TraceOpt>(node->debug_info())); in Process()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/ |
D | combine_momentum_fusion.cc | 82 TraceGuard guard(std::make_shared<TraceOpt>(momentums[0]->debug_info())); in Run()
|
D | combine_cast_fusion.cc | 99 TraceGuard guard(std::make_shared<TraceOpt>(cast_list[0]->debug_info())); in Run()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/ |
D | replace_node_by_proxy.cc | 62 TraceGuard guard(std::make_shared<TraceOpt>(node->debug_info())); in Run()
|
D | communication_op_fusion.cc | 475 TraceGuard guard(std::make_shared<TraceOpt>(first_node->debug_info())); in Run()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/ |
D | shape_ops_splitter.cc | 40 TraceGuard guard(std::make_shared<TraceOpt>(cnode->debug_info())); in CloneCNode()
|
D | graph_kernel_splitter.cc | 77 TraceGuard guard(std::make_shared<TraceOpt>(cnode->debug_info())); in NewRecomputeNode() 413 TraceGuard guard(std::make_shared<TraceOpt>(sub_func_graph->debug_info())); in CreateMainCNode() 425 TraceGuard g_sub(std::make_shared<TraceOpt>(main_cnodes[input_area]->debug_info())); in CreateMainCNode()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/common/ |
D | node_pass.cc | 72 TraceGuard guard(std::make_shared<TraceOpt>(node->debug_info())); in Run()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | opt.cc | 113 TraceGuard trace_guard(std::make_shared<TraceOpt>(node->debug_info())); in DoTransform()
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | session_basic.cc | 644 TraceGuard trace_guard(std::make_shared<TraceCopy>(anf->debug_info())); in CreateNewParameterFromParameter() 744 TraceGuard trace_guard(std::make_shared<TraceCopy>(cnode->debug_info())); in CreateNewCNode() 1054 TraceGuard trace_guard(std::make_shared<TraceCopy>(cnode->debug_info())); in CreateNewCNode() 1114 TraceGuard trace_guard(std::make_shared<TraceCopy>(anf->debug_info())); in CreateNewParameter() 1119 TraceGuard trace_guard(std::make_shared<TraceCopy>(anf->debug_info())); in CreateNewParameter()
|
/third_party/mindspore/mindspore/ccsrc/frontend/operator/composite/ |
D | composite.cc | 680 TraceGuard g(std::make_shared<TraceGradOperation>(forward_graph->debug_info())); in GenerateFuncGraph() 703 TraceGuard guard(std::make_shared<TraceGradOperation>(forward_graph->debug_info())); in GenerateFuncGraph()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/ |
D | evaluator.cc | 349 TraceGuard trace_guard(std::make_shared<TraceGenMetaFuncGraph>(bound_node()->debug_info())); in GetFuncGraph()
|