| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | JSONNodeDumper.cpp | 33 JOS.attribute("id", createPointerRepresentation(A)); in Visit() 34 JOS.attribute("kind", AttrName); in Visit() 35 JOS.attributeObject("range", [A, this] { writeSourceRange(A->getRange()); }); in Visit() 52 JOS.attribute("id", createPointerRepresentation(S)); in Visit() 53 JOS.attribute("kind", S->getStmtClassName()); in Visit() 54 JOS.attributeObject("range", in Visit() 58 JOS.attribute("type", createQualType(E->getType())); in Visit() 67 JOS.attribute("valueCategory", Category); in Visit() 73 JOS.attribute("id", createPointerRepresentation(T)); in Visit() 78 JOS.attribute("kind", (llvm::Twine(T->getTypeClassName()) + "Type").str()); in Visit() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TrainingLogger.cpp | 31 json::OStream JOS(*OS); 32 JOS.object([&]() { 33 JOS.attributeArray("features", [&]() { 35 TS.toJSON(JOS); in writeHeader() 38 JOS.attributeBegin("score"); in writeHeader() 39 RewardSpec.toJSON(JOS); in writeHeader() 40 JOS.attributeEnd(); in writeHeader() 43 JOS.attributeBegin("advice"); in writeHeader() 44 AdviceSpec->toJSON(JOS); in writeHeader() 45 JOS in writeHeader() 36 json::OStream JOS(*OS); writeHeader() local 58 json::OStream JOS(*OS); switchContext() local 66 json::OStream JOS(*OS); startObservation() local 77 json::OStream JOS(*OS); logRewardImpl() local [all...] |
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | HTMLLogger.cpp | 86 ModelDumper(llvm::json::OStream &JOS, const Environment &Env) in ModelDumper() argument 87 : JOS(JOS), Env(Env) {} in ModelDumper() 90 JOS.attribute("value_id", llvm::to_string(&V)); in dump() 94 JOS.attribute("kind", debugString(V.getKind())); in dump() 103 JOS.attributeObject( in dump() 109 JOS.attributeObject(("p:" + Prop.first()).str(), in dump() 115 JOS.attribute("formula", llvm::to_string(B->formula())); in dump() 116 JOS.attribute("truth", Env.proves(B->formula()) ? "true" in dump() 123 JOS.attribute("location", llvm::to_string(&L)); in dump() 127 JOS.attribute("type", L.getType().getAsString()); in dump() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ScopedPrinter.h | 581 json::OStream JOS; variable 594 JOS.attribute(Label, Value); in printNumber() 598 JOS.attribute(Label, Value); in printNumber() 602 JOS.attribute(Label, Value); in printNumber() 606 JOS.attribute(Label, Value); in printNumber() 610 JOS.attribute(Label, Value); in printNumber() 614 JOS.attribute(Label, Value); in printNumber() 618 JOS.attribute(Label, Value); in printNumber() 622 JOS.attribute(Label, Value); in printNumber() 626 JOS.attribute(Label, Value); in printNumber() [all …]
|
| /freebsd/contrib/llvm-project/clang/tools/clang-scan-deps/ |
| H A D | ClangScanDeps.cpp | 349 static auto toJSONStrings(llvm::json::OStream &JOS, Container &&Strings) { in toJSONStrings() argument 350 return [&JOS, Strings = std::forward<Container>(Strings)] { in toJSONStrings() 355 JOS.value(Str); in toJSONStrings() 361 static auto toJSONSorted(llvm::json::OStream &JOS, std::vector<ModuleID> V) { in toJSONSorted() argument 363 return [&JOS, V = std::move(V)] { in toJSONSorted() 365 JOS.object([&] { in toJSONSorted() 366 JOS.attribute("context-hash", StringRef(MID.ContextHash)); in toJSONSorted() 367 JOS.attribute("module-name", StringRef(MID.ModuleName)); in toJSONSorted() 372 static auto toJSONSorted(llvm::json::OStream &JOS, in toJSONSorted() argument 377 return [&JOS, LinkLibs = std::move(LinkLibs)] { in toJSONSorted() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | JSON.cpp | 261 static void abbreviate(const Value &V, OStream &JOS) { in abbreviate() argument 264 JOS.rawValue(V.getAsArray()->empty() ? "[]" : "[ ... ]"); in abbreviate() 267 JOS.rawValue(V.getAsObject()->empty() ? "{}" : "{ ... }"); in abbreviate() 272 JOS.value(V); in abbreviate() 276 JOS.value(Truncated); in abbreviate() 281 JOS.value(V); in abbreviate() 287 static void abbreviateChildren(const Value &V, OStream &JOS) { in abbreviateChildren() argument 290 JOS.array([&] { in abbreviateChildren() 292 abbreviate(I, JOS); in abbreviateChildren() 296 JOS.object([&] { in abbreviateChildren() [all …]
|
| H A D | ScopedPrinter.cpp | 43 JOS(OS, /*Indent=*/PrettyPrint ? 2 : 0), in JSONScopedPrinter()
|
| H A D | Mustache.cpp | 562 llvm::json::OStream JOS(OS, 2); in toMustacheString() local 563 JOS.value(Data); in toMustacheString()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | HeaderIncludeGen.cpp | 321 llvm::json::OStream JOS(OS); in EndOfMainFile() local 322 JOS.object([&] { in EndOfMainFile() 323 JOS.attribute("source", MainFile.c_str()); in EndOfMainFile() 324 JOS.attributeArray("includes", [&] { in EndOfMainFile() 328 JOS.value(H); in EndOfMainFile() 392 llvm::json::OStream JOS(OS); in EndOfMainFile() local 393 JOS.array([&] { in EndOfMainFile() 395 JOS.object([&] { in EndOfMainFile() 397 JOS.attribute("source", S->getName().str()); in EndOfMainFile() 398 JOS.attributeArray("includes", [&] { in EndOfMainFile() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | JSONNodeDumper.h | 39 llvm::json::OStream JOS; 54 JOS.objectBegin(); in AddChild() 63 JOS.objectEnd(); in AddChild() 74 JOS.attributeBegin(LabelStr); in AddChild() 75 JOS.arrayBegin(); in AddChild() 80 JOS.objectBegin(); in AddChild() 91 JOS.objectEnd(); in AddChild() 94 JOS.arrayEnd(); in AddChild() 95 JOS.attributeEnd(); in AddChild() 108 NodeStreamer(raw_ostream &OS) : JOS(OS, 2) {} in NodeStreamer() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | SampleProfReader.cpp | 78 json::OStream &JOS, bool TopLevel = false) { in dumpFunctionProfileJson() argument 83 JOS.object([&] { in dumpFunctionProfileJson() 84 JOS.attribute("line", Loc.LineOffset); in dumpFunctionProfileJson() 86 JOS.attribute("discriminator", Loc.Discriminator); in dumpFunctionProfileJson() 87 JOS.attribute("samples", Sample.getSamples()); in dumpFunctionProfileJson() 91 JOS.attributeArray("calls", [&] { in dumpFunctionProfileJson() 93 JOS.object([&] { in dumpFunctionProfileJson() 94 JOS.attribute("function", J.first.str()); in dumpFunctionProfileJson() 95 JOS.attribute("samples", J.second); in dumpFunctionProfileJson() 109 JOS.object([&] { in dumpFunctionProfileJson() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | LTO.cpp | 2367 json::OStream JOS(OS); in emitDistributorJson() local 2368 JOS.object([&]() { in emitDistributorJson() 2370 JOS.attributeObject("common", [&]() { in emitDistributorJson() 2371 JOS.attribute("linker_output", LinkerOutputFile); in emitDistributorJson() 2373 JOS.attributeArray("args", [&]() { in emitDistributorJson() 2374 JOS.value(RemoteCompiler); in emitDistributorJson() 2376 JOS.value("-c"); in emitDistributorJson() 2378 JOS.value(Saver.save("--target=" + Triple.str())); in emitDistributorJson() 2381 JOS.value(A); in emitDistributorJson() 2384 JOS.attribute("inputs", Array(CommonInputs)); in emitDistributorJson() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/ |
| H A D | DIPrinter.h | 135 json::OStream JOS(OS, Config.Pretty ? 2 : 0); in printJSON() 136 JOS.value(V); in printJSON()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-remarkutil/ |
| H A D | RemarkSizeDiff.cpp | 443 json::OStream JOS(OS, PrettyPrint ? 2 : 0); in outputJSONForAllDiffs() local 444 JOS.value(std::move(Output)); in outputJSONForAllDiffs()
|
| /freebsd/crypto/heimdal/lib/wind/ |
| H A D | NormalizationTest.txt | 9620 C883;C883;110C 1169 11BA;C883;110C 1169 11BA; # (좃; 좃; 좃; 좃; 좃; ) HANGUL SYLLABLE JOS
|