reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/raw_ostream.h
  253   raw_ostream &operator<<(const formatv_object_base &);

References

include/llvm/DebugInfo/CodeView/Formatters.h
   56       Stream << formatv("{0:X+4}", V.getIndex());
include/llvm/Support/FormatVariadic.h
  131     Stream << *this;
  139     Stream << *this;
include/llvm/Support/FormatVariadicDetails.h
   51   void format(llvm::raw_ostream &S, StringRef Options) override { S << Item; }
   83                                          << std::declval<U>()),
include/llvm/Support/JSON.h
  691     OS << llvm::formatv("[{0}:{1}, byte={2}]: {3}", Line, Column, Offset, Msg);
include/llvm/Support/WithColor.h
   71     OS << O;
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  692       CommentOS << formatv("{0:X+} [{1}]", TI.getIndex(), GHR);
lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
  130   OS << formatv("{0}", getTag());
  133     OS << formatv("\t{0}\t{1}", Spec.Attr, Spec.Form);
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
  220       W.startLine() << "Form: " << formatv("{0}", Atom.second) << '\n';
  409   W.startLine() << formatv("Tag: {0}\n", Tag);
  412     W.startLine() << formatv("{0}: {1}\n", Attr.Index, Attr.Form);
  566   W.startLine() << formatv("Tag: {0}\n", Abbr->Tag);
  569     W.startLine() << formatv("{0}: ", std::get<0>(Tuple).Index);
lib/DebugInfo/DWARF/DWARFDie.cpp
  277     OS << formatv(" [{0}]", Form);
  589             << formatv("{0}", getTag());
