/third_party/mindspore/mindspore/core/utils/ |
D | label.cc | 48 NameWithTrace RootName(const DebugInfoPtr &debug_info, TraceLabelType trace_label) { in RootName() argument 51 MS_EXCEPTION_IF_NULL(debug_info); in RootName() 52 auto temp_info = debug_info; in RootName() 61 temp_info = temp_info->trace_info()->debug_info(); in RootName() 84 std::string LabelString(const DebugInfoPtr &debug_info, TraceLabelType trace_label) { in LabelString() argument 85 NameWithTrace trace_name = RootName(debug_info, trace_label); in LabelString() 89 std::string CombineUniqueID(const DebugInfoPtr &debug_info) { in CombineUniqueID() argument 90 auto temp_info = debug_info; in CombineUniqueID() 102 temp_info = temp_info->trace_info()->debug_info(); in CombineUniqueID() 111 std::string LabelStringUnique(const DebugInfoPtr &debug_info) { return CombineUniqueID(debug_info);… in LabelStringUnique() argument [all …]
|
D | trace_base.cc | 29 std::vector<DebugInfoPtr> GetSourceCodeDebugInfoVec(DebugInfoPtr debug_info, bool is_debug = false)… in GetSourceCodeDebugInfoVec() argument 31 while (debug_info != nullptr) { in GetSourceCodeDebugInfoVec() 32 if (is_debug || debug_info->location() != nullptr) { in GetSourceCodeDebugInfoVec() 33 debug_with_loc_vec.push_back(debug_info); in GetSourceCodeDebugInfoVec() 35 if (debug_info->trace_info() != nullptr) { in GetSourceCodeDebugInfoVec() 36 debug_info = debug_info->trace_info()->debug_info(); in GetSourceCodeDebugInfoVec() 131 auto debug_info = GetTracedDebugInfo(info, tip); in GetDebugInfo() local 133 std::replace(debug_info.begin(), debug_info.end(), '\r', '/'); in GetDebugInfo() 134 std::replace(debug_info.begin(), debug_info.end(), '\n', '/'); in GetDebugInfo() 136 oss << prefix << debug_info; in GetDebugInfo() [all …]
|
D | trace_info.cc | 27 if (debug_info() == nullptr) { in GetActionBetweenNode() 30 if (debug_info() == info) { in GetActionBetweenNode() 32 } else if (debug_info()->trace_info() != nullptr) { in GetActionBetweenNode() 33 return act_name + debug_info()->trace_info()->GetActionBetweenNode(info); in GetActionBetweenNode()
|
D | info.cc | 131 if (info->isa<TraceCopy>() && info->debug_info() != nullptr) { in unique_id_through_copy() 132 return info->debug_info()->unique_id_through_copy(); in unique_id_through_copy() 207 if (trace_info->debug_info() == nullptr) { in DebugTrace() 211 TraceManager::parse_or_resolve_debug_info_ = trace_info->debug_info(); in DebugTrace() 214 void TraceManager::DebugTrace(const DebugInfoPtr &debug_info, const TraceInfoPtr &trace_info) { in DebugTrace() argument 219 cloned_info->set_debug_info(debug_info); in DebugTrace() 220 if (cloned_info->debug_info() == nullptr) { in DebugTrace()
|
D | info.h | 76 static void DebugTrace(const DebugInfoPtr &debug_info, const TraceInfoPtr &trace_info); 93 TraceGuard(const DebugInfoPtr &debug_info, const TraceInfoPtr &trace_info) { in TraceGuard() argument 94 TraceManager::DebugTrace(debug_info, trace_info); in TraceGuard()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/ |
D | dfunctor.h | 202 GraphDebugInfoPtr debug_info = nullptr; in BpropToK() local 204 TraceGuard guard(std::make_shared<TraceCopy>(bprop_fg->debug_info())); in BpropToK() 205 debug_info = std::make_shared<GraphDebugInfo>(); in BpropToK() 207 if (debug_info->trace_info() != nullptr && debug_info->trace_info()->debug_info() != nullptr) { in BpropToK() 208 debug_info->trace_info()->debug_info()->set_name(primal->ToString()); in BpropToK() 210 cloned_bprop_fg->debug_info()->set_name(""); in BpropToK() 211 cloned_bprop_fg->debug_info()->set_trace_info(std::make_shared<TraceGradBprop>(debug_info)); in BpropToK() 218 << trace::GetDebugInfo(cloned_bprop_fg->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()
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/tasksink/ |
D | task_generator.cc | 160 auto debug_info = std::make_shared<TaskDebugInfo>(); in LaunchKernel() local 161 MS_EXCEPTION_IF_NULL(debug_info); in LaunchKernel() 162 debug_info->op_name_ = anf_node_ptr->fullname_with_scope() + "-NonTask"; in LaunchKernel() 163 debug_info->task_num_ = 0; in LaunchKernel() 164 task_debug_info_list_.push_back(debug_info); in LaunchKernel() 237 auto debug_info = std::make_shared<TaskDebugInfo>(); in LaunchKernel() local 238 MS_EXCEPTION_IF_NULL(debug_info); in LaunchKernel() 243 debug_info->op_name_ = anf_node_ptr->fullname_with_scope(); in LaunchKernel() 244 debug_info->task_num_ = task_info_ptrs.size(); in LaunchKernel() 245 debug_info->stream_id_ = task_info_ptrs[0]->stream_id(); in LaunchKernel() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/multifile/ |
D | test-splitmuxpartreader.c | 26 gchar *debug_info; in handle_message() local 30 gst_message_parse_error (msg, &err, &debug_info); in handle_message() 33 g_print ("Debugging information: %s\n", debug_info ? debug_info : "none"); in handle_message() 35 g_free (debug_info); in handle_message()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/ |
D | parse.cc | 214 para_node->debug_info()->set_name(arg_name); in GenerateArgsNodeForFunction() 276 current_fg->debug_info()->set_name(function_name); in ParseFunction() 280 current_fg->debug_info()->set_deco_location(GetLocation(deco_list)); in ParseFunction() 430 … << ", Line: " << trace::GetDebugInfo(no_return_node->debug_info(), "", kSourceLineTipDiscard); in ParseExpr() 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() 934 para_node->debug_info()->set_name(arg); in ParseLambda() 1138 TraceGuard guard(std::make_shared<TraceIfStmtTrueBranch>(block_fg->debug_info())); in ParseIf() 1142 TraceGuard guard(std::make_shared<TraceIfStmtFalseBranch>(block_fg->debug_info())); in ParseIf() 1150 TraceGuard guard(std::make_shared<TraceIfStmtAfterBranch>(block_fg->debug_info())); in ParseIf() [all …]
|
D | function_block.cc | 91 … << ", Line: " << trace::GetDebugInfo(hidden_node->debug_info(), "", kSourceLineTipDiscard); in WriteVariable() 139 auto debug_info = std::make_shared<NodeDebugInfo>(); in ReadVariable() local 140 debug_info->set_name(var); in ReadVariable() 141 TraceGuard guard(std::make_shared<TracePhi>(debug_info)); in ReadVariable() 274 TraceGuard trace_guard(std::make_shared<TraceResolve>(phi->debug_info())); in SetPhiArgument() 348 arg_node->set_debug_info(phi->debug_info()); in CollectRemovablePhi() 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() 419 << trace::GetDebugInfo(func_graph_->get_return()->debug_info()); in Jump() 439 << trace::GetDebugInfo(func_graph_->get_return()->debug_info()); in ConditionalJump() [all …]
|
/third_party/boost/boost/pool/ |
D | pool_alloc.hpp | 106 struct debug_info struct 112 unsigned debug_info<b>::allocated = 0; 241 debug_info<true>::allocated += n * sizeof(T); in allocate() 243 "Total allocated is now " << debug_info<true>::allocated << std::endl; in allocate() 263 debug_info<true>::allocated -= n * sizeof(T); in deallocate() 265 "Total allocated is now " << debug_info<true>::allocated << std::endl; in deallocate()
|
/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()
|
/third_party/mindspore/mindspore/core/ir/ |
D | func_graph.cc | 120 p->debug_info()->set_name(name); in AddWeightParameter() 198 auto debug_info = const_cast<FuncGraph *>(this)->shared_from_base<FuncGraph>()->debug_info(); in ToString() local 199 buffer << mindspore::label_manage::Label(debug_info); in ToString() 200 buffer << "." << debug_info->get_id(); in ToString() 204 GraphDebugInfoPtr FuncGraph::debug_info() { in debug_info() function in mindspore::FuncGraph 263 << "' dec from 0. NodeInfo: " << trace::GetDebugInfo(debug_info()); in DropValueNode() 303 << "' dec from 0. NodeInfo: " << trace::GetDebugInfo(debug_info()); in DropFreeVariable() 373 << "' dec from 0. NodeInfo: " << trace::GetDebugInfo(debug_info()); in DropFuncGraphUsed() 419 << "' dec from 0. NodeInfo: " << trace::GetDebugInfo(debug_info()); in DropFuncGraphCNodeIndex() 453 << "' dec from 0. NodeInfo: " << trace::GetDebugInfo(debug_info()); in DropJValueNode() [all …]
|
D | anf.h | 138 NodeDebugInfoPtr debug_info() { in debug_info() function 145 void set_debug_info(const NodeDebugInfoPtr &debug_info) { in set_debug_info() argument 146 MS_EXCEPTION_IF_NULL(debug_info); in set_debug_info() 147 debug_info_ = debug_info; in set_debug_info() 164 std::string UniqueId() { return std::to_string(debug_info()->unique_id()); } in UniqueId() 165 …std::string UniqueIdThroughCopy() { return std::to_string(debug_info()->unique_id_through_copy());… in UniqueIdThroughCopy() 332 void AddPrimalDebugInfo(const NodeDebugInfoPtr debug_info) { in AddPrimalDebugInfo() argument 333 …if (std::find(primal_debug_infos_.begin(), primal_debug_infos_.end(), debug_info) != primal_debug_… in AddPrimalDebugInfo() 336 primal_debug_infos_.push_back(debug_info); in AddPrimalDebugInfo()
|
D | func_graph_extends.cc | 92 …std::make_shared<TraceGenerateVarArg>(specialized_graph->GetVariableArgParameter()->debug_info())); in GenerateVarParams() 106 MS_EXCEPTION_IF_NULL(p->debug_info()); in GenerateVarParams() 107 p->debug_info()->set_name(param_name); in GenerateVarParams() 151 p->debug_info()->set_name(param_name); in GenerateKwParams() 183 …td::make_shared<TraceGenerateKwArg>(specialized_graph->GetVariableKwargParameter()->debug_info())); in GenerateKwargReplNode()
|
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()
|
/third_party/mindspore/mindspore/ccsrc/debug/ |
D | anf_ir_utils.cc | 407 oss << fg->type_name() << "::fg_" << fg->debug_info()->get_id(); in GetAnfNodeText() 478 std::string func_graph_id = fg->debug_info()->get_id(); in OutputStatementComment() 548 ofs << trace::GetDebugInfo(cnode->debug_info(), " # ", kSourceLineTipDiscard) << "#" in OutputCNodes() 549 << label_manage::Label(cnode->debug_info()) << "\n"; in OutputCNodes() 551 …ofs << trace::GetDebugInfo(cnode->debug_info(), " # ", kSourceLineTipDiscard) << "#" << cnode… in OutputCNodes() 589 ofs << trace::GetDebugInfo(func_graph->debug_info(), "# ", kSourceLineTipDiscard) << "#" in ExportOneFuncGraph() 590 << label_manage::Label(func_graph->debug_info()) << "\n"; in ExportOneFuncGraph() 592 ofs << trace::GetDebugInfo(func_graph->debug_info(), "# ", kSourceLineTipDiscard) << "\n"; in ExportOneFuncGraph() 594 ofs << "funcgraph fg_" << func_graph->debug_info()->get_id(); in ExportOneFuncGraph() 597 ofs << "[fg_" << func_graph->parent()->debug_info()->get_id() << "]"; in ExportOneFuncGraph()
|
D | trace.cc | 84 oss << GetDebugInfo(graph->debug_info(), kSourceLineTipDiscard); in GetGraphParamString() 410 auto debug_info = cnode->debug_info(); in GetEvalStackInfo() local 411 auto this_location_info = trace::GetDebugInfo(debug_info, std::string("")); in GetEvalStackInfo() 475 DebugInfoPtr debug_info = TraceManager::GetParseOrResolveDebugInfo(); in GetTraceStackInfo() local 476 if (debug_info != nullptr) { in GetTraceStackInfo() 477 oss << "\n\n# " << trace::GetDebugInfo(debug_info); in GetTraceStackInfo()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFUnit.cpp | 256 const DWARFDataExtractor &debug_info, in extract() argument 266 Length = debug_info.getRelocatedValue(4, offset_ptr, nullptr, &Err); in extract() 269 Length = debug_info.getU64(offset_ptr, &Err); in extract() 272 FormParams.Version = debug_info.getU16(offset_ptr, &Err); in extract() 274 UnitType = debug_info.getU8(offset_ptr, &Err); in extract() 275 FormParams.AddrSize = debug_info.getU8(offset_ptr, &Err); in extract() 276 AbbrOffset = debug_info.getRelocatedValue( in extract() 279 AbbrOffset = debug_info.getRelocatedValue( in extract() 281 FormParams.AddrSize = debug_info.getU8(offset_ptr, &Err); in extract() 301 TypeHash = debug_info.getU64(offset_ptr, &Err); in extract() [all …]
|
/third_party/grpc/src/php/tests/qps/generated_code/Grpc/Testing/ |
D | RequestParams.php | 61 protected $debug_info = null; variable in Grpc\\Testing\\RequestParams 362 return $this->debug_info; 373 $this->debug_info = $var;
|
/third_party/mindspore/cmake/ |
D | package_script.cmake | 117 file(MAKE_DIRECTORY ${MS_ROOT_DIR}/debug_info) 118 file(COPY ${DEBUG_SYM_FILE} DESTINATION ${MS_ROOT_DIR}/debug_info/) 152 file(COPY ${MS_ROOT_DIR}/debug_info/ DESTINATION 159 file(REMOVE_RECURSE ${MS_ROOT_DIR}/debug_info)
|
/third_party/mindspore/mindspore/ccsrc/frontend/operator/composite/ |
D | composite.cc | 292 << trace::GetDebugInfo(func_graph->debug_info()) << "\n"; in Make() 344 ptr_graph->debug_info()->set_name("hyper_map"); in GenerateFromTypes() 422 ret->debug_info()->set_name("tail"); in GenerateSequeueFuncGraph() 486 fg->debug_info()->set_name(ss.str()); in GenerateFuncGraph() 502 b->debug_info()->set_name(ss.str()); in GenerateFuncGraph() 527 fg->debug_info()->set_name(ss.str()); in GenerateFuncGraph() 543 b->debug_info()->set_name(ss.str()); in GenerateFuncGraph() 680 TraceGuard g(std::make_shared<TraceGradOperation>(forward_graph->debug_info())); in GenerateFuncGraph() 688 grad_fg->debug_info()->set_name(ss.str()); in GenerateFuncGraph() 703 TraceGuard guard(std::make_shared<TraceGradOperation>(forward_graph->debug_info())); in GenerateFuncGraph() [all …]
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | py_pass.cc | 102 auto debug_info = std::make_shared<NodeDebugInfo>(para_name); in BuildNewParameter() local 103 para_node->set_debug_info(debug_info); in BuildNewParameter() 274 auto debug_info = std::make_shared<NodeDebugInfo>(para_name); in Run() local 275 para_node->set_debug_info(debug_info); in Run()
|
/third_party/mindspore/tests/ut/cpp/optimizer/ad/ |
D | kpynative_test.cc | 65 x->debug_info()->set_name("x"); in BuildStopGradient() 67 y->debug_info()->set_name("y"); in BuildStopGradient()
|
/third_party/mindspore/tests/ut/cpp/optimizer/ |
D | clean_test.cc | 50 me_graph->debug_info()->set_name("next"); in SetUp() 134 func_graph->debug_info()->set_name("test_make_record"); in TEST_F() 169 func_graph->debug_info()->set_name("test_partial"); in TEST_F()
|