Home
last modified time | relevance | path

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

12

/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/Analysis/
H A DTrainingLogger.cpp35 TS.toJSON(JOS); in writeHeader()
39 RewardSpec.toJSON(JOS); in writeHeader()
44 AdviceSpec->toJSON(JOS); in writeHeader()
H A DTensorSpec.cpp50 void TensorSpec::toJSON(json::OStream &OS) const { in toJSON() function in llvm::TensorSpec
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp285 static json::Object toJSON(const Request &Request, StringRef ErrorMsg = "") { in toJSON()
296 static json::Object toJSON(const DILineInfo &LineInfo) { in toJSON()
324 json::Object Object = toJSON(LineInfo); in print()
334 json::Object Json = toJSON(Request); in print()
347 json::Object Json = toJSON(Request); in print()
370 json::Object Json = toJSON(Request); in printInvalidCommand()
382 Definitions.push_back(toJSON(L)); in printError()
383 json::Object Json = toJSON(Request); in printError()
393 json::Object Json = toJSON(Request, ErrorInfo.message()); in listEnd()
279 static json::Object toJSON(const Request &Request, StringRef ErrorMsg = "") { toJSON() function
288 static json::Object toJSON(const DILineInfo &LineInfo) { toJSON() function
/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.h94 json::Value toJSON() const override;
95 json::Object toJSON(const InstructionInfoViewData &IIVD) const;
H A DInstructionInfoView.cpp149 InstructionInfoView::toJSON(const InstructionInfoViewData &IIVD) const { in toJSON() function in llvm::mca::InstructionInfoView
159 json::Value InstructionInfoView::toJSON() const { in toJSON() function in llvm::mca::InstructionInfoView
170 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 DResourcePressureView.h98 json::Value toJSON() const override;
H A DDispatchStatistics.h82 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
H A DSummaryView.cpp99 json::Value SummaryView::toJSON() const { in toJSON() function in llvm::mca::SummaryView
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/
H A DView.h33 virtual json::Value toJSON() const { return "not implemented"; } in toJSON() function
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTensorSpec.h98 void toJSON(json::OStream &OS) const;
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DPipelinePrinter.cpp42 JO.try_emplace(V->getNameAsString().str(), V->toJSON()); in getJSONReportRegion()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h94 template <typename T> Value toJSON(const std::optional<T> &Opt);
368 std::is_same_v<Value, decltype(toJSON(*(const T *)nullptr))>>,
370 Value(const T &V) : Value(toJSON(V)) {} in Value()
827 template <typename T> Value toJSON(const std::optional<T> &Opt) { in toJSON() function

12