| /llvm-project/clang-tools-extra/clangd/ |
| H A D | Protocol.h | 15 // Each struct has a toJSON and fromJSON function, that converts between 81 llvm::json::Value toJSON(const SymbolID &); 128 llvm::json::Value toJSON(const URIForFile &U); 135 llvm::json::Value toJSON(const TextDocumentIdentifier &); 152 llvm::json::Value toJSON(const VersionedTextDocumentIdentifier &); 182 llvm::json::Value toJSON(const Position &); 208 llvm::json::Value toJSON(const Range &); 228 llvm::json::Value toJSON(const Location &); 238 llvm::json::Value toJSON(const ReferenceLocation &); 261 llvm::json::Value toJSON(cons 317 inline llvm::json::Value toJSON(const NoParams &) { return nullptr; } toJSON() function 658 template <typename T> llvm::json::Value toJSON(const ProgressParams<T> &P) { toJSON() function [all...] |
| H A D | Protocol.cpp | 92 llvm::json::Value toJSON(const URIForFile &U) { return U.uri(); } in toJSON() function 98 llvm::json::Value toJSON(const TextDocumentIdentifier &R) { in toJSON() function 108 llvm::json::Value toJSON(const VersionedTextDocumentIdentifier &R) { in toJSON() function 109 auto Result = toJSON(static_cast<const TextDocumentIdentifier &>(R)); in toJSON() 127 llvm::json::Value toJSON(const Position &P) { in toJSON() function 143 llvm::json::Value toJSON(const Range &P) { in toJSON() function 154 llvm::json::Value toJSON(const Location &P) { in toJSON() function 165 llvm::json::Value toJSON(const ReferenceLocation &P) { in toJSON() function 195 llvm::json::Value toJSON(const TextEdit &P) { in toJSON() function 212 llvm::json::Value toJSON(cons in fromJSON() function 226 llvm::json::Value toJSON(const TextDocumentEdit &P) { toJSON() function 528 llvm::json::Value toJSON(const WorkDoneProgressCreateParams &P) { toJSON() function 532 llvm::json::Value toJSON(const WorkDoneProgressBegin &P) { toJSON() function 546 llvm::json::Value toJSON(const WorkDoneProgressReport &P) { toJSON() function 558 llvm::json::Value toJSON(const WorkDoneProgressEnd &P) { toJSON() function 566 llvm::json::Value toJSON(const MessageType &R) { toJSON() function 570 llvm::json::Value toJSON(const ShowMessageParams &R) { toJSON() function 657 llvm::json::Value toJSON(const DiagnosticRelatedInformation &DRI) { toJSON() function 664 llvm::json::Value toJSON(DiagnosticTag Tag) { return static_cast<int>(Tag); } toJSON() function 666 llvm::json::Value toJSON(const CodeDescription &D) { toJSON() function 670 llvm::json::Value toJSON(const Diagnostic &D) { toJSON() function 710 llvm::json::Value toJSON(const PublishDiagnosticsParams &PDP) { toJSON() function 790 llvm::json::Value toJSON(const SymbolInformation &P) { toJSON() function 815 llvm::json::Value toJSON(const SymbolDetails &P) { toJSON() function 862 llvm::json::Value toJSON(const Command &C) { toJSON() function 873 llvm::json::Value toJSON(const CodeAction &CA) { toJSON() function 892 llvm::json::Value toJSON(const DocumentSymbol &S) { toJSON() function 908 llvm::json::Value toJSON(const WorkspaceEdit &WE) { toJSON() function 934 llvm::json::Value toJSON(const TweakArgs &A) { toJSON() function 939 llvm::json::Value toJSON(const ApplyWorkspaceEditParams &Params) { toJSON() function 1009 llvm::json::Value toJSON(const MarkupContent &MC) { toJSON() function 1019 llvm::json::Value toJSON(const Hover &H) { toJSON() function 1075 llvm::json::Value toJSON(const CompletionItemLabelDetails &CD) { toJSON() function 1094 llvm::json::Value toJSON(const CompletionItem &CI) { toJSON() function 1133 llvm::json::Value toJSON(const CompletionList &L) { toJSON() function 1140 llvm::json::Value toJSON(const ParameterInformation &PI) { toJSON() function 1154 llvm::json::Value toJSON(const SignatureInformation &SI) { toJSON() function 1171 llvm::json::Value toJSON(const SignatureHelp &SH) { toJSON() function 1190 llvm::json::Value toJSON(const RenameParams &R) { toJSON() function 1198 llvm::json::Value toJSON(const PrepareRenameResult &PRR) { toJSON() function 1207 llvm::json::Value toJSON(const DocumentHighlight &DH) { toJSON() function 1214 llvm::json::Value toJSON(const FileStatus &FStatus) { toJSON() function 1243 llvm::json::Value toJSON(const SemanticTokens &Tokens) { toJSON() function 1248 llvm::json::Value toJSON(const SemanticTokensEdit &Edit) { toJSON() function 1255 llvm::json::Value toJSON(const SemanticTokensOrDelta &TE) { toJSON() function 1277 llvm::json::Value toJSON(const InactiveRegionsParams &InactiveRegions) { toJSON() function 1353 llvm::json::Value toJSON(const TypeHierarchyItem::ResolveParams &RP) { toJSON() function 1366 llvm::json::Value toJSON(const TypeHierarchyItem &I) { toJSON() function 1414 llvm::json::Value toJSON(SymbolTag Tag) { toJSON() function 1418 llvm::json::Value toJSON(const CallHierarchyItem &I) { toJSON() function 1452 llvm::json::Value toJSON(const CallHierarchyIncomingCall &C) { toJSON() function 1462 llvm::json::Value toJSON(const CallHierarchyOutgoingCall &C) { toJSON() function 1472 llvm::json::Value toJSON(const InlayHintKind &Kind) { toJSON() function 1486 llvm::json::Value toJSON(const InlayHint &H) { toJSON() function 1526 llvm::json::Value toJSON(const InlayHintLabelPart &L) { toJSON() function 1566 llvm::json::Value toJSON(const OffsetEncoding &OE) { return toString(OE); } toJSON() function 1590 llvm::json::Value toJSON(const SelectionRange &Out) { toJSON() function 1604 llvm::json::Value toJSON(const DocumentLink &DocumentLink) { toJSON() function 1621 llvm::json::Value toJSON(const FoldingRange &Range) { toJSON() function 1635 llvm::json::Value toJSON(const MemoryTree &MT) { toJSON() function 1654 llvm::json::Value toJSON(const ASTNode &N) { toJSON() function 1699 llvm::json::Value toJSON(const SymbolID &S) { return S.str(); } toJSON() function [all...] |
| /llvm-project/lldb/include/lldb/Utility/ |
| H A D | TraceGDBRemotePackets.h | 38 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 D | TraceIntelPTGDBRemotePackets.h | 64 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);
|
| /llvm-project/lldb/unittests/Utility/ |
| H A D | TraceGDBRemotePacketsTest.cpp | 46 llvm::formatv("{0}", toJSON(response)).str(), in TEST() 66 ASSERT_EQ(toJSON(response), toJSON(*deserialized_response)); in TEST() 87 llvm::formatv("{0}", toJSON(response)).str(), in TEST() 95 ASSERT_EQ(toJSON(response), toJSON(*deserialized_response)); in TEST()
|
| /llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPTJSONStructs.cpp | 33 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 D | TraceIntelPTJSONStructs.h | 63 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);
|
| /llvm-project/lldb/source/Utility/ |
| H A D | TraceGDBRemotePackets.cpp | 24 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 D | TraceIntelPTGDBRemotePackets.cpp | 25 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()
|
| /llvm-project/mlir/include/mlir/Tools/lsp-server-support/ |
| H A D | Protocol.h | 144 llvm::json::Value toJSON(const URIForFile &value); 254 llvm::json::Value toJSON(const TextDocumentIdentifier &value); 270 llvm::json::Value toJSON(const VersionedTextDocumentIdentifier &value); 322 llvm::json::Value toJSON(const Position &value); 375 llvm::json::Value toJSON(const Range &value); 410 llvm::json::Value toJSON(const Location &value); 531 llvm::json::Value toJSON(const MarkupContent &mc); 550 llvm::json::Value toJSON(const Hover &hover); 625 llvm::json::Value toJSON(const DocumentSymbol &symbol); 661 llvm::json::Value toJSON(const DiagnosticRelatedInformation &info); [all …]
|
| /llvm-project/mlir/lib/Tools/lsp-server-support/ |
| H A D | Protocol.cpp | 262 llvm::json::Value mlir::lsp::toJSON(const URIForFile &value) { in toJSON() function in mlir::lsp 363 llvm::json::Value mlir::lsp::toJSON(const TextDocumentIdentifier &value) { in toJSON() function in mlir::lsp 379 mlir::lsp::toJSON(const VersionedTextDocumentIdentifier &value) { in toJSON() function in mlir::lsp 404 llvm::json::Value mlir::lsp::toJSON(const Position &value) { in toJSON() function in mlir::lsp 425 llvm::json::Value mlir::lsp::toJSON(const Range &value) { in toJSON() function in mlir::lsp 446 llvm::json::Value mlir::lsp::toJSON(const Location &value) { in toJSON() function in mlir::lsp 577 llvm::json::Value mlir::lsp::toJSON(const MarkupContent &mc) { in toJSON() function in mlir::lsp 591 llvm::json::Value mlir::lsp::toJSON(const Hover &hover) { in toJSON() function in mlir::lsp 592 llvm::json::Object result{{"contents", toJSON(hover.contents)}}; in toJSON() 594 result["range"] = toJSON(*hover.range); in toJSON() [all …]
|
| /llvm-project/llvm/lib/DebugInfo/Symbolize/ |
| H A D | DIPrinter.cpp | 292 static json::Object toJSON(const Request &Request, StringRef ErrorMsg = "") { in toJSON() 303 static json::Object toJSON(const DILineInfo &LineInfo) { in toJSON() 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 printError() 393 json::Object Json = toJSON(Request); in printError() 403 json::Object Json = toJSON(Request, ErrorInfo.message()); in listBegin() 285 static json::Object toJSON(const Request &Request, StringRef ErrorMsg = "") { toJSON() function 296 static json::Object toJSON(const DILineInfo &LineInfo) { toJSON() function
|
| /llvm-project/llvm/lib/Analysis/ |
| H A D | TrainingLogger.cpp | 35 TS.toJSON(JOS); in writeHeader() 39 RewardSpec.toJSON(JOS); in writeHeader() 44 AdviceSpec->toJSON(JOS); in writeHeader()
|
| /llvm-project/lldb/source/Plugins/TraceExporter/common/ |
| H A D | TraceHTR.h | 356 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 D | TraceHTR.cpp | 240 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
|
| /llvm-project/llvm/tools/llvm-mca/Views/ |
| H A D | InstructionInfoView.h | 94 json::Value toJSON() const override; 95 json::Object toJSON(const InstructionInfoViewData &IIVD) const;
|
| H A D | InstructionInfoView.cpp | 149 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 D | InstructionView.cpp | 33 json::Value InstructionView::toJSON() const { in toJSON() function in llvm::mca::InstructionView
|
| H A D | ResourcePressureView.h | 98 json::Value toJSON() const override;
|
| /llvm-project/mlir/unittests/Tools/lsp-server-support/ |
| H A D | Protocol.cpp | 23 llvm::json::Value json = toJSON(diagnostic); in TEST() 39 llvm::json::Value json = toJSON(diagnostic); in TEST()
|
| /llvm-project/llvm/unittests/tools/llvm-mca/ |
| H A D | MCATestBase.cpp | 121 Result[V->getNameAsString()] = V->toJSON(); in runBaselineMCA() 123 Result[V->getNameAsString()] = V->toJSON(); in runBaselineMCA()
|
| /llvm-project/llvm/include/llvm/MCA/ |
| H A D | View.h | 33 virtual json::Value toJSON() const { return "not implemented"; } in toJSON() function
|
| /llvm-project/mlir/lib/Tools/mlir-lsp-server/ |
| H A D | Protocol.h | 54 llvm::json::Value toJSON(const MLIRConvertBytecodeResult &value);
|
| H A D | Protocol.cpp | 41 llvm::json::Value mlir::lsp::toJSON(const MLIRConvertBytecodeResult &value) { in toJSON() function in mlir::lsp
|
| /llvm-project/mlir/lib/Tools/mlir-pdll-lsp-server/ |
| H A D | Protocol.h | 64 llvm::json::Value toJSON(const PDLLViewOutputResult &value);
|