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

References

include/llvm/Analysis/BlockFrequencyInfoImpl.h
 1456     OS << format("label=\"%.1f%%\"", Percent);
include/llvm/BinaryFormat/Dwarf.h
  669          << llvm::format("%x", E);
include/llvm/DebugInfo/GSYM/LineEntry.h
   32   return OS << "addr=" << HEX64(LE.Addr) << ", file=" << format("%3u", LE.File)
   33       << ", line=" << format("%3u", LE.Line);
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
  122                    << format("0x%016" PRIx64, Unmapped.back().RemoteCodeAddr)
  133                    << format("0x%016" PRIx64, Unmapped.back().RemoteRODataAddr)
  144                    << format("0x%016" PRIx64, Unmapped.back().RemoteRWDataAddr)
  276                    << " -> " << format("0x%016" PRIx64, NextAddr) << "\n");
  298                             << format("0x%016" PRIx64, Alloc.getRemoteAddress())
  311                           << format("0x%016" PRIx64, RemoteSegmentAddr)
  517                       << format("0x%016" PRIx64, Addr) << "\n");
  526                       << format("0x%016" PRIx64, Addr) << "\n");
  534                       << format("0x%016" PRIx64, Addr) << "\n");
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
  163     LLVM_DEBUG(dbgs() << "  Calling " << format("0x%016x", Addr) << "\n");
  186     LLVM_DEBUG(dbgs() << "  Calling " << format("0x%016x", Addr) << "\n");
  199     LLVM_DEBUG(dbgs() << "  Calling " << format("0x%016x", Addr) << "\n");
  229                       << format("0x%016x", TAddr) << ", Size = " << Size
  330                       << "' =  " << format("0x%016x", Addr) << "\n");
  357                       << format("0x%016x", RSrc) << "\n");
  370                       << format("0x%016x", TAddr) << ", Size = " << Size
  420                       << format("0x%016x", DBW.getDst()) << "\n");
  425     LLVM_DEBUG(dbgs() << "  Writing pointer *" << format("0x%016x", Addr)
  426                       << " = " << format("0x%016x", PtrVal) << "\n");
include/llvm/MC/LaneBitmask.h
   95       OS << format(LaneBitmask::FormatStr, LaneMask.getAsInteger());
include/llvm/Object/SymbolicFile.h
   47   OS << "(" << format("0x%08" PRIxPTR, D.p) << " (" << format("0x%08x", D.d.a)
   47   OS << "(" << format("0x%08" PRIxPTR, D.p) << " (" << format("0x%08x", D.d.a)
   48      << ", " << format("0x%08x", D.d.b) << "))";
include/llvm/Support/Error.h
 1201   Stream << format(Fmt, Vals...);
lib/BinaryFormat/MsgPackDocumentYAML.cpp
   53       OS << format("%#llx", (unsigned long long)UInt);
