Home
last modified time | relevance | path

Searched refs:TraceGuard (Results 1 – 25 of 29) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dpartial_eliminate.h59 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()
Dparameter_eliminate.h139 TraceGuard trace_guard(std::make_shared<TraceCopy>(caller->debug_info())); in EraseArgs()
/third_party/mindspore/mindspore/core/utils/
Dinfo.h86 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/
Dparse.cc210 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 …]
Dfunction_block.cc141 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()
Dresolve.cc316 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/
Ddfunctor.h204 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()
Ddfunctor.cc47 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()
Dkprim.cc539 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()
Dkpynative.cc259 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/
Dfunc_graph_cloner.cc71 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()
Dfunc_graph_extends.cc91 TraceGuard trace_guard( in GenerateVarParams()
182 TraceGuard guard( in GenerateKwargReplNode()
/third_party/mindspore/mindspore/ccsrc/vm/
Dsegment_runner.cc102TraceGuard 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/
Dtransdata_split.cc35 TraceGuard guard(std::make_shared<TraceOpt>(node->debug_info())); in Process()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dcombine_momentum_fusion.cc82 TraceGuard guard(std::make_shared<TraceOpt>(momentums[0]->debug_info())); in Run()
Dcombine_cast_fusion.cc99 TraceGuard guard(std::make_shared<TraceOpt>(cast_list[0]->debug_info())); in Run()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Dreplace_node_by_proxy.cc62 TraceGuard guard(std::make_shared<TraceOpt>(node->debug_info())); in Run()
Dcommunication_op_fusion.cc475 TraceGuard guard(std::make_shared<TraceOpt>(first_node->debug_info())); in Run()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dshape_ops_splitter.cc40 TraceGuard guard(std::make_shared<TraceOpt>(cnode->debug_info())); in CloneCNode()
Dgraph_kernel_splitter.cc77 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/
Dnode_pass.cc72 TraceGuard guard(std::make_shared<TraceOpt>(node->debug_info())); in Run()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Dopt.cc113 TraceGuard trace_guard(std::make_shared<TraceOpt>(node->debug_info())); in DoTransform()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dsession_basic.cc644 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/
Dcomposite.cc680 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/
Devaluator.cc349 TraceGuard trace_guard(std::make_shared<TraceGenMetaFuncGraph>(bound_node()->debug_info())); in GetFuncGraph()

12