lib/DebugInfo/DWARF/DWARFGdbIndex.cpp
   37   OS << formatv("\n  Types CU list offset = {0:x}, has {1} entries:\n",
   41     OS << formatv("    {0}: offset = {1:x8}, type_offset = {2:x8}, "
lib/DebugInfo/DWARF/DWARFVerifier.cpp
  927       error() << formatv("Name Index @ {0:x} does not index any CU\n",
  937         error() << formatv(
  945         error() << formatv("Name Index @ {0:x} references a CU @ {1:x}, but "
  956       warn() << formatv("CU @ {0:x} not covered by any Name Index\n", KV.first);
  976     warn() << formatv("Name Index @ {0:x} does not contain a hash table.\n",
  988       error() << formatv("Bucket {0} of Name Index @ {1:x} contains invalid "
 1023       error() << formatv("Name Index @ {0:x}: Name table entries [{1}, {2}] "
 1041       error() << formatv(
 1059         error() << formatv("Name Index @ {0:x}: String ({1}) at index {2} "
 1079     error() << formatv("NameIndex @ {0:x}: Abbreviation {1:x}: {2} uses an "
 1088       error() << formatv(
 1116     warn() << formatv("NameIndex @ {0:x}: Abbreviation {1:x} contains an "
 1123     error() << formatv("NameIndex @ {0:x}: Abbreviation {1:x}: {2} uses an "
 1135     warn() << formatv("Name Index @ {0:x}: Verifying indexes of type units is "
 1145       warn() << formatv("NameIndex @ {0:x}: Abbreviation {1:x} references an "
 1152         error() << formatv("NameIndex @ {0:x}: Abbreviation {1:x} contains "
 1162       error() << formatv("NameIndex @ {0:x}: Indexing multiple compile units "
 1169       error() << formatv(
 1205     error() << formatv(
 1221       error() << formatv("Name Index @ {0:x}: Entry @ {1:x} contains an "
 1231       error() << formatv("Name Index @ {0:x}: Entry @ {1:x} references a "
 1238       error() << formatv("Name Index @ {0:x}: Entry @ {1:x}: mismatched CU of "
 1245       error() << formatv("Name Index @ {0:x}: Entry @ {1:x}: mismatched Tag of "
 1254       error() << formatv("Name Index @ {0:x}: Entry @ {1:x}: mismatched Name "
 1265                     error() << formatv("Name Index @ {0:x}: Name {1} ({2}) is "
 1272                         << formatv("Name Index @ {0:x}: Name {1} ({2}): {3}\n",
 1409       error() << formatv("Name Index @ {0:x}: Entry for DIE @ {1:x} ({2}) with "
lib/ExecutionEngine/JITLink/JITLink.cpp
   93   return OS << formatv("{0:x16}", B.getAddress()) << " -- "
   94             << formatv("{0:x16}", B.getAddress() + B.getSize()) << ": "
  128      << ", size = " << formatv("{0:x8}", Sym.getSize())
  129      << ", addr = " << formatv("{0:x16}", Sym.getAddress()) << " ("
  130      << formatv("{0:x16}", Sym.getAddressable().getAddress()) << " + "
  131      << formatv("{0:x8}", Sym.getOffset());
  140   OS << "edge@" << formatv("{0:x16}", B.getAddress() + E.getOffset()) << ": "
  141      << formatv("{0:x16}", B.getAddress()) << " + " << E.getOffset() << " -- "
lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
  282              << formatv("{0:x16}", Sym->getAddress()) << "\n";
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp
  134       dbgs() << "  " << *Name << ": " << formatv("{0:x16}", NSec.Address)
  135              << " -- " << formatv("{0:x16}", NSec.Address + NSec.Size)
  252       dbgs() << ": value = " << formatv("{0:x16}", Value)
  253              << ", type = " << formatv("{0:x2}", Type)
  254              << ", desc = " << formatv("{0:x4}", Desc) << ", sect = ";
  388                  << formatv("{0:x16}", NSec.Address) << " -- "
  389                  << formatv("{0:x16}", NSec.Address + NSec.Size) << "\n";
  427                << formatv("{0:x16}", NSec.Address) << " -- "
  428                << formatv("{0:x16}", NSec.Address + AnonBlockSize) << " ]\n";
  458         dbgs() << "    Creating block for " << formatv("{0:x16}", BlockStart)
  459                << " -- " << formatv("{0:x16}", BlockEnd) << ": "
  461                << formatv("{0:x16}", BlockOffset) << " with "
  485           dbgs() << "      " << formatv("{0:x16}", NSym.Value) << " -- "
  486                  << formatv("{0:x16}", SymEnd) << ": ";
lib/Support/Twine.cpp
   78     OS << *Ptr.formatvObject;
  134     OS << "formatv:\"" << *Ptr.formatvObject << "\"";
lib/Testing/Support/Annotations.cpp
   94   return O << llvm::formatv("[{0}, {1})", R.Begin, R.End);
lib/XRay/RecordPrinter.cpp
   16   OS << formatv("<Buffer: size = {0} bytes>", R.size()) << Delim;
   21   OS << formatv("<Wall Time: seconds = {0}.{1,0+6}>", R.seconds(), R.nanos())
   27   OS << formatv("<CPU: id = {0}, tsc = {1}>", R.cpuid(), R.tsc()) << Delim;
   32   OS << formatv("<TSC Wrap: base = {0}>", R.tsc()) << Delim;
   37   OS << formatv(
   45   OS << formatv("<Custom Event: delta = +{0}, size = {1}, data = '{2}'>",
   52   OS << formatv(
   60   OS << formatv("<Call Argument: data = {0} (hex = {0:x})>", R.arg()) << Delim;
   65   OS << formatv("<PID: {0}>", R.pid()) << Delim;
   70   OS << formatv("<Thread ID: {0}>", R.tid()) << Delim;
   83     OS << formatv("<Function Enter: #{0} delta = +{1}>", R.functionId(),
   87     OS << formatv("<Function Enter With Arg: #{0} delta = +{1}>",
   91     OS << formatv("<Function Exit: #{0} delta = +{1}>", R.functionId(),
   95     OS << formatv("<Function Tail Exit: #{0} delta = +{1}>", R.functionId(),
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
  355   OS << llvm::formatv("{0:2}\n", json::Value(std::move(Sarif)));
tools/clang/lib/Tooling/Syntax/Tokens.cpp
  107   return OS << llvm::formatv("FileRange(file = {0}, offsets = {1}-{2})",
  609     OS << llvm::formatv("file '{0}'\n", Entry->getName())
  621       OS << llvm::formatv(
tools/clang/tools/extra/clangd/JSONTransport.cpp
  109     OS << llvm::formatv(Pretty ? "{0:2}" : "{0}", Message);
tools/clang/tools/extra/clangd/Logger.cpp
   37     llvm::errs() << Message << "\n";
   56   Logs << llvm::formatv("{0}[{1:%H:%M:%S.%L}] {2}\n", indicator(Level),
tools/clang/tools/extra/clangd/Quality.cpp
  252   OS << llvm::formatv("=== Symbol quality: {0}\n", S.evaluate());
  253   OS << llvm::formatv("\tReferences: {0}\n", S.References);
  254   OS << llvm::formatv("\tDeprecated: {0}\n", S.Deprecated);
  255   OS << llvm::formatv("\tReserved name: {0}\n", S.ReservedName);
  256   OS << llvm::formatv("\tCategory: {0}\n", static_cast<int>(S.Category));
  426   OS << llvm::formatv("=== Symbol relevance: {0}\n", S.evaluate());
  427   OS << llvm::formatv("\tName: {0}\n", S.Name);
  428   OS << llvm::formatv("\tName match: {0}\n", S.NameMatch);
  430     OS << llvm::formatv(
  433   OS << llvm::formatv("\tForbidden: {0}\n", S.Forbidden);
  434   OS << llvm::formatv("\tNeedsFixIts: {0}\n", S.NeedsFixIts);
  435   OS << llvm::formatv("\tIsInstanceMember: {0}\n", S.IsInstanceMember);
  436   OS << llvm::formatv("\tContext: {0}\n", getCompletionKindString(S.Context));
  437   OS << llvm::formatv("\tQuery type: {0}\n", static_cast<int>(S.Query));
  438   OS << llvm::formatv("\tScope: {0}\n", static_cast<int>(S.Scope));
  440   OS << llvm::formatv("\tSymbol URI: {0}\n", S.SymbolURI);
  441   OS << llvm::formatv("\tSymbol scope: {0}\n",
  446     OS << llvm::formatv("\tIndex URI proximity: {0} (distance={1})\n",
  449   OS << llvm::formatv("\tSema file proximity: {0}\n", S.SemaFileProximityScore);
  451   OS << llvm::formatv("\tSema says in scope: {0}\n", S.SemaSaysInScope);
  453     OS << llvm::formatv("\tIndex scope boost: {0}\n",
  456   OS << llvm::formatv(
  495   OS << llvm::formatv("=== Signature Quality:\n");
  496   OS << llvm::formatv("\tNumber of parameters: {0}\n", S.NumberOfParameters);
  497   OS << llvm::formatv("\tNumber of optional parameters: {0}\n",
  499   OS << llvm::formatv("\tKind: {0}\n", S.Kind);
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp
   47   llvm::outs() << llvm::formatv("{0} took {1:ms+n}.\n", Name, Duration);
  148     llvm::outs() << llvm::formatv(OutputFormat, "Rank", "Symbol ID",
  152       llvm::outs() << llvm::formatv(OutputFormat, Rank++, Sym.ID.str(),
  233         llvm::outs() << llvm::formatv(
  305         llvm::outs() << llvm::formatv("{0,16} - {1}\n", C.Name, C.Description);
tools/clang/tools/extra/clangd/unittests/GlobalCompilationDatabaseTests.cpp
  228       OS << llvm::formatv(Contents.data(),
tools/lldb/source/Host/common/Host.cpp
  651     OS << formatv("{0}{1:x-2}", type, WS.status);
tools/lldb/source/Host/common/TCPSocket.cpp
  283       llvm::errs() << llvm::formatv(
tools/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
  297   return OS << llvm::formatv("FUNC {0}{1:x-} {2:x-} {3:x-} {4}",
  333   return OS << llvm::formatv("{0:x-} {1:x-} {2} {3}", R.Address, R.Size,
  354   return OS << llvm::formatv("PUBLIC {0}{1:x-} {2:x-} {3}",
  402   OS << llvm::formatv("{0:x-} ", R.Address);
  404     OS << llvm::formatv("{0:x-} ", *R.Size);
  477   return OS << llvm::formatv(
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  302     llvm::errs() << llvm::formatv("failed to attach to process {0}: {1}", pid,
tools/lldb/source/Symbol/CxxModuleHandler.cpp
  103     OS << llvm::formatv("error when reconstructing context of kind {0}:{1}",
tools/lldb/source/Target/MemoryRegionInfo.cpp
   13   return OS << llvm::formatv("MemoryRegionInfo([{0}, {1}), {2}, {3}, {4}, {5}, "
tools/lldb/source/Utility/Log.cpp
   51   stream << llvm::formatv("Logging categories for '{0}':\n", entry.first());
   54                     stream << llvm::formatv("  {0} - {1}\n", name, description);
   78     stream << llvm::formatv("error: unrecognized log category '{0}'\n",
  207     error_stream << llvm::formatv("Invalid log channel '{0}'.\n", channel);
  222     error_stream << llvm::formatv("Invalid log channel '{0}'.\n", channel);
  236     stream << llvm::formatv("Invalid log channel '{0}'.\n", channel);
  291     OS << llvm::formatv("{0:f9} ", now.count());
  296     OS << llvm::formatv("[{0,0+4}/{1,0+4}] ", getpid(),
  307     OS << llvm::formatv(format_str.c_str(), thread_name);
  317     OS << llvm::formatv("{0,-60:60} ", (file + ":" + function).str());
  345   message << payload << "\n";
tools/lldb/tools/lldb-server/LLDBServerUtilities.cpp
   30     errs() << llvm::formatv(
   57       errs() << formatv("Unable to setup logging for channel \"{0}\": {1}",
tools/lldb/tools/lldb-server/lldb-gdbserver.cpp
  195     llvm::errs() << llvm::formatv("error: failed to launch '{0}': {1}\n",
  452           llvm::errs() << llvm::formatv(
tools/lldb/tools/lldb-server/lldb-platform.cpp
  209         llvm::errs() << llvm::formatv("error: port offset {0} is not in the "
  226         llvm::errs() << llvm::formatv("error: port number {0} is not in the "
tools/lldb/tools/lldb-test/lldb-test.cpp
  291     errs() << formatv("Failed to create target '{0}: {1}\n", Filename, ST);
  300     errs() << formatv("Could not open file '{0}: {1}\n", Filename,
  452   outs() << formatv("Found {0} functions:\n", List.GetSize());
  489   outs() << formatv("Found {0} blocks:\n", List.GetSize());
  534   outs() << formatv("Found {0} types:\n", Map.GetSize());
  573   outs() << formatv("Found {0} variables:\n", List.GetSize());
  929   outs() << formatv("Command: {0} = malloc(size={1}, alignment={2})\n", Label,
  947     outs() << formatv("Malloc error: {0}\n", ST);
  952   outs() << formatv("Malloc: address = {0:x}\n", Addr);
  966            << formatv(", previous allocation at [{0:x}, {1:x})\n", I.start(),
  988   outs() << formatv("Command: free({0})\n", Label);
  999     outs() << formatv("Free error: {0}\n", ST);
 1006     outs() << formatv("Free: [{0:x}, {1:x})\n", Interval.start(),
 1027     outs() << formatv("Failed: {0}\n", Result.GetErrorData());
tools/lldb/tools/lldb-vscode/JSONUtils.cpp
  537       line_strm << llvm::formatv("{0:X+}: <{1}> {2} {3,12} {4}", inst_addr,
tools/llvm-ar/llvm-ar.cpp
  484     outs() << ' ' << formatv("{0:%b %e %H:%M %Y}", ModTimeInNs);
tools/llvm-cfi-verify/llvm-cfi-verify.cpp
  221   outs() << formatv("\nTotal Indirect CF Instructions: {0}\n"
tools/llvm-jitlink/llvm-jitlink.cpp
  209           OS << formatv("\n{0:x16}:", NextAddr);
  217           OS << formatv("\n{0:x16}:", NextAddr);
  221           OS << formatv(" {0:x-2}", SymData[NextAddr - SymStart]);
tools/llvm-pdbutil/LinePrinter.cpp
  237       OS << formatv("  {0}",
  254     OS << formatv("Block {0} (\n", uint32_t(Blocks.front()));
tools/llvm-pdbutil/PrettyFunctionDumper.cpp
  125         << formatv("+{0,2}", Prologue);
  132         << formatv("-{0,2}", Epilogue);
  136       << formatv(" | sizeof={0,3}", Symbol.getLength());
tools/llvm-pdbutil/PrettyTypeDumper.cpp
   97     errs() << formatv("Filtering and sorting {0} types", UnfilteredCount);
  105       errs() << formatv("Examined {0}/{1} items.  {2} items discarded\n",
tools/llvm-readobj/ELFDumper.cpp
 4270       OS << formatv("{0:x}",
tools/llvm-xray/xray-account.cpp
  360   OS << llvm::formatv(StatsHeaderFormat, "funcid", "count", "min", "med", "90p",
  362      << llvm::formatv("  {0,-12}\n", "function");
  364     OS << llvm::formatv(StatsFormat, FuncId, Count, Row.Min, Row.Median,
  448         << llvm::formatv(
tools/llvm-xray/xray-converter.cpp
  251     OS << llvm::formatv(
  259     OS << llvm::formatv(
  352     OS << llvm::formatv(
  357       OS << llvm::formatv(R"(, "parent": "{0}")",
tools/llvm-xray/xray-graph-diff.cpp
  394     OS << formatv(R"(F{0} -> F{1} [tooltip="{2} -> {3}" label="{4}" )"
  406       OS << formatv(R"(F{0} [label="F0"])"
  411     OS << formatv(R"(F{0} [label="{1}" color="{2}"])"
tools/llvm-xray/xray-stacks.cpp
  120     Stream << formatv(
  458     OS << formatv("{0,-5} {1,-60} {2,+12} {3,+16}\n", "lvl", "function",
  465       OS << formatv("#{0,-4} {1,-60} {2,+12} {3,+16}\n", Level++,
  474     OS << formatv("#{0,-4} {1,-60} {2,+12} {3,+16}\n", Level++,
tools/polly/lib/Exchange/JSONExporter.cpp
  188     F.os() << formatv("{0:3}", jscop);
unittests/Support/FormatVariadicTest.cpp
  521   Stream << formatv(Intro, std::tuple_size<Tuple>::value,
  524   Stream << formatv(Header, "Char", "HexInt", "Str", "Ref", "std::str",
  529     Stream << llvm::apply_tuple(format_tuple(Line), Item) << "\n";