lib/Bitcode/Reader/BitcodeAnalyzer.cpp
  400   OS << format("%.2f/%.2fB/%luW", Bits, Bits / 8, (unsigned long)(Bits / 32));
  403   OS << format("%lub/%.2fB/%luW", (unsigned long)Bits, (double)Bits / 8,
  661     O.OS << "    Percent of file: " << format("%2.4f%%", pct) << "\n";
  679       O.OS << "    Percent Abbrevs: " << format("%2.4f%%", pct) << "\n";
  697         O.OS << format("\t\t%7d %9lu", RecStats.NumInstances,
  701           O.OS << format(" %9.1f",
  707           O.OS << format(" %7.2f", (double)RecStats.NumAbbrev /
lib/CodeGen/AsmPrinter/AccelTable.cpp
  624   OS << "Magic: " << format("0x%x", Magic) << "\n"
  651   OS << "  Hash Value: " << format("0x%x", HashValue) << "\n";
  706   OS << "  QualifiedNameHash: " << format("%x\n", QualifiedNameHash) << "\n";
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2395         AP.OutStreamer->GetCommentOS() << format("0x%" PRIx64 "\n",
 2689         AP.OutStreamer->GetCommentOS() << format("0x%" PRIx64 "\n",
lib/CodeGen/AsmPrinter/DIE.cpp
   89       LLVM_DEBUG(dbgs() << "Invalid form " << format("0x%x", AttrData.getForm())
  111     << format("0x%lx", (long)(intptr_t)this)
  249   O << Indent << "Die: " << format("0x%lx", (long)(intptr_t) this)
  692   O << format("Die: 0x%lx", (long)(intptr_t)&Entry);
lib/CodeGen/BranchRelaxation.cpp
  144     dbgs() << format("%%bb.%u\toffset=%08x\t", MBB.getNumber(), BBI.Offset)
  145            << format("size=%#x\n", BBI.Size);
lib/CodeGen/MIRPrinter.cpp
  659            << format("0x%08" PRIx32, MBB.getSuccProbability(I).getNumerator())
lib/CodeGen/MachineBasicBlock.cpp
  367            << format("0x%08" PRIx32, getSuccProbability(I).getNumerator())
  378            << format("%.2f%%",
lib/CodeGen/MachineOperand.cpp
  691         OS << format("0x%02x", uint8_t(CFI.getValues()[i])) << ", ";
  692       OS << format("0x%02x", uint8_t(CFI.getValues()[e])) << ", ";
lib/CodeGen/MachinePipeliner.cpp
 1997         dbgs() << format("\tes: %8x ls: %8x me: %8x ms: %8x\n", EarlyStart,
 2923         dbgs() << format(" %16s(%2d): Mask: 0x%08x, NumUnits:%2d\n",
 2961         dbgs() << format(" %16s(%2d): Count: %2d, NumUnits:%2d, Cycles:%2d\n",
 3000         dbgs() << format(" %16s(%2d): Count: %2d, NumUnits:%2d, Cycles:%2d\n",
lib/CodeGen/MachineTraceMetrics.cpp
  868       dbgs() << format("%7u Instructions\n", TBI.InstrDepth);
  873           dbgs() << format("%6uc @ ", MTM.getCycles(PRDepths[K]))
 1052       dbgs() << format("%7u Instructions\n", TBI.InstrHeight);
 1057           dbgs() << format("%6uc @ ", MTM.getCycles(PRHeights[K]))
lib/CodeGen/ScheduleDAGInstrs.cpp
 1503     OS << format("%g", ((double)InstrCount / Length));
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  785       raw_string_ostream(Name) << format(".%05u", 65535 - Priority);
 1525         (Priority < 200 ? 'A' : 'T') << format("%05u", Priority);
 1534     raw_string_ostream(Name) << format(".%05u", 65535 - Priority);
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
   36   return OS << "DW_ATOM_unknown_" << format("%x", A.Value);
  178   W.startLine() << format("String: 0x%08" PRIx64, StringOffset);
  186       W.startLine() << format("Atom[%d]: ", i);
  677   W.startLine() << format("String: 0x%08" PRIx64, NTE.getStringOffset());
  688     W.startLine() << format("CU[%u]: 0x%08" PRIx64 "\n", CU, getCUOffset(CU));
  697     W.startLine() << format("LocalTU[%u]: 0x%08" PRIx64 "\n", TU,
  707     W.startLine() << format("ForeignTU[%u]: 0x%016" PRIx64 "\n", TU,
lib/DebugInfo/DWARF/DWARFAddressRange.cpp
   20   OS << format("0x%*.*" PRIx64 ", ", AddressSize * 2, AddressSize * 2, LowPC)
   21      << format("0x%*.*" PRIx64, AddressSize * 2, AddressSize * 2, HighPC);
lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
   18   OS << format("0x%08" PRIx64, getOffset()) << ": Compile Unit:"
   19      << " length = " << format("0x%08" PRIx64, getLength())
   20      << " version = " << format("0x%04x", getVersion());
   24      << format("0x%04" PRIx64, getAbbreviations()->getOffset())
   25      << " addr_size = " << format("0x%02x", getAddressByteSize());
   27     OS << " DWO_id = " << format("0x%016" PRIx64, *getDWOId());
   28   OS << " (next unit at " << format("0x%08" PRIx64, getNextUnitOffset())
lib/DebugInfo/DWARF/DWARFContext.cpp
  169       OS << format("0x%8.8" PRIx64 ": Gap, length = ", Offset);
  172     OS << format("0x%8.8" PRIx64 ": ", ContributionHeader);
  184       OS << format("0x%8.8" PRIx64 ": ", Offset);
  187       OS << format("%8.8" PRIx64 " ", StringOffset);
  190         OS << format("\"%s\"", S);
  196     OS << format("0x%8.8" PRIx64 ": Gap, length = ", Offset);
  231       OS << format("0x%8.8" PRIx64 ": ", offset);
  233       OS << format("%8.8" PRIx64 "  ", StringOffset);
  236         OS << format("\"%s\"", S);
  432       OS << "debug_line[" << format("0x%8.8" PRIx64, Parser.getOffset())
  479       OS << format("0x%8.8" PRIx64 ": \"%s\"\n", strOffset, s);
  489       OS << format("0x%8.8" PRIx64 ": \"%s\"\n", strDWOOffset, s);
  499       OS << format("0x%8.8" PRIx64 ": \"", strOffset);
lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp
  108     OS << format("Abbrev table for offset: 0x%8.8" PRIx64 "\n", I.first);
lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
  143     OS << format("0x%8.8" PRIx32 ": ", HeaderOffset);
  144   OS << format("Addr Section: length = 0x%8.8" PRIx32
  155       OS << format(AddrFmt, Addr);
lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp
   21   OS << format("[0x%*.*" PRIx64 ", ", AddressSize * 2, AddressSize * 2, Address)
   22      << format(" 0x%*.*" PRIx64 ")", AddressSize * 2, AddressSize * 2,
  102   OS << format("Address Range Header: length = 0x%8.8x, version = 0x%4.4x, ",
  104      << format("cu_offset = 0x%8.8x, addr_size = 0x%2.2x, seg_size = 0x%2.2x\n",
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
  231       OS << format(" Opcode %x",  Opcode);
  237     OS << format(" %" PRIx64, Operand);
  243     OS << format(" %+" PRId64, int64_t(Operand));
  247       OS << format(" %" PRId64, Operand * CodeAlignmentFactor);
  249       OS << format(" %" PRId64 "*code_alignment_factor" , Operand);
  253       OS << format(" %" PRId64, int64_t(Operand) * DataAlignmentFactor);
  255       OS << format(" %" PRId64 "*data_alignment_factor" , int64_t(Operand));
  259       OS << format(" %" PRId64, Operand * DataAlignmentFactor);
  261       OS << format(" %" PRId64 "*data_alignment_factor" , Operand);
  264     OS << format(" reg%" PRId64, Operand);
  289   OS << format("%08x %08x %08x CIE", (uint32_t)Offset, (uint32_t)Length,
  292   OS << format("  Version:               %d\n", Version);
  295     OS << format("  Address size:          %u\n", (uint32_t)AddressSize);
  296     OS << format("  Segment desc size:     %u\n",
  299   OS << format("  Code alignment factor: %u\n", (uint32_t)CodeAlignmentFactor);
  300   OS << format("  Data alignment factor: %d\n", (int32_t)DataAlignmentFactor);
  301   OS << format("  Return address column: %d\n", (int32_t)ReturnAddressRegister);
  303     OS << format("  Personality Address: %016" PRIx64 "\n", *Personality);
  316   OS << format("%08x %08x %08x FDE ", (uint32_t)Offset, (uint32_t)Length,
  318   OS << format("cie=%08x pc=%08x...%08x\n", (int32_t)LinkedCIEOffset,
  322     OS << format("  LSDA Address: %016" PRIx64 "\n", *LSDAAddress);
  351   OS << format(ErrorMsg, StartOffset);
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  103      << format("    total_length: 0x%8.8" PRIx64 "\n", TotalLength)
  104      << format("         version: %u\n", getVersion());
  106     OS << format("    address_size: %u\n", getAddressSize())
  107        << format(" seg_select_size: %u\n", SegSelectorSize);
  108   OS << format(" prologue_length: 0x%8.8" PRIx64 "\n", PrologueLength)
  109      << format(" min_inst_length: %u\n", MinInstLength)
  110      << format(getVersion() >= 4 ? "max_ops_per_inst: %u\n" : "", MaxOpsPerInst)
  111      << format(" default_is_stmt: %u\n", DefaultIsStmt)
  112      << format("       line_base: %i\n", LineBase)
  113      << format("      line_range: %u\n", LineRange)
  114      << format("     opcode_base: %u\n", OpcodeBase);
  117     OS << format("standard_opcode_lengths[%s] = %u\n",
  124       OS << format("include_directories[%3u] = ", I + DirBase);
  135       OS <<   format("file_names[%3u]:\n", I + FileBase);
  139          <<   format("      dir_index: %" PRIu64 "\n", FileEntry.DirIdx);
  143         OS << format("       mod_time: 0x%8.8" PRIx64 "\n", FileEntry.ModTime);
  145         OS << format("         length: 0x%8.8" PRIx64 "\n", FileEntry.Length);
  432   OS << format("0x%16.16" PRIx64 " %6u %6u", Address.Address, Line, Column)
  433      << format(" %6u %3u %13u ", File, Isa, Discriminator)
  565       *OS << format("0x%08.08" PRIx64 ": ", *OffsetPtr);
  570       *OS << format("%02.02" PRIx8 " ", Opcode);
  629           *OS << format(" (0x%16.16" PRIx64 ")", State.Row.Address.Address);
  664                 << format("(0x%16.16" PRIx64 ")", FileEntry.ModTime)
  677           *OS << format("Unrecognized extended op 0x%02.02" PRIx8, SubOpcode)
  678               << format(" length %" PRIx64, Len);
  776                 << format(" (0x%16.16" PRIx64 ")", AddrOffset);
  795                 << format(" (0x%4.4" PRIx16 ")", PCOffset);
  829               *OS << format("Skipping ULEB128 value: 0x%16.16" PRIx64 ")\n",
lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
   47     OS << format("[0x%*.*" PRIx64 ", ", AddressSize * 2, AddressSize * 2,
   49     OS << format(" 0x%*.*" PRIx64 ")", AddressSize * 2, AddressSize * 2,
   69     OS << format("0x%8.8" PRIx64 ": ", L.Offset);
  237     OS << format("%s%*c", EncodingString.data(),
  243       OS << format("0x%*.*" PRIx64 ", 0x%*.*" PRIx64, AddressSize * 2,
  249       OS << format("0x%*.*" PRIx64, AddressSize * 2, AddressSize * 2,
  261       OS << format("%*s", MaxEncodingStringLength, (const char *)"=> ");
  322     OS << format("0x%8.8" PRIx64 ": ", L.Offset);
lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
   50     OS << "length = " << format("0x%08x", S.Length);
   51     OS << " version = " << format("0x%04x", S.Version);
   52     OS << " unit_offset = " << format("0x%08" PRIx64, S.Offset);
   53     OS << " unit_size = " << format("0x%08x", S.Size) << '\n';
   58       OS << format("0x%8.8" PRIx64 " ", E.SecOffset);
   63         OS << format("%-8s", EntryLinkage.data()) << ' '
   64            << format("%-8s", EntryKind.data()) << ' ';
lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp
   65     OS << format(format_str, Offset, RLE.StartAddress, RLE.EndAddress);
   67   OS << format("%08" PRIx64 " <End of list>\n", Offset);
lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp
  190     OS << format("0x%8.8" PRIx64 ":", Offset);
  194     OS << format(" [%s%*c", EncodingString.data(),
  211     OS << format(" 0x%*.*" PRIx64, AddrSize * 2, AddrSize * 2, Value0);
  219     OS << format(" 0x%*.*" PRIx64, AddrSize * 2, AddrSize * 2, Value0);
lib/DebugInfo/DWARF/DWARFDie.cpp
   50       OS << format("DW_APPLE_PROPERTY_0x%" PRIx64, Bit);
  310         OS << format("0x%016" PRIx64, HighPC);
  583           << format("\n0x%8.8" PRIx64 ": ", Offset);
  591           OS << format(" [%u] %c", abbrCode,
lib/DebugInfo/DWARF/DWARFExpression.cpp
  225         OS << format(" %s%+" PRId64, RegName, Operands[OpNum]);
  265         OS << format(" (0x%08" PRIx64 ")", U->getOffset() + Operands[Operand]);
  269         OS << format(" <invalid base_type ref: 0x%" PRIx64 ">",
  275         OS << format(" 0x%02x", Expr->Data.getU8(&Offset));
  278         OS << format(" %+" PRId64, (int64_t)Operands[Operand]);
  281         OS << format(" 0x%" PRIx64, Operands[Operand]);
  294         OS << format(" %02x", Data.getU8(&FailOffset));
lib/DebugInfo/DWARF/DWARFFormValue.cpp
  368   OS << format("0x%016" PRIx64, SA.Address);
  385     OS << format(" [%" PRIu64 "]", SectionIndex);
  410       AddrOS << format("indexed (%8.8x) address = ", (uint32_t)UValue);
  422     OS << format("0x%02x", (uint8_t)UValue);
  425     OS << format("0x%04x", (uint16_t)UValue);
  428     OS << format("0x%08x", (uint32_t)UValue);
  431     AddrOS << format("0x%016" PRIx64, UValue);
  434     OS << format("0x%016" PRIx64, UValue);
  453         AddrOS << format("<0x%" PRIx64 "> ", UValue);
  456         AddrOS << format("<0x%2.2x> ", (uint8_t)UValue);
  459         AddrOS << format("<0x%4.4x> ", (uint16_t)UValue);
  462         AddrOS << format("<0x%8.8x> ", (uint32_t)UValue);
  473           AddrOS << format("%2.2x ", *DataPtr);
  489       OS << format(" .debug_str[0x%8.8x] = ", (uint32_t)UValue);
  494       OS << format(" .debug_line_str[0x%8.8x] = ", (uint32_t)UValue);
  504       OS << format("indexed (%8.8x) string = ", (uint32_t)UValue);
  509       OS << format("alt indirect string, offset: 0x%" PRIx64 "", UValue);
  513     AddrOS << format("0x%016" PRIx64, UValue);
  518       AddrOS << format("cu + 0x%2.2x", (uint8_t)UValue);
  523       AddrOS << format("cu + 0x%4.4x", (uint16_t)UValue);
  528       AddrOS << format("cu + 0x%4.4x", (uint32_t)UValue);
  533       AddrOS << format("cu + 0x%8.8" PRIx64, UValue);
  538       AddrOS << format("cu + 0x%" PRIx64, UValue);
  541     AddrOS << format("<alt 0x%" PRIx64 ">", UValue);
  551     OS << format("indexed (0x%x) rangelist = ", (uint32_t)UValue);
  556     AddrOS << format("0x%08x", (uint32_t)UValue);
  560     OS << format("DW_FORM(0x%4.4x)", Form);
  569           << format("0x%8.8" PRIx64, UValue + (U ? U->getOffset() : 0));
lib/DebugInfo/DWARF/DWARFGdbIndex.cpp
   27   OS << format("\n  CU list offset = 0x%x, has %" PRId64 " entries:",
   32     OS << format("    %d: Offset = 0x%llx, Length = 0x%llx\n", I++, CU.Offset,
   47   OS << format("\n  Address area offset = 0x%x, has %" PRId64 " entries:",
   51     OS << format(
   58   OS << format("\n  Symbol table offset = 0x%x, size = %" PRId64
   68     OS << format("    %d: Name offset = 0x%x, CU vector offset = 0x%x\n", I,
   81     OS << format("      String name: %s, CU vector index: %d\n", Name.data(),
   87   OS << format("\n  Constant pool offset = 0x%x, has %" PRId64 " CU vectors:",
   91     OS << format("\n    %d(0x%x): ", I++, V.first);
   93       OS << format("0x%x ", Val);
lib/DebugInfo/DWARF/DWARFListTable.cpp
   91     OS << format("0x%8.8" PRIx64 ": ", HeaderOffset);
   92   OS << format(
  103       OS << format("\n0x%8.8" PRIx64, Off);
  105         OS << format(" => 0x%8.8" PRIx64,
lib/DebugInfo/DWARF/DWARFTypeUnit.cpp
   26        << " type_signature = " << format("0x%016" PRIx64, getTypeHash())
   27        << " length = " << format("0x%08" PRIx64, getLength()) << '\n';
   31   OS << format("0x%08" PRIx64, getOffset()) << ": Type Unit:"
   32      << " length = " << format("0x%08" PRIx64, getLength())
   33      << " version = " << format("0x%04x", getVersion());
   37      << format("0x%04" PRIx64, getAbbreviations()->getOffset())
   38      << " addr_size = " << format("0x%02x", getAddressByteSize())
   40      << " type_signature = " << format("0x%016" PRIx64, getTypeHash())
   41      << " type_offset = " << format("0x%04" PRIx64, getTypeOffset())
   42      << " (next unit at " << format("0x%08" PRIx64, getNextUnitOffset())
lib/DebugInfo/DWARF/DWARFUnit.cpp
  400     WithColor::warning() << format("DWARF compile unit extends beyond its "
lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
   32   OS << format("version = %u slots = %u\n\n", Version, NumBuckets);
  139       OS << format("%5u 0x%016" PRIx64 " ", i + 1, Row.Signature);
  142         OS << format("[0x%08x, 0x%08x) ", Contrib.Offset,
lib/DebugInfo/DWARF/DWARFVerifier.cpp
  142     error() << format("Units[%d] - start offset: 0x%08" PRIx64 " \n", UnitIndex,
  551                 << format("0x%08" PRIx64, CUOffset)
  553                 << format("0x%08" PRIx64, CUSize) << "):\n";
  616               << format("%" PRIu64, Index) << ", which is too large:\n";
  625               << format("%" PRIu64, Index)
  648     error() << "invalid DIE reference " << format("0x%08" PRIx64, Pair.first)
  672         error() << ".debug_line[" << format("0x%08" PRIx64, LineTableOffset)
  688               << format("0x%08" PRIx64, Iter->second.getOffset()) << " and "
  689               << format("0x%08" PRIx64, Die.getOffset())
  718                 << format("0x%08" PRIx64,
  737                << format("0x%08" PRIx64,
  754                 << format("0x%08" PRIx64,
  771                 << format("0x%08" PRIx64,
  841       error() << format("Bucket[%d] has invalid hash index: %u.\n", BucketIdx,
  863       error() << format("Hash[%d] has invalid HashData offset: "
  889           error() << format(
lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
   33              << format("0x%016" PRIx64, EHFrameAddress + RecordOffset)
  283            << format("0x%016" PRIx64, CIEPointerAddress - CIEPointer) << "\n";
  303     dbgs() << "    PC begin: " << format("0x%016" PRIx64, PCBegin) << "\n";
lib/ExecutionEngine/JITLink/JITLink.cpp
  163     OS << "  " << format("0x%016" PRIx64, Sym->getAddress()) << ": " << *Sym
  185     OS << "  " << format("0x%016" PRIx64, Sym->getAddress()) << ": " << *Sym
  190     OS << "  " << format("0x%016" PRIx64, Sym->getAddress()) << ": " << *Sym
lib/ExecutionEngine/JITLink/MachO.cpp
   44     dbgs() << "jitLink_MachO: magic = " << format("0x%08" PRIx32, Magic)
   62              << format("0x%08" PRIx32, Header.cputype)
   63              << ", cpusubtype = " << format("0x%08" PRIx32, Header.cpusubtype)
lib/ExecutionEngine/JITLink/MachO_arm64.cpp
  224                  << " relocation at " << format("0x%016" PRIx64, FixupAddress)
lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
  233                  << format("0x%016" PRIx64, FixupAddress) << "\n";
lib/ExecutionEngine/Orc/Core.cpp
  172   return OS << format("0x%016" PRIx64, Sym.getAddress()) << " "
 1644        << format("0x%016" PRIx64, reinterpret_cast<uintptr_t>(&ES)) << "):\n"
 1655         OS << format("0x%016" PRIx64, Addr) << ", " << KV.second.getFlags()
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
   95                      << format("0x%016" PRIx64, TrampolineAddr);
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  101     dbgs() << "\n" << format("0x%016" PRIx64,
  109       dbgs() << "\n" << format("0x%016" PRIx64, LoadAddr) << ":";
  111     dbgs() << " " << format("%02x", *DataAddr);
  152                       << format("%p", (uintptr_t)Addr) << "\n");
  302                         << " Offset: " << format("%p", (uintptr_t)Addr)
  334                         << " Offset: " << format("%p", (uintptr_t)SectOffset)
  736                     << " new addr: " << format("%p", Addr)
  761                       << format("%p", Addr) << "\n");
  862                       << Name << " obj addr: " << format("%p", pData)
  863                       << " new addr: " << format("%p", Addr) << " DataSize: "
  874                << " obj addr: " << format("%p", data.data()) << " new addr: 0"
 1054              << format("0x%016" PRIx64, Sections[SectionID].getLoadAddress())
 1055              << " -> " << format("0x%016" PRIx64, Addr) << "\n");
 1123                           << format("0x%lx", Addr) << "\n");
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
   65                         << format("0x%" PRIx64, LHSResult.getValue())
   66                         << " != " << format("0x%" PRIx64, RHSResult.getValue())
  260       ErrMsgStream << "Invalid operand index '" << format("%i", OpIdx)
  263                    << format("%i", Inst.getNumOperands())
  273       ErrMsgStream << "Operand '" << format("%i", OpIdx) << "' of instruction '"
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  279     LLVM_DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at "
  280                       << format("%p\n", Section.getAddressWithOffset(Offset)));
  292     LLVM_DEBUG(dbgs() << "Writing " << format("%p", TruncatedAddr) << " at "
  293                       << format("%p\n", Section.getAddressWithOffset(Offset)));
  318     LLVM_DEBUG(dbgs() << "Writing " << format("%p", RealOffset) << " at "
  319                       << format("%p\n", FinalAddress));
  377                     << format("%llx", Section.getAddressWithOffset(Offset))
  378                     << " FinalAddress: 0x" << format("%llx", FinalAddress)
  379                     << " Value: 0x" << format("%llx", Value) << " Type: 0x"
  380                     << format("%x", Type) << " Addend: 0x"
  381                     << format("%llx", Addend) << "\n");
  498                     << " FinalAddress: " << format("%p", FinalAddress)
  499                     << " Value: " << format("%x", Value)
  500                     << " Type: " << format("%x", Type)
  501                     << " Addend: " << format("%x", Addend) << "\n");
  892     LLVM_DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at "
  893                       << format("%p\n", Section.getAddressWithOffset(Offset)));
  900     LLVM_DEBUG(dbgs() << "Writing " << format("%p", Value) << " at "
  901                       << format("%p\n", Section.getAddressWithOffset(Offset)));
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
  155          << " LocalAddress: " << format("%p", LocalAddress)
  156          << " FinalAddress: " << format("0x%016" PRIx64, FinalAddress)
  157          << " Value: " << format("0x%016" PRIx64, Value) << " Addend: " << RE.Addend
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h
  150                         << " Value: " << format("0x%08" PRIx32, Result)
  165                         << " Value: " << format("0x%08" PRIx32, Result)
  183                         << " Value: " << format("0x%08" PRIx32, Result)
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h
  195                         << " Value: " << format("0x%08" PRIx32, Result)
  209                         << " Value: " << format("0x%08" PRIx32, Result)
  241                         << " Value: " << format("0x%08" PRIx32, Result)
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp
   58                     << format("%llx", Section.getAddressWithOffset(Offset))
   60                     << format("%llx", Section.getLoadAddressWithOffset(Offset))
   61                     << " Value: 0x" << format("%llx", Value) << " Type: 0x"
   62                     << format("%x", Type) << "\n");
  113                     << format("%llx", Section.getAddressWithOffset(Offset))
  115                     << format("%llx", Section.getLoadAddressWithOffset(Offset))
  116                     << " Value: 0x" << format("%llx", Value) << " Type: 0x"
  117                     << format("%x", Type) << " Addend: 0x"
  118                     << format("%llx", Addend)
  119                     << " Offset: " << format("%llx" PRIx64, Offset)
  120                     << " SID: " << format("%d", SectionID)
  121                     << " SymOffset: " << format("%x", SymOffset) << "\n");
  312                     << format("%p", Section.getLoadAddressWithOffset(Offset))
  313                     << " Value: " << format("%x", Value) << " Type: "
  314                     << format("%x", Type) << " Addend: " << format("%x", Addend)
  314                     << format("%x", Type) << " Addend: " << format("%x", Addend)
  315                     << " SymOffset: " << format("%x", Offset) << "\n");
lib/MC/MCAsmStreamer.cpp
  957       OS << format("0x%02x", uint8_t(Data[J])) << ", ";
  958     OS << format("0x%02x", uint8_t(Data[J]));
 1565       OS << format("0x%02x", uint8_t(Values[i])) << ", ";
 1566     OS << format("0x%02x", uint8_t(Values[e]));
 1889         OS << format("0x%02x", uint8_t(Code[i]));
 1893           OS << format("0x%02x", uint8_t(Code[i])) << '\''
lib/MC/MCInstPrinter.cpp
   82   return format("%" PRId64, Value);
   90         return format<int64_t>("-0x8000000000000000", Value);
   91       return format("-0x%" PRIx64, -Value);
   93     return format("0x%" PRIx64, Value);
   97         return format<int64_t>("-8000000000000000h", Value);
   99         return format("-0%" PRIx64 "h", -Value);
  100       return format("-%" PRIx64 "h", -Value);
  103       return format("0%" PRIx64 "h", Value);
  104     return format("%" PRIx64 "h", Value);
  112      return format("0x%" PRIx64, Value);
  115       return format("0%" PRIx64 "h", Value);
  117       return format("%" PRIx64 "h", Value);
lib/MC/MCSubtargetInfo.cpp
  112     errs() << format("  %-*s - Select the %s processor.\n", MaxCPULen, CPU.Key,
  119     errs() << format("  %-*s - %s.\n", MaxFeatLen, Feature.Key, Feature.Desc);
lib/Object/ArchiveWriter.cpp
  160   printWithSpacePadding(Out, format("%o", Perms), 8);
lib/Object/MachOObjectFile.cpp
 3186                  << format("SegmentOffset=0x%06X", SegmentOffset)
 3209                              << format("SegmentOffset=0x%06X",
 3236                              << format("SegmentOffset=0x%06X",
 3259                  << format("SegmentOffset=0x%06X", SegmentOffset)
 3291                  << format("SegmentOffset=0x%06X", SegmentOffset)
 3320                  << format("SegmentOffset=0x%06X", SegmentOffset)
 3363                  << format("SegmentOffset=0x%06X", SegmentOffset)
 3671                  << format("SegmentOffset=0x%06X", SegmentOffset)
 3694                              << format("SegmentOffset=0x%06X",
 3727                              << format("SegmentOffset=0x%06X",
 3789                  << format("SegmentOffset=0x%06X", SegmentOffset)
 3845                       << format("SegmentOffset=0x%06X", SegmentOffset) << "\n");
 3909                  << format("SegmentOffset=0x%06X", SegmentOffset)
lib/ProfileData/GCOV.cpp
  638     OS << format("%5u:", LineNum) << Line << "\n";
  798           CovOS << format("%9" PRIu64 ":", LineCount);
  856     OS << format("%9" PRIu64 ":", Block.getCount());
  857   OS << format("%5u-block %2u\n", LineIndex + 1, BlockNo++);
  886     OS << format("branch %2u ", EdgeNo++)
  893   OS << format("unconditional %2u ", EdgeNo++)
  901   OS << format("Lines executed:%.2f%% of %u\n",
  906       OS << format("Branches executed:%.2f%% of %u\n",
  909       OS << format("Taken at least once:%.2f%% of %u\n",
lib/ProfileData/InstrProf.cpp
 1233   OS << "  Edge profile overlap: " << format("%.3f%%", Overlap.CountSum * 100)
 1237        << format("%.3f%%", Mismatch.CountSum * 100) << "\n";
 1240        << format("%.3f%%", Unique.CountSum * 100) << "\n";
 1241   OS << "  Edge profile base count sum: " << format("%.0f", Base.CountSum)
 1243      << "  Edge profile test count sum: " << format("%.0f", Test.CountSum)
 1262        << " profile overlap: " << format("%.3f%%", Overlap.ValueCounts[I] * 100)
 1266          << "): " << format("%.3f%%", Mismatch.ValueCounts[I] * 100) << "\n";
 1270          << format("%.3f%%", Unique.ValueCounts[I] * 100) << "\n";
 1272        << " profile base count sum: " << format("%.0f", Base.ValueCounts[I])
 1275        << " profile test count sum: " << format("%.0f", Test.ValueCounts[I])
lib/Support/BranchProbability.cpp
   31   return OS << format("0x%08" PRIx32 " / 0x%08" PRIx32 " = %.2f%%", N, D,
lib/Support/Chrono.cpp
   48             << format("%.9lu",
   66           FStream << llvm::format(
   71           FStream << llvm::format(
   76           FStream << llvm::format(
lib/Support/DAGDeltaAlgorithm.cpp
  261       llvm::errs() << format("  %-4d: [", *it);
  275       llvm::errs() << format("  %-4d: [", *it);
lib/Support/JSON.cpp
  608       OS << format("%.*g", std::numeric_limits<double>::max_digits10,
lib/Support/MD5.cpp
  268     Res << format("%.2x", Bytes[i]);
lib/Support/NativeFormatting.cpp
  243   format(Spec.c_str(), N).snprint(Buf, sizeof(Buf));
lib/Support/Statistic.cpp
  191     OS << format("%*u %-*s - %s\n",
lib/Support/Timer.cpp
  161     OS << format("  %7.4f (%5.1f%%)", Val, Val*100/Total);
  176     OS << format("%9" PRId64 "  ", (int64_t)getMemUsed());
  321     OS << format("  Total Execution Time: %5.4f seconds (%5.4f wall clock)\n",
  407      << "\": " << format("%.*e", max_digits10 - 1, Value);
lib/Support/YAMLTraits.cpp
 1013   Out << format("%g", Val);
 1023   Out << format("%g", Val);
 1034   Out << format("0x%02X", Num);
 1049   Out << format("0x%04X", Num);
 1064   Out << format("0x%08X", Num);
 1079   Out << format("0x%016llX", Num);
lib/Support/raw_ostream.cpp
  157     *this << format("%02" PRIX32, UUID[Idx]);
lib/TableGen/SetTheory.cpp
  224       OS << format(Format.c_str(), unsigned(From));
lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp
  103         CommentStream << format("0x%llx", (0xfffffffffffff000LL & Address) +
lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
  893   O << format("#%#llx", Op.getImm());
 1150   O << format("#%.8f", FPImm);
 1451   O << format("#%#016llx", Val);
lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
  362         HexStream << format("%s%08X", (i > 0 ? " " : ""), CodeDWord);
lib/Target/ARM/ARMConstantIslandPass.cpp
  337       dbgs() << format("%08x %bb.%u\t", BBI.Offset, J)
  340              << format(" size=%#x\n", BBInfo[J].Size);
 1073              << format(" insn address=%#x", UserOffset) << " in "
 1075              << format("%#x-%x\t", BBI.Offset, BBI.postOffset()) << *MI
 1076              << format("CPE address=%#x offset=%+d: ", CPEOffset,
 1288                         << format(", expected CPE offset %#x\n", CPEOffset));
 1331   LLVM_DEBUG(dbgs() << format("Split in middle of big block before %#x",
 1339   LLVM_DEBUG(dbgs() << format(", adjusted to %#x", BaseInsertOffset)
 1376     LLVM_DEBUG(dbgs() << format("Move inside block: %#x\n", BaseInsertOffset));
 1550              << format(" offset=%#x\n",
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
  734   OS << format("%8s", EVT(Ty).getEVTString().c_str()) << "  "
lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp
   87     O << format("0x%" PRIx64, Value);
lib/Target/Mips/MipsConstantIslandPass.cpp
  428     dbgs() << format("%08x %bb.%u\t", BBI.Offset, J)
  429            << format(" size=%#x\n", BBInfo[J].Size);
  986              << format(" insn address=%#x", UserOffset) << " in "
  988              << format("%#x-%x\t", BBI.Offset, BBI.postOffset()) << *MI
  989              << format("CPE address=%#x offset=%+d: ", CPEOffset,
 1231                         << format(", expected CPE offset %#x\n", CPEOffset));
 1256   LLVM_DEBUG(dbgs() << format("Split in middle of big block before %#x",
 1264   LLVM_DEBUG(dbgs() << format(", adjusted to %#x", BaseInsertOffset)
 1273     LLVM_DEBUG(dbgs() << format("Move inside block: %#x\n", BaseInsertOffset));
 1409              << format(" offset=%#x\n", BBInfo[NewIsland->getNumber()].Offset));
lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
  242       format("0x%x", FixupOffset).print(Buffer, sizeof(Buffer));
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
  624       LLVM_DEBUG(dbgs() << format("Unioning %d with %d\n",
  658           dbgs() << format("Web %d rejected for physreg, partial reg, or not "
  684           LLVM_DEBUG(dbgs() << format(
  708         LLVM_DEBUG(dbgs() << format(
  726               dbgs() << format(
  955       LLVM_DEBUG(dbgs() << format("Replaced %d with copy: ",
  975     dbgs() << format("%6d", ID);
  976     dbgs() << format("%6d", EC->getLeaderValue(ID));
  977     dbgs() << format(" %bb.%3d", MI->getParent()->getNumber());
  978     dbgs() << format("  %14s  ", TII->getName(MI->getOpcode()).str().c_str());
lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
  371         *CommentStream << format("imm = 0x%" PRIX16 "\n", (uint16_t)Imm);
  373         *CommentStream << format("imm = 0x%" PRIX32 "\n", (uint32_t)Imm);
  375         *CommentStream << format("imm = 0x%" PRIX64 "\n", (uint64_t)Imm);
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
  421       format("0x%x", FixupOffset).print(Buffer, sizeof(Buffer));
lib/TextAPI/MachO/PackedVersion.cpp
  105   OS << format("%d", getMajor());
  107     OS << format(".%d", getMinor());
  109     OS << format(".%d", getSubminor());
tools/clang/lib/AST/Interp/Disasm.cpp
   51     OS << llvm::format("%8d", Addr) << " ";
tools/clang/lib/AST/RecordLayoutBuilder.cpp
 3263   OS << llvm::format("%10" PRId64 " | ", (int64_t)Offset.getQuantity());
tools/clang/lib/AST/StmtPrinter.cpp
 1091       OS << "'\\x" << llvm::format("%02x", value) << "'";
 1093       OS << "'\\u" << llvm::format("%04x", value) << "'";
 1095       OS << "'\\U" << llvm::format("%08x", value) << "'";
tools/clang/lib/AST/VTableBuilder.cpp
 1904     Out << llvm::format("%4d | ", I);
 2119         Out << llvm::format("%4d | ", I);
 2188       Out << llvm::format("%4" PRIu64 " | ", VTableIndex) << MethodName
 3109     Out << llvm::format("%4d | ", I);
 3204         Out << llvm::format("%4d | ", I);
 3653       Out << llvm::format("%4" PRIu64 " | ", VTableIndex) << MethodName << '\n';
tools/clang/lib/Analysis/CFG.cpp
 5631     OS << llvm::format("%3d", j) << ": ";
tools/clang/lib/CodeGen/CGCUDANV.cpp
  693     OS << ModuleIDPrefix << llvm::format("%" PRIx64, FatbinWrapper->getGUID());
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 2686         OS << llvm::format("_%x", FileID);
 2903     OS << "__omp_offloading_" << llvm::format("_%x", DeviceID)
 2904        << llvm::format("_%x_", FileID) << VD->getName() << "_l" << Line;
 6492     OS << "__omp_offloading" << llvm::format("_%x", DeviceID)
 6493        << llvm::format("_%x_", FileID) << ParentName << "_l" << Line;
 9661     OS << "__omp_offloading_firstprivate_" << llvm::format("_%x", DeviceID)
 9662        << llvm::format("_%x_", FileID) << VD->getName() << "_l" << Line;
tools/clang/lib/Lex/PPMacroExpansion.cpp
 1073     TmpStream << llvm::format("\"%s %2d %4d\"", Months[TM->tm_mon],
 1084     TmpStream << llvm::format("\"%02d:%02d:%02d\"",
tools/clang/lib/Sema/SemaChecking.cpp
 7564       OS << "\\x" << llvm::format("%02x", CodePoint);
 7566       OS << "\\u" << llvm::format("%04x", CodePoint);
 7568       OS << "\\U" << llvm::format("%08x", CodePoint);
tools/clang/tools/diagtool/ListWarnings.cpp
   84       << llvm::format("%.4g", percentFlagged) << "%\n";
   91       << llvm::format("%.4g", avgDiagsPerFlag) << '\n';
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  866                    << llvm::format(": unable to split words for %s '%s'\n",
  903                  << llvm::format(": unable to split words for %s '%s'\n",
tools/clang/tools/extra/clangd/FuzzyMatch.cpp
  365     OS << llvm::format("%2d ", S[I]);
  388           OS << llvm::format("%3d%c", Scores[I][J][A].Score,
tools/clang/tools/libclang/CIndex.cpp
 5688     *Log << llvm::format("(%s:%d:%d) = %s",
 5691         << llvm::format("(%s:%d:%d):%s%s",
 5709       *Log << llvm::format("  -> %s(%s:%d:%d)",
 8929   *this << llvm::format("(%s:%d:%d)", clang_getCString(FileName), Line, Column);
 8948     *this << llvm::format("[%s %d:%d-%d:%d]", clang_getCString(BFileName),
 8952     *this << llvm::format("[%s:%d:%d - ", clang_getCString(BFileName),
 8954           << llvm::format("%s:%d:%d]", clang_getCString(EFileName),
 8989   OS << llvm::format("%7.4f] ", TR.getWallTime() - sBeginTR.getWallTime());
tools/clang/tools/libclang/CXSourceLocation.cpp
  134       *Log << llvm::format("(\"%s\", %d, %d) = invalid",
  142     *Log << llvm::format("(\"%s\", %d, %d) = ", File->getName().str().c_str(),
tools/clang/unittests/Frontend/CompilerInstanceTest.cpp
   47   File.os() << format(VFSYaml, CurrentPathStr.c_str(), FileName.c_str());
tools/clang/unittests/Rename/ClangRenameTest.h
   53     llvm::raw_string_ostream(NewCode) << llvm::format(
   90     llvm::raw_string_ostream(ExpectedCode) << llvm::format(
tools/dsymutil/DebugMap.cpp
   70       OS << format("\t%016" PRIx64, uint64_t(*Sym.second.ObjectAddress));
   73     OS << format(" => %016" PRIx64 "+0x%x\t%s\n",
tools/dsymutil/DwarfLinker.cpp
  588            << format("0x%016" PRIx64 " => 0x%016" PRIx64 "\n", ObjectAddress,
tools/lld/COFF/MapFile.cpp
   44   os << format("%08llx %08llx %5lld ", addr, size, align);
tools/lld/Common/Timer.cpp
   71   stream << format("%-30s%5d ms (%5.1f%%)", s.c_str(), (int)millis(), p);
tools/lld/ELF/MapFile.cpp
   48     os << format("%16llx %16llx %8llx %5lld ", vma, lma, size, align);
   50     os << format("%8llx %8llx %8llx %5lld ", vma, lma, size, align);
tools/lld/lib/Core/Resolver.cpp
  108                     << llvm::format("0x%09lX", atom.get())
  127                     << llvm::format("0x%09lX", atom.get())
  152                     << llvm::format("0x%09lX", atom.get())
  167                     << llvm::format("0x%09lX", atom.get())
  482                       << llvm::format("    0x%09lX", definedAtom)
  494                       << llvm::format("    0x%09lX", atom.get())
tools/lld/lib/Driver/DarwinLdDriver.cpp
  538          << llvm::format(" 0x%llX", alignValue)
  539          << "' is not a power of two, using " << llvm::format("0x%08X", align);
tools/lld/lib/ReaderWriter/FileArchive.cpp
  180                           << llvm::format("0x%08llX ",
tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp
  551                     << llvm::format("    0x%09lX", &atom)
tools/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp
  342                  << llvm::format("0x%x",
  375                               << llvm::format("0x%08x", unwindEntry.encoding));
  469                  << llvm::format("0x%08x", unwindInfos.back().encoding)
tools/lld/lib/ReaderWriter/MachO/DebugInfo.h
   79   os << "Stab -- atom: " << llvm::format("%p", s.atom) << ", type: " << (uint32_t)s.type
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  611       llvm::dbgs()  << "   address=" << llvm::format("0x%08llX", sgi->address)
  612                     << ", size="  << llvm::format("0x%08llX", sgi->size)
  616         llvm::dbgs()<< "      addr="  << llvm::format("0x%08llX", si->address)
  617                     << ", size="  << llvm::format("0x%08llX", si->size)
  752                       << llvm::format("0x%016X", _atomToAddress[info.atom])
  753                       << llvm::format("    0x%09lX", info.atom)
  773                       << llvm::format("0x%016X", _atomToAddress[atom])
  774                       << llvm::format("    0x%09lX", atom)
  787                       << llvm::format("0x%016X", _atomToAddress[atom])
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
  244     out << llvm::format("%d", (uint32_t)value);
  695     out << llvm::format("%d.%d", (value >> 16), (value >> 8) & 0xFF);
  697       out << llvm::format(".%d", (value & 0xFF));
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
   90           buffer << llvm::format("L%03d", _unnamedCounter++);
  120       buffer << atom.name() << llvm::format(".%03d", ++_collisionCount);
  134         buffer2 << prevAtom->name() << llvm::format(".%03d", ++_collisionCount);
  465       out << llvm::format("%d", value.value);
  467       out << llvm::format("%d mod %d", value.modulus, value.value);
  541     out << llvm::format("%02X", num);
tools/lld/wasm/WriterUtils.cpp
   67   LLVM_DEBUG(dbgs() << format("  | %08lld: ", offset) << msg << "\n");
tools/lldb/source/Utility/LLDBAssert.cpp
   30   errs() << format("Assertion failed: (%s), function %s, file %s, line %u\n",
tools/lldb/tools/driver/Driver.cpp
  428         << format(
  447     WithColor::error() << format("fdopen(%i, \"rb\") failed (errno = %i) "
tools/lli/lli.cpp
  680                       << format("%llx", Entry) << "\n");
tools/llvm-ar/llvm-ar.cpp
  477     outs() << ' ' << format("%6llu", Size.get());
tools/llvm-cov/CoverageReport.cpp
  187     OS << format("%*u", FileReportColumns[1],
  190         << format("%*u", FileReportColumns[2],
  195           << format("%*.2f", FileReportColumns[3] - 1,
  202   OS << format("%*u", FileReportColumns[4],
  204   OS << format("%*u", FileReportColumns[5],
  209         << format("%*.2f", FileReportColumns[6] - 1,
  216     OS << format("%*u", FileReportColumns[7],
  218     OS << format("%*u", FileReportColumns[8],
  223           << format("%*.2f", FileReportColumns[9] - 1,
  230   OS << format("%*u", FileReportColumns[10],
  232   Options.colored_ostream(OS, LineCoverageColor) << format(
  237         << format("%*.2f", FileReportColumns[12] - 1,
  254      << format("%*u", FunctionReportColumns[1],
  257       << format("%*u", FunctionReportColumns[2],
  262       << format("%*.2f", FunctionReportColumns[3] - 1,
  265   OS << format("%*u", FunctionReportColumns[4],
  268       << format("%*u", FunctionReportColumns[5],
  273       << format("%*.2f", FunctionReportColumns[6] - 1,
tools/llvm-cov/SourceCoverageViewHTML.cpp
  346         RSO << format("%*.2f", 7, Pctg) << "% ";
tools/llvm-exegesis/lib/BenchmarkResult.cpp
  121     OS << kDoublePrefix << format("%la", Value);
tools/llvm-jitlink/llvm-jitlink.cpp
  123             << format("0x%016" PRIx64, MRI.getTargetAddress())
tools/llvm-mca/Views/BottleneckAnalysis.cpp
  611      << format("%.2f", floor((PressurePerCycle * 100) + 0.5) / 100) << "% ]";
  615      << format("%.2f", floor((ResourcePressurePerCycle * 100) + 0.5) / 100)
  627            << format("%.2f", floor((Frequency * 100) + 0.5) / 100) << "% ]";
  633      << format("%.2f", floor((DDPerCycle * 100) + 0.5) / 100) << "% ]";
  635      << format("%.2f", floor((RegDepPressurePerCycle * 100) + 0.5) / 100)
  638      << format("%.2f", floor((MemDepPressurePerCycle * 100) + 0.5) / 100)
tools/llvm-mca/Views/DispatchStatistics.cpp
   43                << "  (" << format("%.1f", floor((Percentage * 10) + 0.5) / 10)
   60      << format("%.1f", floor((Percentage * 10) + 0.5) / 10) << "%)";
tools/llvm-mca/Views/InstructionInfoView.cpp
   73       TempStream << format("%.2f", RT) << ' ';
   93         FOS << format("%02x ", (uint8_t)Encoding[i]);
tools/llvm-mca/Views/RegisterFileStatistics.cpp
  151                  << format("(%.1f%%)",
  155                  << format("(%.1f%%)",
tools/llvm-mca/Views/ResourcePressureView.cpp
   97     OS << format("%.2f", floor((Pressure * 100) + 0.5) / 100);
tools/llvm-mca/Views/RetireControlUnitStatistics.cpp
   69                << format("%.1f", ((double)Entry.second / NumCycles) * 100.0)
   81              << format("  ( %.1f%% )", NormalizedMaxPercentage)
   83              << format("  ( %.1f%% )\n", NormalizedAvgPercentage);
tools/llvm-mca/Views/SchedulerStatistics.cpp
  117        << format("%.1f", ((double)IPC / NumCycles) * 100) << "%)\n";
tools/llvm-mca/Views/SummaryView.cpp
   83              << format("%.2f", floor((UOpsPerCycle * 100) + 0.5) / 100);
   85              << format("%.2f", floor((IPC * 100) + 0.5) / 100);
   87              << format("%.1f", floor((BlockRThroughput * 10) + 0.5) / 10)
tools/llvm-mca/Views/TimelineView.cpp
  158   OS << format("%.1f", floor((AverageTime1 * 10) + 0.5) / 10);
  163   OS << format("%.1f", floor((AverageTime2 * 10) + 0.5) / 10);
  168   OS << format("%.1f", floor((AverageTime3 * 10) + 0.5) / 10);
tools/llvm-nm/llvm-nm.cpp
  433     outs() << format(printFormat, NValue) << ' '
  434            << format("%02x %02x %04x %08x", NType, NSect, NDesc, NStrx) << ' '
  438       outs() << format(printFormat, NValue) << ' ';
  681   outs() << format(" %02x %04x ", NSect, NDesc);
  683     outs() << format("%5.5s", stabString);
  685     outs() << format("   %02x", NType);
  827         format(printFormat, S.Address)
  829         format(printFormat, S.Size).print(SymbolSizeStr, sizeof(SymbolSizeStr));
  843         format(printFormat, S.Address)
  845       format(printFormat, S.Size).print(SymbolSizeStr, sizeof(SymbolSizeStr));
tools/llvm-objdump/COFFDump.cpp
   95   outs() <<  format("      0x%02x: ", unsigned(UCs[0].u.CodeOffset))
  117            << format(" [0x%04x]", 8 * UCs[1].FrameOffset);
  121            << format(" [0x%08x]", UCs[1].FrameOffset
  126            << format(" [0x%04x]", 16 * UCs[1].FrameOffset);
  130            << format(" [0x%08x]", UCs[1].FrameOffset
  226       Out << format(" + 0x%04x", Disp);
  228     Out << format("0x%04x", Disp);
  244     outs() << format(" 0x%x", P[I] + Obj->getPE32Header()->ImageBase);
  361     outs() << format("  lookup %08x time %08x fwd %08x name %08x addr %08x\n\n",
  377         outs() << format("      % 6d\n", Ordinal);
  387       outs() << format("      % 6d  ", Hint) << Name << "\n";
  425       outs() << format("    % 4d         ", Ordinal);
  427       outs() << format("    % 4d %# 8x", Ordinal, RVA);
  535          << format("  Start Address: 0x%04x\n",
  537          << format("  End Address: 0x%04x\n",
  539          << format("  Unwind Info Address: 0x%04x\n",
  647     outs() << "[" << format("%2d", Index) << "]"
  648            << "(sec " << format("%2d", 0) << ")"
  650            << "(ty " << format("%3x", (IsCode && Index) ? 32 : 0) << ")"
  651            << "(scl " << format("%3x", 0) << ") "
  653            << "0x" << format("%08x", 0) << " " << Name << '\n';
  669     outs() << "[" << format("%2d", SI) << "]"
  670            << "(sec " << format("%2d", int(Symbol->getSectionNumber())) << ")"
  672            << "(ty " << format("%3x", unsigned(Symbol->getType())) << ")"
  673            << "(scl " << format("%3x", unsigned(Symbol->getStorageClass()))
  676            << "0x" << format("%08x", unsigned(Symbol->getValue())) << " "
  704                << format("scnlen 0x%x nreloc %d nlnno %d checksum 0x%x "
  709                << format("assoc %d comdat %d\n"
  729         outs() << "AUX " << format("indx %d srch %d\n",
tools/llvm-objdump/ELFDump.cpp
  168     outs() << format("  %-21s", Str.c_str());
  184     outs() << format(Fmt, (uint64_t)Dyn.d_un.d_val);
  237     outs() << "off    " << format(Fmt, (uint64_t)Phdr.p_offset) << "vaddr "
  238            << format(Fmt, (uint64_t)Phdr.p_vaddr) << "paddr "
  239            << format(Fmt, (uint64_t)Phdr.p_paddr)
  240            << format("align 2**%u\n",
  242            << "         filesz " << format(Fmt, (uint64_t)Phdr.p_filesz)
  243            << "memsz " << format(Fmt, (uint64_t)Phdr.p_memsz) << "flags "
  266              << format("0x%08" PRIx32 " ", (uint32_t)Vernaux->vna_hash)
  267              << format("0x%02" PRIx16 " ", (uint16_t)Vernaux->vna_flags)
  268              << format("%02" PRIu16 " ", (uint16_t)Vernaux->vna_other)
  291            << format("0x%02" PRIx16 " ", (uint16_t)Verdef->vd_flags)
  292            << format("0x%08" PRIx32 " ", (uint32_t)Verdef->vd_hash);
tools/llvm-objdump/MachODump.cpp
  336     outs() << "\t.byte " << format("%3u", Value) << "\t@ KIND_JUMP_TABLE8\n";
  343     outs() << "\t.short " << format("%5u", Value & 0xffff)
  458     Fmt << format("0x%x", Val);
  467     Fmt << format("0x%0" PRIx64, Val);
  701       outs() << format("0x%016" PRIx64, addr + j * stride) << " ";
  703       outs() << format("0x%08" PRIx32, (uint32_t)addr + j * stride) << " ";
  719     outs() << format("%5u ", indirect_symbol);
  819     outs() << format("%-7u", r_type) << " ";
  837       outs() << format("%-7u ", r_type);
  869           outs() << format("?(%2d)  ", r_length);
  872         outs() << format("?(%2d)  ", r_length);
  910           outs() << format("%08x ", (unsigned int)r_address);
  926         outs() << format("True      0x%08x", (unsigned int)r_value);
  930             outs() << format(" half = 0x%04x ", (unsigned int)r_address);
  933           outs() << format(" other_half = 0x%04x ", (unsigned int)r_address);
  957         outs() << format("%08x %1d     %-2d     n/a    %-7d 1         0x%08x\n",
  968           outs() << format("%08x ", (unsigned int)r_address);
  987             outs() << format("?(%d)\n", r_symbolnum);
  995               outs() << format("?(%d)\n", r_symbolnum);
 1008             outs() << format("other_half = 0x%04x\n", (unsigned int)r_address);
 1012             outs() << format("addend = 0x%06x\n", (unsigned int)r_symbolnum);
 1014             outs() << format("%d ", r_symbolnum);
 1044         outs() << format("%08x %1d     %-2d     %1d      %-7d 0         %d\n",
 1064     outs() << format("Local relocation information %u entries",
 1082                    << format(") %u entries", Sec.nreloc);
 1085                    << format("%u entries", Sec.nreloc);
 1102                    << format(") %u entries", Sec.nreloc);
 1105                    << format("%u entries", Sec.nreloc);
 1125     outs() << format("0x%08" PRIx32, Offset) << " ";
 1128     outs() << format("%6u", Length) << " ";
 1149         outs() << format("0x%04" PRIx32, Kind);
 1153       outs() << format("0x%04" PRIx32, Kind);
 1208       outs() << "\tvalue " << format("0x%" PRIx64, value) << "\n";
 1317         outs() << format("%016" PRIx64, sect_addr + i) << "  ";
 1319         outs() << format("%08" PRIx64, sect_addr + i) << "  ";
 1329   outs() << format("0x%08" PRIx32, l);
 1331     outs() << format(" (%.16e)\n", f);
 1350         outs() << format("%016" PRIx64, sect_addr + i) << "  ";
 1352         outs() << format("%08" PRIx64, sect_addr + i) << "  ";
 1368   outs() << format("0x%08" PRIx32, l0) << " " << format("0x%08" PRIx32, l1);
 1368   outs() << format("0x%08" PRIx32, l0) << " " << format("0x%08" PRIx32, l1);
 1375     outs() << format(" (%.16e)\n", d);
 1394         outs() << format("%016" PRIx64, sect_addr + i) << "  ";
 1396         outs() << format("%08" PRIx64, sect_addr + i) << "  ";
 1414   outs() << format("0x%08" PRIx32, l0) << " ";
 1415   outs() << format("0x%08" PRIx32, l1) << " ";
 1416   outs() << format("0x%08" PRIx32, l2) << " ";
 1417   outs() << format("0x%08" PRIx32, l3) << "\n";
 1426         outs() << format("%016" PRIx64, sect_addr + i) << "  ";
 1428         outs() << format("%08" PRIx64, sect_addr + i) << "  ";
 1493         outs() << format("%016" PRIx64, sect_addr + i) << "  ";
 1495         outs() << format("%08" PRIx64, sect_addr + i) << "  ";
 1526       outs() << format("0x%" PRIx64, lp) << " (not in a literal section)\n";
 1643       outs() << format("0x%016" PRIx64, sect_addr + i * stride) << " ";
 1648       outs() << format("0x%016" PRIx64, pointer_value);
 1651       outs() << format("0x%08" PRIx64, sect_addr + i * stride) << " ";
 1656       outs() << format("0x%08" PRIx32, pointer_value);
 1684         outs() << format("%016" PRIx64, addr) << "\t";
 1686         outs() << format("%08" PRIx64, addr) << "\t";
 1689         outs() << format("%02" PRIx32, (uint32_t)byte_word) << " ";
 1697         outs() << format("%016" PRIx64, addr) << "\t";
 1699         outs() << format("%08" PRIx64, addr) << "\t";
 1707           outs() << format("%08" PRIx32, long_word) << " ";
 1711             outs() << format("%02" PRIx32, (uint32_t)byte_word) << " ";
 1833                    << format("0x%08" PRIx32, section_type) << ")\n";
 1866       outs() << format("%.*s", BytesStr.size(), sect) << "\n";
 2153     outs() << "fat_magic " << format("0x%" PRIx32, MachO::FAT_MAGIC) << "\n";
 2198              << format("0x%" PRIx32,
 2239     outs() << format("0%o ", Mode);
 2242   outs() << format("%3d/%-3d %5" PRId64 " ",
 2262       outs() << format("%.24s ", ctime(&t));
 4132     outs() << format("%016" PRIx64, S.getAddress() + i) << " ";
 4143       outs() << format("0x%" PRIx64, n_value);
 4145         outs() << " + " << format("0x%" PRIx64, p);
 4147       outs() << format("0x%" PRIx64, p);
 4182     outs() << format("%08" PRIx32, Address) << " ";
 4186     outs() << format("0x%" PRIx32, p);
 4203     outs() << format("0x%02" PRIx32, (*layout_map) & 0xff) << " ";
 4278         outs() << format("0x%" PRIx64, n_value);
 4280         outs() << " + " << format("0x%" PRIx64, m.name);
 4282       outs() << format("0x%" PRIx64, m.name);
 4285       outs() << format(" %.*s", left, name);
 4295         outs() << format("0x%" PRIx64, n_value);
 4297         outs() << " + " << format("0x%" PRIx64, m.types);
 4299       outs() << format("0x%" PRIx64, m.types);
 4302       outs() << format(" %.*s", left, name);
 4310         outs() << format("0x%" PRIx64, n_value) << " ";
 4312           outs() << "+ " << format("0x%" PRIx64, m.imp) << " ";
 4314         outs() << format("0x%" PRIx64, m.imp) << " ";
 4362     outs() << indent << "\t\t      name " << format("0x%" PRIx32, m.name);
 4365       outs() << format(" %.*s", left, name);
 4368     outs() << indent << "\t\t     types " << format("0x%" PRIx32, m.types);
 4371       outs() << format(" %.*s", left, name);
 4374     outs() << indent << "\t\t       imp " << format("0x%" PRIx32, m.imp);
 4410          << format("0x%08" PRIx32, method_list.obsolete) << "\n";
 4425            << format("0x%08" PRIx32, method.method_name);
 4429         outs() << format(" %.*s", xleft, name);
 4436            << format("0x%08" PRIx32, method.method_types);
 4440         outs() << format(" %.*s", xleft, name);
 4447            << format("0x%08" PRIx32, method.method_imp) << " ";
 4501         outs() << format("0x%" PRIx64, n_value);
 4503         outs() << " + " << format("0x%" PRIx64, q);
 4505       outs() << format("0x%" PRIx64, q);
 4520     outs() << "\t\t\t      isa " << format("0x%" PRIx64, pc.isa) << "\n";
 4529         outs() << format("0x%" PRIx64, n_value);
 4531         outs() << " + " << format("0x%" PRIx64, pc.name);
 4533       outs() << format("0x%" PRIx64, pc.name);
 4536       outs() << format(" %.*s", left, name);
 4539     outs() << "\t\t\tprotocols " << format("0x%" PRIx64, pc.protocols) << "\n";
 4549         outs() << format("0x%" PRIx64, n_value);
 4551         outs() << " + " << format("0x%" PRIx64, pc.instanceMethods);
 4553       outs() << format("0x%" PRIx64, pc.instanceMethods);
 4566         outs() << format("0x%" PRIx64, n_value);
 4568         outs() << " + " << format("0x%" PRIx64, pc.classMethods);
 4570       outs() << format("0x%" PRIx64, pc.classMethods);
 4576            << format("0x%" PRIx64, pc.optionalInstanceMethods) << "\n";
 4578            << format("0x%" PRIx64, pc.optionalClassMethods) << "\n";
 4580            << format("0x%" PRIx64, pc.instanceProperties) << "\n";
 4623     outs() << "\t\t      list[" << i << "] " << format("0x%" PRIx32, q)
 4636     outs() << "\t\t\t      isa " << format("0x%" PRIx32, pc.isa) << "\n";
 4637     outs() << "\t\t\t     name " << format("0x%" PRIx32, pc.name);
 4640       outs() << format(" %.*s", left, name);
 4642     outs() << "\t\t\tprotocols " << format("0x%" PRIx32, pc.protocols) << "\n";
 4644            << format("0x%" PRIx32, pc.instanceMethods)
 4648     outs() << "\t\t     classMethods " << format("0x%" PRIx32, pc.classMethods)
 4653            << format("0x%" PRIx32, pc.optionalInstanceMethods) << "\n";
 4655            << format("0x%" PRIx32, pc.optionalClassMethods) << "\n";
 4657            << format("0x%" PRIx32, pc.instanceProperties) << "\n";
 4719     outs() << "             name " << format("0x%08" PRIx32, md.name);
 4723         outs() << format(" %.*s", xleft, name);
 4730     outs() << "            types " << format("0x%08" PRIx32, md.types);
 4734         outs() << format(" %.*s", xleft, name);
 4770   outs() << "              isa " << format("0x%08" PRIx32, protocol.isa)
 4775          << format("0x%08" PRIx32, protocol.protocol_name);
 4779       outs() << format(" %.*s", left, name);
 4787          << format("0x%08" PRIx32, protocol.protocol_list);
 4793          << format("0x%08" PRIx32, protocol.instance_methods);
 4799          << format("0x%08" PRIx32, protocol.class_methods);
 4830   outs() << "         next " << format("0x%08" PRIx32, protocol_list.next)
 4846     outs() << "      list[" << i << "] " << format("0x%08" PRIx32, l);
 4898         outs() << format("0x%" PRIx64, n_value);
 4900         outs() << " + " << format("0x%" PRIx64, i.offset);
 4902       outs() << format("0x%" PRIx64, i.offset);
 4919         outs() << format("0x%" PRIx64, n_value);
 4921         outs() << " + " << format("0x%" PRIx64, i.name);
 4923       outs() << format("0x%" PRIx64, i.name);
 4926       outs() << format(" %.*s", left, name);
 4937         outs() << format("0x%" PRIx64, n_value);
 4939         outs() << " + " << format("0x%" PRIx64, i.type);
 4941       outs() << format("0x%" PRIx64, i.type);
 4943       outs() << format(" %.*s", left, name);
 4992     outs() << "\t\t\t   offset " << format("0x%" PRIx32, i.offset);
 5002     outs() << "\t\t\t     name " << format("0x%" PRIx32, i.name);
 5005       outs() << format(" %.*s", left, name);
 5008     outs() << "\t\t\t     type " << format("0x%" PRIx32, i.type);
 5011       outs() << format(" %.*s", left, name);
 5068         outs() << format("0x%" PRIx64, n_value);
 5070         outs() << " + " << format("0x%" PRIx64, op.name);
 5072       outs() << format("0x%" PRIx64, op.name);
 5075       outs() << format(" %.*s", left, name);
 5086         outs() << format("0x%" PRIx64, n_value);
 5088         outs() << " + " << format("0x%" PRIx64, op.attributes);
 5090       outs() << format("0x%" PRIx64, op.attributes);
 5093       outs() << format(" %.*s", left, name);
 5139     outs() << "\t\t\t     name " << format("0x%" PRIx32, op.name);
 5142       outs() << format(" %.*s", left, name);
 5145     outs() << "\t\t\tattributes " << format("0x%" PRIx32, op.attributes);
 5148       outs() << format(" %.*s", left, name);
 5171   outs() << "                    flags " << format("0x%" PRIx32, cro.flags);
 5181   outs() << "                 reserved " << format("0x%" PRIx32, cro.reserved)
 5183   outs() << "               ivarLayout " << format("0x%" PRIx64, cro.ivarLayout)
 5194       outs() << format("0x%" PRIx64, n_value);
 5196       outs() << " + " << format("0x%" PRIx64, cro.name);
 5198     outs() << format("0x%" PRIx64, cro.name);
 5201     outs() << format(" %.*s", left, name);
 5211       outs() << format("0x%" PRIx64, n_value);
 5213       outs() << " + " << format("0x%" PRIx64, cro.baseMethods);
 5215     outs() << format("0x%" PRIx64, cro.baseMethods);
 5228       outs() << format("0x%" PRIx64, n_value);
 5230       outs() << " + " << format("0x%" PRIx64, cro.baseProtocols);
 5232     outs() << format("0x%" PRIx64, cro.baseProtocols);
 5244       outs() << format("0x%" PRIx64, n_value);
 5246       outs() << " + " << format("0x%" PRIx64, cro.ivars);
 5248     outs() << format("0x%" PRIx64, cro.ivars);
 5261       outs() << format("0x%" PRIx64, n_value);
 5263       outs() << " + " << format("0x%" PRIx64, cro.weakIvarLayout);
 5265     outs() << format("0x%" PRIx64, cro.weakIvarLayout);
 5277       outs() << format("0x%" PRIx64, n_value);
 5279       outs() << " + " << format("0x%" PRIx64, cro.baseProperties);
 5281     outs() << format("0x%" PRIx64, cro.baseProperties);
 5309   outs() << "                    flags " << format("0x%" PRIx32, cro.flags);
 5319   outs() << "               ivarLayout " << format("0x%" PRIx32, cro.ivarLayout)
 5323   outs() << "                     name " << format("0x%" PRIx32, cro.name);
 5326     outs() << format(" %.*s", left, name);
 5330          << format("0x%" PRIx32, cro.baseMethods)
 5336          << format("0x%" PRIx32, cro.baseProtocols) << "\n";
 5339   outs() << "                    ivars " << format("0x%" PRIx32, cro.ivars)
 5344          << format("0x%" PRIx32, cro.weakIvarLayout) << "\n";
 5347          << format("0x%" PRIx32, cro.baseProperties) << "\n";
 5369   outs() << "           isa " << format("0x%" PRIx64, c.isa);
 5376   outs() << "    superclass " << format("0x%" PRIx64, c.superclass);
 5389   outs() << "         cache " << format("0x%" PRIx64, c.cache);
 5396   outs() << "        vtable " << format("0x%" PRIx64, c.vtable);
 5410       outs() << format("0x%" PRIx64, n_value);
 5412       outs() << " + " << format("0x%" PRIx64, c.data);
 5414     outs() << format("0x%" PRIx64, c.data);
 5454   outs() << "           isa " << format("0x%" PRIx32, c.isa);
 5461   outs() << "    superclass " << format("0x%" PRIx32, c.superclass);
 5468   outs() << "         cache " << format("0x%" PRIx32, c.cache);
 5475   outs() << "        vtable " << format("0x%" PRIx32, c.vtable);
 5484   outs() << "          data " << format("0x%" PRIx32, c.data)
 5510   outs() << "\t\t      isa " << format("0x%08" PRIx32, objc_class->isa);
 5514       outs() << format(" %.*s", left, name);
 5521          << format("0x%08" PRIx32, objc_class->super_class);
 5525       outs() << format(" %.*s", left, name);
 5531   outs() << "\t\t     name " << format("0x%08" PRIx32, objc_class->name);
 5535       outs() << format(" %.*s", left, name);
 5541   outs() << "\t\t  version " << format("0x%08" PRIx32, objc_class->version)
 5544   outs() << "\t\t     info " << format("0x%08" PRIx32, objc_class->info);
 5554          << format("0x%08" PRIx32, objc_class->instance_size) << "\n";
 5557   outs() << "\t\t    ivars " << format("0x%08" PRIx32, objc_class->ivars);
 5581       outs() << "\t\t\tivar_name " << format("0x%08" PRIx32, ivar.ivar_name);
 5585           outs() << format(" %.*s", xleft, name);
 5591       outs() << "\t\t\tivar_type " << format("0x%08" PRIx32, ivar.ivar_type);
 5595           outs() << format(" %.*s", xleft, name);
 5602              << format("0x%08" PRIx32, ivar.ivar_offset) << "\n";
 5608   outs() << "\t\t  methods " << format("0x%08" PRIx32, objc_class->methodLists);
 5612   outs() << "\t\t    cache " << format("0x%08" PRIx32, objc_class->cache)
 5615   outs() << "\t\tprotocols " << format("0x%08" PRIx32, objc_class->protocols);
 5627          << format("0x%08" PRIx32, objc_category->category_name);
 5632       outs() << format(" %.*s", left, name);
 5639          << format("0x%08" PRIx32, objc_category->class_name);
 5644       outs() << format(" %.*s", left, name);
 5651          << format("0x%08" PRIx32, objc_category->instance_methods);
 5656          << format("0x%08" PRIx32, objc_category->class_methods);
 5688       outs() << format("0x%" PRIx64, n_value);
 5690       outs() << " + " << format("0x%" PRIx64, c.name);
 5692     outs() << format("0x%" PRIx64, c.name);
 5695     outs() << format(" %.*s", left, name);
 5705       outs() << format("0x%" PRIx64, n_value);
 5707       outs() << " + " << format("0x%" PRIx64, c.cls);
 5709     outs() << format("0x%" PRIx64, c.cls);
 5722       outs() << format("0x%" PRIx64, n_value);
 5724       outs() << " + " << format("0x%" PRIx64, c.instanceMethods);
 5726     outs() << format("0x%" PRIx64, c.instanceMethods);
 5738       outs() << format("0x%" PRIx64, n_value);
 5740       outs() << " + " << format("0x%" PRIx64, c.classMethods);
 5742     outs() << format("0x%" PRIx64, c.classMethods);
 5754       outs() << format("0x%" PRIx64, n_value);
 5756       outs() << " + " << format("0x%" PRIx64, c.protocols);
 5758     outs() << format("0x%" PRIx64, c.protocols);
 5771       outs() << format("0x%" PRIx64, n_value);
 5773       outs() << " + " << format("0x%" PRIx64, c.instanceProperties);
 5775     outs() << format("0x%" PRIx64, c.instanceProperties);
 5800   outs() << "              name " << format("0x%" PRIx32, c.name);
 5807   outs() << "               cls " << format("0x%" PRIx32, c.cls) << "\n";
 5810   outs() << "   instanceMethods " << format("0x%" PRIx32, c.instanceMethods)
 5814   outs() << "      classMethods " << format("0x%" PRIx32, c.classMethods)
 5818   outs() << "         protocols " << format("0x%" PRIx32, c.protocols) << "\n";
 5821   outs() << "instanceProperties " << format("0x%" PRIx32, c.instanceProperties)
 5867       outs() << format("0x%" PRIx64, n_value) << " ";
 5869         outs() << "+ " << format("0x%" PRIx64, mr.imp) << " ";
 5871       outs() << format("0x%" PRIx64, mr.imp) << " ";
 5883         outs() << format("0x%" PRIx64, n_value);
 5885         outs() << " + " << format("0x%" PRIx64, mr.sel);
 5887       outs() << format("0x%" PRIx64, mr.sel);
 5890       outs() << format(" %.*s", left, name);
 5931     outs() << "  imp " << format("0x%" PRIx32, mr.imp);
 5938     outs() << "  sel " << format("0x%" PRIx32, mr.sel);
 5980   outs() << "    flags " << format("0x%" PRIx32, o.flags);
 6042   outs() << "    flags " << format("0x%" PRIx32, o.flags);
 6097   outs() << "    flags " << format("0x%" PRIx32, o.flags);
 6311     outs() << "Module " << format("0x%" PRIx32, p) << "\n";
 6317       outs() << format("%.*s", left, name);
 6319       outs() << format("0x%08" PRIx32, module.name)
 6325       outs() << "     symtab " << format("0x%08" PRIx32, module.symtab)
 6329     outs() << "     symtab " << format("0x%08" PRIx32, module.symtab) << "\n";
 6348     outs() << "\trefs " << format("0x%08" PRIx32, symtab.refs);
 6367       outs() << "\tdefs[" << j << "] " << format("0x%08" PRIx32, def);
 6419              << format("0x%08" PRIx32, def);
 6469     outs() << "Protocol " << format("0x%" PRIx32, paddr);
 7606               outs() << format("%016" PRIx64, PC);
 7608               outs() << format("%08" PRIx64, PC);
 7610             outs() << format("%8" PRIx64 ":", PC);
 7654             outs() << format("\t.byte 0x%02x #bad opcode\n",
 7663             outs() << format("\t.long\t0x%08x\n", opcode);
 7669             outs() << format("\t.short\t0x%04x\n", opcode);
 7703                 outs() << format("%016" PRIx64, PC);
 7705                 outs() << format("%08" PRIx64, PC);
 7707               outs() << format("%8" PRIx64 ":", PC);
 7720             outs() << format("\t.byte 0x%02x #bad opcode\n",
 7877     outs() << " + " << format("0x%" PRIx64, Addend);
 7929            << format("0x%" PRIx32, Entry.OffsetInSection) << ":\n";
 7932     outs() << "    start:                " << format("0x%" PRIx64,
 7938     outs() << "    length:               " << format("0x%" PRIx32, Entry.Length)
 7942            << format("0x%08" PRIx32, Entry.CompactEncoding) << '\n';
 7947              << format("0x%" PRIx64, Entry.PersonalityAddr) << ' ';
 7955       outs() << "    LSDA:                 " << format("0x%" PRIx64,
 7982            << "function offset=" << format("0x%08" PRIx32, FunctionOffset)
 7984            << "encoding=" << format("0x%08" PRIx32, Encoding) << '\n';
 8018            << "function offset=" << format("0x%08" PRIx32, FunctionOffset)
 8021            << "]=" << format("0x%08" PRIx32, Encoding) << '\n';
 8046          << format("0x%" PRIx32, Version) << '\n';
 8054          << format("0x%" PRIx32, CommonEncodingsStart) << '\n';
 8057          << format("0x%" PRIx32, NumCommonEncodings) << '\n';
 8061          << format("0x%" PRIx32, PersonalitiesStart) << '\n';
 8064          << format("0x%" PRIx32, NumPersonalities) << '\n';
 8068          << format("0x%" PRIx32, IndicesStart) << '\n';
 8071          << format("0x%" PRIx32, NumIndices) << '\n';
 8089     outs() << "    encoding[" << i << "]: " << format("0x%08" PRIx32, Encoding)
 8105            << "]: " << format("0x%08" PRIx32, PersonalityFn) << '\n';
 8134            << "function offset=" << format("0x%08" PRIx32, Entry.FunctionOffset)
 8137            << format("0x%08" PRIx32, Entry.SecondLevelPageStart) << ", "
 8138            << "LSDA offset=" << format("0x%08" PRIx32, Entry.LSDAStart) << '\n';
 8158            << "function offset=" << format("0x%08" PRIx32, FunctionOffset)
 8160            << "LSDA offset=" << format("0x%08" PRIx32, LSDAOffset) << '\n';
 8179            << format("0x%08" PRIx32, IndexEntries[i].SecondLevelPageStart)
 8182            << format("0x%08" PRIx32, IndexEntries[i].FunctionOffset) << '\n';
 8250       outs() << format(" 0x%08" PRIx32, magic);
 8259         outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
 8273         outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
 8314         outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
 8328         outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
 8339         outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
 8350         outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
 8361         outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
 8366       outs() << format(" %7d", cputype);
 8367       outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
 8373       outs() << format("  0x%02" PRIx32,
 8411       outs() << format("  %10u", filetype);
 8414     outs() << format(" %5u", ncmds);
 8415     outs() << format(" %10u", sizeofcmds);
 8518       outs() << format(" 0x%08" PRIx32, f);
 8520     outs() << format(" 0x%08" PRIx32, magic);
 8521     outs() << format(" %7d", cputype);
 8522     outs() << format(" %10d", cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
 8523     outs() << format("  0x%02" PRIx32,
 8525     outs() << format("  %10u", filetype);
 8526     outs() << format(" %5u", ncmds);
 8527     outs() << format(" %10u", sizeofcmds);
 8528     outs() << format(" 0x%08" PRIx32, flags);
 8559     outs() << "   vmaddr " << format("0x%016" PRIx64, vmaddr) << "\n";
 8560     outs() << "   vmsize " << format("0x%016" PRIx64, vmsize) << "\n";
 8562     outs() << "   vmaddr " << format("0x%08" PRIx64, vmaddr) << "\n";
 8563     outs() << "   vmsize " << format("0x%08" PRIx64, vmsize) << "\n";
 8579       outs() << "  maxprot ?" << format("0x%08" PRIx32, maxprot) << "\n";
 8589       outs() << " initprot ?" << format("0x%08" PRIx32, initprot) << "\n";
 8597     outs() << "  maxprot " << format("0x%08" PRIx32, maxprot) << "\n";
 8598     outs() << " initprot " << format("0x%08" PRIx32, initprot) << "\n";
 8623         outs() << format(" 0x%08" PRIx32, flags) << " (unknown flags)\n";
 8628     outs() << "    flags " << format("0x%" PRIx32, flags) << "\n";
 8640   outs() << "  sectname " << format("%.16s\n", sectname);
 8641   outs() << "   segname " << format("%.16s", segname);
 8647     outs() << "      addr " << format("0x%016" PRIx64, addr) << "\n";
 8648     outs() << "      size " << format("0x%016" PRIx64, size);
 8650     outs() << "      addr " << format("0x%08" PRIx64, addr) << "\n";
 8651     outs() << "      size " << format("0x%08" PRIx64, size);
 8720       outs() << format("0x%08" PRIx32, section_type) << "\n";
 8747     outs() << "     flags " << format("0x%08" PRIx32, flags) << "\n";
 9049     outs() << format("%02" PRIX32, uuid.uuid[i]);
 9124   outs() << "data_owner " << format("%.16s\n", d);
 9256       outs() << "  string #" << i << " " << format("%.*s\n", left, string);
 9339   outs() << " init_address " << format("0x%08" PRIx32, r.init_address) << "\n";
 9356   outs() << " init_address " << format("0x%016" PRIx64, r.init_address) << "\n";
 9367   outs() << "\t    eax " << format("0x%08" PRIx32, cpu32.eax);
 9368   outs() << " ebx    " << format("0x%08" PRIx32, cpu32.ebx);
 9369   outs() << " ecx " << format("0x%08" PRIx32, cpu32.ecx);
 9370   outs() << " edx " << format("0x%08" PRIx32, cpu32.edx) << "\n";
 9371   outs() << "\t    edi " << format("0x%08" PRIx32, cpu32.edi);
 9372   outs() << " esi    " << format("0x%08" PRIx32, cpu32.esi);
 9373   outs() << " ebp " << format("0x%08" PRIx32, cpu32.ebp);
 9374   outs() << " esp " << format("0x%08" PRIx32, cpu32.esp) << "\n";
 9375   outs() << "\t    ss  " << format("0x%08" PRIx32, cpu32.ss);
 9376   outs() << " eflags " << format("0x%08" PRIx32, cpu32.eflags);
 9377   outs() << " eip " << format("0x%08" PRIx32, cpu32.eip);
 9378   outs() << " cs  " << format("0x%08" PRIx32, cpu32.cs) << "\n";
 9379   outs() << "\t    ds  " << format("0x%08" PRIx32, cpu32.ds);
 9380   outs() << " es     " << format("0x%08" PRIx32, cpu32.es);
 9381   outs() << " fs  " << format("0x%08" PRIx32, cpu32.fs);
 9382   outs() << " gs  " << format("0x%08" PRIx32, cpu32.gs) << "\n";
 9386   outs() << "   rax  " << format("0x%016" PRIx64, cpu64.rax);
 9387   outs() << " rbx " << format("0x%016" PRIx64, cpu64.rbx);
 9388   outs() << " rcx  " << format("0x%016" PRIx64, cpu64.rcx) << "\n";
 9389   outs() << "   rdx  " << format("0x%016" PRIx64, cpu64.rdx);
 9390   outs() << " rdi " << format("0x%016" PRIx64, cpu64.rdi);
 9391   outs() << " rsi  " << format("0x%016" PRIx64, cpu64.rsi) << "\n";
 9392   outs() << "   rbp  " << format("0x%016" PRIx64, cpu64.rbp);
 9393   outs() << " rsp " << format("0x%016" PRIx64, cpu64.rsp);
 9394   outs() << " r8   " << format("0x%016" PRIx64, cpu64.r8) << "\n";
 9395   outs() << "    r9  " << format("0x%016" PRIx64, cpu64.r9);
 9396   outs() << " r10 " << format("0x%016" PRIx64, cpu64.r10);
 9397   outs() << " r11  " << format("0x%016" PRIx64, cpu64.r11) << "\n";
 9398   outs() << "   r12  " << format("0x%016" PRIx64, cpu64.r12);
 9399   outs() << " r13 " << format("0x%016" PRIx64, cpu64.r13);
 9400   outs() << " r14  " << format("0x%016" PRIx64, cpu64.r14) << "\n";
 9401   outs() << "   r15  " << format("0x%016" PRIx64, cpu64.r15);
 9402   outs() << " rip " << format("0x%016" PRIx64, cpu64.rip) << "\n";
 9403   outs() << "rflags  " << format("0x%016" PRIx64, cpu64.rflags);
 9404   outs() << " cs  " << format("0x%016" PRIx64, cpu64.cs);
 9405   outs() << " fs   " << format("0x%016" PRIx64, cpu64.fs) << "\n";
 9406   outs() << "    gs  " << format("0x%016" PRIx64, cpu64.gs) << "\n";
 9413     outs() << format("%02" PRIx32, (r.mmst_reg[f] & 0xff)) << " ";
 9417     outs() << format("%02" PRIx32, (r.mmst_rsrv[f] & 0xff)) << " ";
 9425     outs() << format("%02" PRIx32, (r.xmm_reg[f] & 0xff)) << " ";
 9471   outs() << "\t    fpu_ftw " << format("0x%02" PRIx32, fpu.fpu_ftw);
 9472   outs() << " fpu_rsrv1 " << format("0x%02" PRIx32, fpu.fpu_rsrv1);
 9473   outs() << " fpu_fop " << format("0x%04" PRIx32, fpu.fpu_fop);
 9474   outs() << " fpu_ip " << format("0x%08" PRIx32, fpu.fpu_ip) << "\n";
 9475   outs() << "\t    fpu_cs " << format("0x%04" PRIx32, fpu.fpu_cs);
 9476   outs() << " fpu_rsrv2 " << format("0x%04" PRIx32, fpu.fpu_rsrv2);
 9477   outs() << " fpu_dp " << format("0x%08" PRIx32, fpu.fpu_dp);
 9478   outs() << " fpu_ds " << format("0x%04" PRIx32, fpu.fpu_ds) << "\n";
 9479   outs() << "\t    fpu_rsrv3 " << format("0x%04" PRIx32, fpu.fpu_rsrv3);
 9480   outs() << " fpu_mxcsr " << format("0x%08" PRIx32, fpu.fpu_mxcsr);
 9481   outs() << " fpu_mxcsrmask " << format("0x%08" PRIx32, fpu.fpu_mxcsrmask);
 9535       outs() << format("%02" PRIx32, fpu.fpu_rsrv4[f * g]) << " ";
 9538   outs() << "\t    fpu_reserved1 " << format("0x%08" PRIx32, fpu.fpu_reserved1);
 9543   outs() << "\t    trapno " << format("0x%08" PRIx32, exc64.trapno);
 9544   outs() << " err " << format("0x%08" PRIx32, exc64.err);
 9545   outs() << " faultvaddr " << format("0x%016" PRIx64, exc64.faultvaddr) << "\n";
 9549   outs() << "\t    r0  " << format("0x%08" PRIx32, cpu32.r[0]);
 9550   outs() << " r1     "   << format("0x%08" PRIx32, cpu32.r[1]);
 9551   outs() << " r2  "      << format("0x%08" PRIx32, cpu32.r[2]);
 9552   outs() << " r3  "      << format("0x%08" PRIx32, cpu32.r[3]) << "\n";
 9553   outs() << "\t    r4  " << format("0x%08" PRIx32, cpu32.r[4]);
 9554   outs() << " r5     "   << format("0x%08" PRIx32, cpu32.r[5]);
 9555   outs() << " r6  "      << format("0x%08" PRIx32, cpu32.r[6]);
 9556   outs() << " r7  "      << format("0x%08" PRIx32, cpu32.r[7]) << "\n";
 9557   outs() << "\t    r8  " << format("0x%08" PRIx32, cpu32.r[8]);
 9558   outs() << " r9     "   << format("0x%08" PRIx32, cpu32.r[9]);
 9559   outs() << " r10 "      << format("0x%08" PRIx32, cpu32.r[10]);
 9560   outs() << " r11 "      << format("0x%08" PRIx32, cpu32.r[11]) << "\n";
 9561   outs() << "\t    r12 " << format("0x%08" PRIx32, cpu32.r[12]);
 9562   outs() << " sp     "   << format("0x%08" PRIx32, cpu32.sp);
 9563   outs() << " lr  "      << format("0x%08" PRIx32, cpu32.lr);
 9564   outs() << " pc  "      << format("0x%08" PRIx32, cpu32.pc) << "\n";
 9565   outs() << "\t   cpsr " << format("0x%08" PRIx32, cpu32.cpsr) << "\n";
 9569   outs() << "\t    x0  " << format("0x%016" PRIx64, cpu64.x[0]);
 9570   outs() << " x1  "      << format("0x%016" PRIx64, cpu64.x[1]);
 9571   outs() << " x2  "      << format("0x%016" PRIx64, cpu64.x[2]) << "\n";
 9572   outs() << "\t    x3  " << format("0x%016" PRIx64, cpu64.x[3]);
 9573   outs() << " x4  "      << format("0x%016" PRIx64, cpu64.x[4]);
 9574   outs() << " x5  "      << format("0x%016" PRIx64, cpu64.x[5]) << "\n";
 9575   outs() << "\t    x6  " << format("0x%016" PRIx64, cpu64.x[6]);
 9576   outs() << " x7  "      << format("0x%016" PRIx64, cpu64.x[7]);
 9577   outs() << " x8  "      << format("0x%016" PRIx64, cpu64.x[8]) << "\n";
 9578   outs() << "\t    x9  " << format("0x%016" PRIx64, cpu64.x[9]);
 9579   outs() << " x10 "      << format("0x%016" PRIx64, cpu64.x[10]);
 9580   outs() << " x11 "      << format("0x%016" PRIx64, cpu64.x[11]) << "\n";
 9581   outs() << "\t    x12 " << format("0x%016" PRIx64, cpu64.x[12]);
 9582   outs() << " x13 "      << format("0x%016" PRIx64, cpu64.x[13]);
 9583   outs() << " x14 "      << format("0x%016" PRIx64, cpu64.x[14]) << "\n";
 9584   outs() << "\t    x15 " << format("0x%016" PRIx64, cpu64.x[15]);
 9585   outs() << " x16 "      << format("0x%016" PRIx64, cpu64.x[16]);
 9586   outs() << " x17 "      << format("0x%016" PRIx64, cpu64.x[17]) << "\n";
 9587   outs() << "\t    x18 " << format("0x%016" PRIx64, cpu64.x[18]);
 9588   outs() << " x19 "      << format("0x%016" PRIx64, cpu64.x[19]);
 9589   outs() << " x20 "      << format("0x%016" PRIx64, cpu64.x[20]) << "\n";
 9590   outs() << "\t    x21 " << format("0x%016" PRIx64, cpu64.x[21]);
 9591   outs() << " x22 "      << format("0x%016" PRIx64, cpu64.x[22]);
 9592   outs() << " x23 "      << format("0x%016" PRIx64, cpu64.x[23]) << "\n";
 9593   outs() << "\t    x24 " << format("0x%016" PRIx64, cpu64.x[24]);
 9594   outs() << " x25 "      << format("0x%016" PRIx64, cpu64.x[25]);
 9595   outs() << " x26 "      << format("0x%016" PRIx64, cpu64.x[26]) << "\n";
 9596   outs() << "\t    x27 " << format("0x%016" PRIx64, cpu64.x[27]);
 9597   outs() << " x28 "      << format("0x%016" PRIx64, cpu64.x[28]);
 9598   outs() << "  fp "      << format("0x%016" PRIx64, cpu64.fp) << "\n";
 9599   outs() << "\t     lr " << format("0x%016" PRIx64, cpu64.lr);
 9600   outs() << " sp  "      << format("0x%016" PRIx64, cpu64.sp);
 9601   outs() << "  pc "      << format("0x%016" PRIx64, cpu64.pc) << "\n";
 9602   outs() << "\t   cpsr " << format("0x%08"  PRIx32, cpu64.cpsr) << "\n";
10189       outs() << "      cmd ?(" << format("0x%08" PRIx32, Command.C.cmd)
10269       outs() << format("0x%08llX  ",
10294         outs() << format("resolver=0x%08llX", Entry.other());
10327     outs() << format("%-8s %-18s 0x%08" PRIX64 "  %s\n",
tools/llvm-objdump/llvm-objdump.cpp
  681   outs() << format(Fmt.data(), Address) << Name << "\t" << Val << "\n";
  698       OS << format("%8" PRIx64 ":", Address.Address);
  725       OS << format("%8" PRIx64 ":", Address);
  729       OS << format("\t%08" PRIx32, opcode);
  822         OS << format("\t.long 0x%08" PRIx32 " ",
  826           OS << format("\t.byte 0x%02" PRIx8, Bytes[0]);
  828             OS << format(", 0x%02" PRIx8, Bytes[i]);
  833     OS << format("// %012" PRIX64 ":", Address.Address);
  840         OS << format(" %08" PRIX32, D);
  843         OS << format(" %02" PRIX8, B);
  862       OS << format("%8" PRId64 ":", Address.Address / 8);
 1053     outs() << format("%8" PRIx64 ":", SectionAddr + Index);
 1088       outs() << format("%8" PRIx64 ":", SectionAddr + Index);
 1090     outs() << format(" %02x", Byte);
 1331         outs() << format(Is64Bits ? "%016" PRIx64 " " : "%08" PRIx64 " ",
 1648         outs() << format(Fmt.data(), Address) << " " << RelocName << " "
 1681       outs() << format(Fmt.data(), Address) << " " << RelocName << " "
 1740       outs() << format("%3" PRIu64 " %-*s %08" PRIx64 " ", Idx, NameWidth,
 1746       outs() << format("%3" PRIu64 " %-*s %08" PRIx64 " ", Idx, NameWidth,
 1763       outs() << format("<skipping contents of bss section at [%04" PRIx64
 1773       outs() << format(" %04" PRIx64 " ", BaseAddr + Addr);
 1852     outs() << format(Fmt, Address) << " "
 1882       outs() << format("\t%08" PRIx64, Val);
 1900         outs() << format(" 0x%02x", Other);
 2040          << "0x" << format(Fmt.data(), Address) << "\n\n";
 2063   outs() << format("%d/%d %6" PRId64 " ", unwrapOrError(C.getUID(), Filename),
 2077     outs() << format("%.24s ", ctime(&t));
tools/llvm-profdata/llvm-profdata.cpp
  787       OS << "\t[ " << format("%2u", I) << ", ";
  789         OS << format("%4" PRIu64, VD[V].Value);
  792       OS << ", " << format("%10" PRId64, VD[V].Count) << " ] ("
  793          << format("%.2f%%", (VD[V].Count * 100.0 / SiteSum)) << ")\n";
  911          << "    Hash: " << format("0x%016" PRIx64, Func.Hash) << "\n"
  998          << format("%0.6g", (float)Entry.Cutoff / ProfileSummary::Scale * 100)
tools/llvm-readobj/ARMEHABIPrinter.h
  101   SW.startLine() << format("0x%02X      ; vsp = vsp + %u\n", Opcode,
  107   SW.startLine() << format("0x%02X      ; vsp = vsp - %u\n", Opcode,
  117     << format("0x%02X 0x%02X ; %s",
  126   SW.startLine() << format("0x%02X      ; reserved (ARM MOVrr)\n", Opcode);
  131   SW.startLine() << format("0x%02X      ; reserved (WiMMX MOVrr)\n", Opcode);
  136   SW.startLine() << format("0x%02X      ; vsp = r%u\n", Opcode, (Opcode & 0x0f));
  141   SW.startLine() << format("0x%02X      ; pop ", Opcode);
  148   SW.startLine() << format("0x%02X      ; pop ", Opcode);
  155   SW.startLine() << format("0x%02X      ; finish\n", Opcode);
  163     << format("0x%02X 0x%02X ; %s", Opcode0, Opcode1,
  172   SW.startLine() << format("0x%02X ", Opcode);
  178     OS << format("0x%02X ", ULEB[BI]);
  184   OS << format("; vsp = vsp + %" PRIu64 "\n", 0x204 + (Value << 2));
  190   SW.startLine() << format("0x%02X 0x%02X ; pop ", Opcode0, Opcode1);
  199   SW.startLine() << format("0x%02X      ; spare\n", Opcode);
  204   SW.startLine() << format("0x%02X      ; pop ", Opcode);
  212   SW.startLine() << format("0x%02X 0x%02X ; pop ", Opcode0, Opcode1);
  223     << format("0x%02X 0x%02X ; %s", Opcode0, Opcode1,
  233   SW.startLine() << format("0x%02X 0x%02X ; pop ", Opcode0, Opcode1);
  243   SW.startLine() << format("0x%02X 0x%02X ; pop ", Opcode0, Opcode1);
  252   SW.startLine() << format("0x%02X      ; spare\n", Opcode);
  257   SW.startLine() << format("0x%02X      ; pop ", Opcode);
  264   SW.startLine() << format("0x%02X      ; pop ", Opcode);
  271   SW.startLine() << format("0x%02X      ; spare\n", Opcode);
  319       SW.startLine() << format("0x%02X      ; reserved\n", Opcodes[OCI++ ^ 3]);
tools/llvm-readobj/ARMWinEHPrinter.cpp
  104     OS << format("+0x%X (0x%" PRIX64 ")", Offset, Address);
  106     OS << format("(0x%" PRIX64 ")", Address);
  108     OS << format("0x%" PRIX64, Address);
  255   SW.startLine() << format("0x%02x                ; %s sp, #(%u * 4)\n",
  272   SW.startLine() << format("0x%02x 0x%02x           ; %s.w ",
  285     SW.startLine() << format("0x%02x                ; mov r%u, sp\n",
  288     SW.startLine() << format("0x%02x                ; mov sp, r%u\n",
  302   SW.startLine() << format("0x%02x                ; %s ", OC[Offset],
  319   SW.startLine() << format("0x%02x                ; %s.w ", OC[Offset],
  333   SW.startLine() << format("0x%02x                ; %s ", OC[Offset],
  346   SW.startLine() << format("0x%02x 0x%02x           ; %s.w sp, #(%u * 4)\n",
  360   SW.startLine() << format("0x%02x 0x%02x           ; %s ", OC[Offset + 0],
  374     SW.startLine() << format("0x%02x 0x%02x           ; reserved\n",
  378       << format("0x%02x 0x%02x           ; microsoft-specific (type: %u)\n",
  390     SW.startLine() << format("0x%02x 0x%02x           ; reserved\n",
  394       << format("0x%02x 0x%02x           ; ldr.w lr, [sp], #%u\n",
  407   SW.startLine() << format("0x%02x 0x%02x           ; %s ", OC[Offset + 0],
  422   SW.startLine() << format("0x%02x 0x%02x           ; %s ", OC[Offset + 0],
  435   SW.startLine() << format("0x%02x 0x%02x 0x%02x      ; %s sp, sp, #(%u * 4)\n",
  451     << format("0x%02x 0x%02x 0x%02x 0x%02x ; %s sp, sp, #(%u * 4)\n",
  464     << format("0x%02x 0x%02x 0x%02x      ; %s.w sp, sp, #(%u * 4)\n",
  479     << format("0x%02x 0x%02x 0x%02x 0x%02x ; %s.w sp, sp, #(%u * 4)\n",
  489   SW.startLine() << format("0x%02x                ; nop\n", OC[Offset]);
  496   SW.startLine() << format("0x%02x                ; nop.w\n", OC[Offset]);
  503   SW.startLine() << format("0x%02x                ; b\n", OC[Offset]);
  510   SW.startLine() << format("0x%02x                ; b.w\n", OC[Offset]);
  525   SW.startLine() << format("0x%02x                ; %s sp, #%u\n", OC[Offset],
  536     SW.startLine() << format(
  539     SW.startLine() << format(
  548   SW.startLine() << format(
  559     SW.startLine() << format(
  562     SW.startLine() << format(
  573   SW.startLine() << format("0x%02x%02x              ; %s sp, #%u\n",
  588   SW.startLine() << format(
  604     SW.startLine() << format(
  609     SW.startLine() << format(
  624   SW.startLine() << format("0x%02x%02x              ; %s x%u, [sp, #%u]\n",
  640     SW.startLine() << format("0x%02x%02x              ; str x%u, [sp, #%u]!\n",
  643     SW.startLine() << format("0x%02x%02x              ; ldr x%u, [sp], #%u\n",
  657   SW.startLine() << format("0x%02x%02x              ; %s x%u, lr, [sp, #%u]\n",
  672   SW.startLine() << format("0x%02x%02x              ; %s d%u, d%u, [sp, #%u]\n",
  688     SW.startLine() << format(
  692     SW.startLine() << format(
  706   SW.startLine() << format("0x%02x%02x                ; %s d%u, [sp, #%u]\n",
  719     SW.startLine() << format(
  723     SW.startLine() << format(
  735   SW.startLine() << format(
  745   SW.startLine() << format("0x%02x                ; mov fp, sp\n", OC[Offset]);
  753   SW.startLine() << format("0x%02x%02x              ; add fp, sp, #%u\n",
  761   SW.startLine() << format("0x%02x                ; nop\n", OC[Offset]);
  768   SW.startLine() << format("0x%02x                ; end\n", OC[Offset]);
  775   SW.startLine() << format("0x%02x                ; end_c\n", OC[Offset]);
  789         SW.startLine() << format("0x%02x                ; Bad opcode!\n",
  797           SW.startLine() << format("Opcode 0x%02x goes past the unwind data\n",
tools/llvm-readobj/DwarfCFIEHPrinter.h
  103   W.startLine() << format("Address: 0x%" PRIx64 "\n", EHFrameHdrAddress);
  104   W.startLine() << format("Offset: 0x%" PRIx64 "\n", EHFrameHdrOffset);
  105   W.startLine() << format("Size: 0x%" PRIx64 "\n", EHFrameHdrSize);
  132   W.startLine() << format("eh_frame_ptr_enc: 0x%" PRIx64 "\n", EHFramePtrEnc);
  138   W.startLine() << format("fde_count_enc: 0x%" PRIx64 "\n", FDECountEnc);
  144   W.startLine() << format("table_enc: 0x%" PRIx64 "\n", TableEnc);
  150   W.startLine() << format("eh_frame_ptr: 0x%" PRIx64 "\n", EHFramePtr);
  161     W.startLine() << format("initial_location: 0x%" PRIx64 "\n", InitialPC);
  163     W.startLine() << format("address: 0x%" PRIx64 "\n", Address);
  179   W.startLine() << format(".eh_frame section at offset 0x%" PRIx64
  201       W.startLine() << format("[0x%" PRIx64 "] CIE length=%" PRIu64 "\n",
  222       W.startLine() << format("[0x%" PRIx64 "] FDE length=%" PRIu64
  229       W.startLine() << format("initial_location: 0x%" PRIx64 "\n",
  232         << format("address_range: 0x%" PRIx64 " (end : 0x%" PRIx64 ")\n",
tools/llvm-readobj/ELFDumper.cpp
 1994       OS << format(ConvChar, Value);
 2048       OS << format(ConvChar, Value);
 2089     OS << format(ConvChar, Value);
 2137     OS << format(ConvChar, Value);
 2759     OS << format(" %02x", static_cast<int>(e->e_ident[i]));
 3594     OS << format("   %2.2d     ", Phnum++);
 3690        << format(" %-20s ", TypeString.c_str());
 3814         OS << format("%4x%c", Versym->vs_index & VERSYM_VERSION,
 3877     OS << format("  0x%04x: Rev: %u  Flags: %s  Index: %u  Cnt: %u",
 3885     OS << format("  Name: %s\n",
 3891       OS << format("  0x%04x: Parent %u: %s\n", VerdauxBuf - Begin, I,
 3924     OS << format("  0x%04x: Version: %u  File: %s  Cnt: %u\n",
 3935       OS << format("  0x%04x:   Name: %s  Flags: %s  Version: %u\n",
 4003       OS << format("%7lu  %-10lu (%5.1f%%)     %5.1f%%\n", I, Count[I],
 4053       OS << format("%7lu  %-10lu (%5.1f%%)     %5.1f%%\n", I, Count[I],
 4186   OS << format("Unknown note type (0x%08x)", NT);
 4214   OS << format("Unknown note type (0x%08x)", NT);
 4234   OS << format("Unknown note type (0x%08x)", NT);
 4244   OS << format("Unknown note type (0x%08x)", NT);
 4265     OS << format("<application-specific type 0x%x>", Type);
 4273       OS << format("<corrupt length: 0x%x>", DataSize);
 4279       OS << format(" <corrupt length: 0x%x>", DataSize);
 4286       OS << format("<corrupt length: 0x%x>", DataSize);
 4302       OS << format("<unknown flags: 0x%x>", PrData);
 4309       OS << format("<corrupt length: 0x%x>", DataSize);
 4342       OS << format("<unknown flags: 0x%x>", PrData);
 4350       OS << format("<corrupt length: 0x%x>", DataSize);
 4369       OS << format("<unknown flags: 0x%x>", PrData);
 4389       OS << format("<corrupt type (0x%x) datasz: 0x%x>", Type, DataSize);
 4658         OS << " " << format("%02x", B);
 5512                   << format("%-21s",
 6108     OS << format("MIPS%u", Flags->isa_level);
 6110     OS << format("MIPS%ur%u", Flags->isa_level, Flags->isa_rev);
tools/llvm-readobj/ObjDumper.cpp
  110       W.startLine() << format("[%6tx] ", CurrentWord - SecContent);
  158         W.startLine() << format("%*c", (4 - i) * 8 + (4 - i) + (8 - (k * 2)),
tools/llvm-readobj/Win64EHDumper.cpp
  126         OS << format(" +0x%X (0x%" PRIX64 ")", Displacement, Offset);
  128         OS << format(" (0x%" PRIX64 ")", Offset);
  136   OS << format(" (0x%" PRIX64 ")", Offset);
  182   SW.startLine() << format("0x%02X: ", unsigned(UC[0].u.CodeOffset))
  205          << format(", offset=0x%X", UI.getFrameOffset() * 16);
  210        << format(", offset=0x%X", UC[1].FrameOffset * 8);
  215        << format(", offset=0x%X", getLargeSlotValue(UC));
  220        << format(", offset=0x%X", UC[1].FrameOffset * 16);
  225        << format(", offset=0x%X", getLargeSlotValue(UC));
tools/llvm-size/llvm-size.cpp
  226              << format(fmt.str().c_str(), Seg.vmsize);
  228         outs() << " (vmaddr 0x" << format("%" PRIx64, Seg.vmaddr) << " fileoff "
  236           outs() << "\tSection (" << format("%.16s", &Sec.segname) << ", "
  237                  << format("%.16s", &Sec.sectname) << "): ";
  239           outs() << "\tSection " << format("%.16s", &Sec.sectname) << ": ";
  240         outs() << format(fmt.str().c_str(), Sec.size);
  242           outs() << " (addr 0x" << format("%" PRIx64, Sec.addr) << " offset "
  248         outs() << "\ttotal " << format(fmt.str().c_str(), sec_total) << "\n";
  253              << format(fmt.str().c_str(), Seg_vmsize);
  255         outs() << " (vmaddr 0x" << format("%" PRIx32, Seg.vmaddr) << " fileoff "
  263           outs() << "\tSection (" << format("%.16s", &Sec.segname) << ", "
  264                  << format("%.16s", &Sec.sectname) << "): ";
  266           outs() << "\tSection " << format("%.16s", &Sec.sectname) << ": ";
  268         outs() << format(fmt.str().c_str(), Sec_size);
  270           outs() << " (addr 0x" << format("%" PRIx32, Sec.addr) << " offset "
  276         outs() << "\ttotal " << format(fmt.str().c_str(), sec_total) << "\n";
  279   outs() << "total " << format(fmt.str().c_str(), total) << "\n";
  353          << total_others << "\t" << total << "\t" << format("%" PRIx64, total)
  411     outs() << format(fmt.str().c_str(), static_cast<const char *>("section"),
  434       outs() << format(fmt.str().c_str(), name_or_err->str().c_str(), size, addr);
  440       outs() << format(fmt.str().c_str(), std::string("*COM*").c_str(),
  448     outs() << format(fmt.str().c_str(), static_cast<const char *>("Total"),
  499     outs() << format(fmt.str().c_str(), total_text, total_data, total_bss);
  503     outs() << format(fmt.str().c_str(), total, total);
  854   outs() << format(fmt.str().c_str(), TotalObjectText, TotalObjectData,
  859   outs() << format(fmt.str().c_str(), TotalObjectTotal, TotalObjectTotal)
tools/llvm-strings/llvm-strings.cpp
   70       OS << format("%7o ", Offset);
   73       OS << format("%7x ", Offset);
   76       OS << format("%7u ", Offset);
unittests/IR/UseTest.cpp
   51     format("v%u", I++).snprint(vnbuf, sizeof(vnbuf));
   61     format("v%u", (7 - I++)).snprint(vnbuf, sizeof(vnbuf));
   96     format("v%u", I++).snprint(vnbuf, sizeof(vnbuf));
  104     format("v%u", (7 - I++)).snprint(vnbuf, sizeof(vnbuf));
unittests/Support/YAMLIOTest.cpp
 1006       out << llvm::format("%d by %d", value.length, value.width);
unittests/Support/raw_ostream_test.cpp
  113   EXPECT_EQ("1.20", printToString(format("%.2f", 1.2), 1));
  114   EXPECT_EQ("1.20", printToString(format("%.2f", 1.2), 2));
  115   EXPECT_EQ("1.20", printToString(format("%.2f", 1.2), 3));
  116   EXPECT_EQ("1.20", printToString(format("%.2f", 1.2), 4));
  117   EXPECT_EQ("1.20", printToString(format("%.2f", 1.2), 10));
utils/TableGen/AsmWriterEmitter.cpp
  705           OS << format("\\x%02X", (unsigned char)OpIndex + 1);
  709           OS << format("\\xFF\\x%02X\\x%02X", OpIndex + 1, PrintIndex + 1);
utils/TableGen/RegisterInfoEmitter.cpp
  595     OS << format("0x%0*x, ", Digits, Value);
  805       OS << format(", %2u }, ", P.RotateLeft);
  818     OS << format("&LaneMaskComposeSequences[%u]", Idx);
utils/TableGen/SubtargetEmitter.cpp
 1254     OS << "  {" << format("%2d", WPREntry.ProcResourceIdx) << ", "
 1255        << format("%2d", WPREntry.Cycles) << "}";
 1270     OS << "  {" << format("%2d", WLEntry.Cycles) << ", "
 1271        << format("%2d", WLEntry.WriteResourceID) << "}";
 1287        << format("%2d", RAEntry.WriteResourceID) << ", "
 1288        << format("%2d", RAEntry.Cycles) << "}";
 1326          << ", " << format("%2d", MCDesc.WriteProcResIdx)
 1328          << ", " << format("%2d", MCDesc.WriteLatencyIdx)
 1330          << ", " << format("%2d", MCDesc.ReadAdvanceIdx)
utils/TableGen/X86DisassemblerTables.cpp
  722       o1.indent(i1 * 2) << format("0x%hx", *I) << ", /* "
  776     o2 << "/* 0x" << format("%02hhx", index) << " */" << "\n";