Home
last modified time | relevance | path

Searched refs:toJSON (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/llvm-project/lldb/source/Plugins/Protocol/MCP/
H A DProtocol.h33 llvm::json::Value toJSON(const Request &);
42 llvm::json::Value toJSON(const ErrorInfo &);
50 llvm::json::Value toJSON(const Error &);
59 llvm::json::Value toJSON(const Response &);
68 llvm::json::Value toJSON(const Notification &);
76 llvm::json::Value toJSON(const ToolCapability &);
88 llvm::json::Value toJSON(const ResourceCapability &);
103 llvm::json::Value toJSON(const Capabilities &);
121 llvm::json::Value toJSON(const Resource &);
137 llvm::json::Value toJSON(const ResourceContents &);
[all …]
H A DProtocol.cpp29 llvm::json::Value toJSON(const Request &R) { in toJSON() function
43 llvm::json::Value toJSON(const ErrorInfo &EI) { in toJSON() function
56 llvm::json::Value toJSON(const Error &E) { in toJSON() function
65 llvm::json::Value toJSON(const Response &R) { in toJSON() function
81 llvm::json::Value toJSON(const Notification &N) { in toJSON() function
100 llvm::json::Value toJSON(const ToolCapability &TC) { in toJSON() function
110 llvm::json::Value toJSON(const ResourceCapability &RC) { in toJSON() function
122 llvm::json::Value toJSON(const Capabilities &C) { in toJSON() function
133 llvm::json::Value toJSON(const Resource &R) { in toJSON() function
147 llvm::json::Value toJSON(const ResourceContents &RC) { in toJSON() function
[all …]
H A DResource.cpp22 llvm::json::Value toJSON(const DebuggerResource &DR) { in toJSON() function
40 llvm::json::Value toJSON(const TargetResource &TR) { in toJSON() function
176 contents.text = llvm::formatv("{0}", toJSON(debugger_resource)); in ReadDebuggerResource()
212 contents.text = llvm::formatv("{0}", toJSON(target_resource)); in ReadTargetResource()
H A DProtocolServerMCP.cpp145 OS << llvm::formatv("{0}", toJSON(**message)) << '\n'; in ReadCallback()
308 tools.emplace_back(toJSON(tool.second->GetDefinition())); in ToolsListHandler()
347 response.result.emplace(toJSON(*text_result)); in ToolsCallHandler()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DTraceGDBRemotePackets.h38 llvm::json::Value toJSON(const TraceSupportedResponse &packet);
59 llvm::json::Value toJSON(const TraceStartRequest &packet);
83 llvm::json::Value toJSON(const TraceStopRequest &packet);
96 llvm::json::Value toJSON(const TraceGetStateRequest &packet);
108 llvm::json::Value toJSON(const TraceBinaryData &packet);
119 llvm::json::Value toJSON(const TraceThreadState &packet);
130 llvm::json::Value toJSON(const TraceCpuState &packet);
144 llvm::json::Value toJSON(const TraceGetStateResponse &packet);
164 llvm::json::Value toJSON(const lldb_private::TraceGetBinaryDataRequest &packet);
H A DTraceIntelPTGDBRemotePackets.h64 llvm::json::Value toJSON(const TraceIntelPTStartRequest &packet);
76 llvm::json::Value toJSON(const JSONUINT64 &uint64, bool hex);
121 llvm::json::Value toJSON(const LinuxPerfZeroTscConversion &packet);
126 llvm::json::Value toJSON(const TraceIntelPTGetStateResponse &packet);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTJSONStructs.cpp33 json::Value toJSON(const JSONModule &module) { in toJSON() function
38 json_module["loadAddress"] = toJSON(module.load_address, true); in toJSON()
52 json::Value toJSON(const JSONThread &thread) { in toJSON() function
64 json::Value toJSON(const JSONProcess &process) { in toJSON() function
79 json::Value toJSON(const JSONCpu &cpu) { in toJSON() function
97 json::Value toJSON(const pt_cpu &cpu_info) { in toJSON() function
120 json::Value toJSON(const JSONKernel &kernel) { in toJSON() function
123 json_module["loadAddress"] = toJSON(*kernel.load_address, true); in toJSON()
134 json::Value toJSON(const JSONTraceBundleDescription &bundle_description) { in toJSON() function
140 {"cpuInfo", toJSON(bundle_description.cpu_info)}, in toJSON()
H A DTraceIntelPTJSONStructs.h63 llvm::json::Value toJSON(const JSONModule &module);
65 llvm::json::Value toJSON(const JSONThread &thread);
67 llvm::json::Value toJSON(const JSONProcess &process);
69 llvm::json::Value toJSON(const JSONCpu &cpu);
71 llvm::json::Value toJSON(const pt_cpu &cpu_info);
73 llvm::json::Value toJSON(const JSONKernel &kernel);
75 llvm::json::Value toJSON(const JSONTraceBundleDescription &bundle_description);
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DTraceGDBRemotePackets.cpp24 json::Value toJSON(const TraceSupportedResponse &packet) { in toJSON() function
39 json::Value toJSON(const TraceStartRequest &packet) { in toJSON() function
61 json::Value toJSON(const TraceStopRequest &packet) { in toJSON() function
74 json::Value toJSON(const TraceGetStateRequest &packet) { in toJSON() function
83 json::Value toJSON(const TraceBinaryData &packet) { in toJSON() function
93 json::Value toJSON(const TraceThreadState &packet) { in toJSON() function
106 json::Value toJSON(const TraceGetStateResponse &packet) { in toJSON() function
129 json::Value toJSON(const TraceCpuState &packet) { in toJSON() function
137 json::Value toJSON(const TraceGetBinaryDataRequest &packet) { in toJSON() function
H A DTraceIntelPTGDBRemotePackets.cpp25 json::Value toJSON(const JSONUINT64 &uint64, bool hex) { in toJSON() function
63 json::Value toJSON(const TraceIntelPTStartRequest &packet) { in toJSON() function
64 json::Value base = toJSON((const TraceStartRequest &)packet); in toJSON()
89 json::Value toJSON(const LinuxPerfZeroTscConversion &packet) { in toJSON() function
93 {"timeZero", toJSON(packet.time_zero, /*hex=*/false)}, in toJSON()
117 json::Value toJSON(const TraceIntelPTGetStateResponse &packet) { in toJSON() function
118 json::Value base = toJSON((const TraceGetStateResponse &)packet); in toJSON()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp292 static json::Object toJSON(const Request &Request, StringRef ErrorMsg = "") { in toJSON() function
303 static json::Object toJSON(const DILineInfo &LineInfo) { in toJSON() function
334 json::Object Object = toJSON(LineInfo); in print()
344 json::Object Json = toJSON(Request); in print()
357 json::Object Json = toJSON(Request); in print()
380 json::Object Json = toJSON(Request); in print()
392 Definitions.push_back(toJSON(L)); in print()
393 json::Object Json = toJSON(Request); in print()
403 json::Object Json = toJSON(Request, ErrorInfo.message()); in printError()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTrainingLogger.cpp35 TS.toJSON(JOS); in writeHeader()
39 RewardSpec.toJSON(JOS); in writeHeader()
44 AdviceSpec->toJSON(JOS); in writeHeader()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TraceExporter/common/
H A DTraceHTR.h356 llvm::json::Value toJSON(const TraceHTR &htr);
357 llvm::json::Value toJSON(const HTRBlock &block);
358 llvm::json::Value toJSON(const HTRBlockMetadata &metadata);
H A DTraceHTR.cpp240 os << toJSON(*this); in Export()
385 llvm::json::Value lldb_private::toJSON(const TraceHTR &htr) { in toJSON() function in lldb_private
439 llvm::json::Value block_json = toJSON(block); in toJSON()
475 llvm::json::Value lldb_private::toJSON(const HTRBlock &block) { in toJSON() function in lldb_private
480 llvm::json::Value lldb_private::toJSON(const HTRBlockMetadata &metadata) { in toJSON() function in lldb_private
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.h106 json::Value toJSON() const override;
107 json::Object toJSON(const InstructionInfoViewData &IIVD) const;
H A DInstructionInfoView.cpp257 InstructionInfoView::toJSON(const InstructionInfoViewData &IIVD) const { in toJSON() function in llvm::mca::InstructionInfoView
267 json::Value InstructionInfoView::toJSON() const { in toJSON() function in llvm::mca::InstructionInfoView
278 json::Object JO = toJSON(IIVDEntry); in toJSON()
H A DInstructionView.cpp33 json::Value InstructionView::toJSON() const { in toJSON() function in llvm::mca::InstructionView
H A DDispatchStatistics.h82 json::Value toJSON() const override;
H A DResourcePressureView.h103 json::Value toJSON() const override;
H A DSummaryView.h84 json::Value toJSON() const override; in getNameAsString()
H A DInstructionView.h54 json::Value toJSON() const override;
H A DTimelineView.h183 json::Value toJSON() const override;
H A DDispatchStatistics.cpp86 json::Value DispatchStatistics::toJSON() const { in toJSON() function in llvm::mca::DispatchStatistics
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/
H A DView.h34 virtual json::Value toJSON() const { return "not implemented"; } in toJSON() function
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTensorSpec.h99 LLVM_ABI void toJSON(json::OStream &OS) const;

12