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

References

include/llvm/DebugInfo/GSYM/LineEntry.h
   32   return OS << "addr=" << HEX64(LE.Addr) << ", file=" << format("%3u", LE.File)
include/llvm/DebugInfo/GSYM/StringTable.h
   45     OS << HEX32(Offset) << ": \"" << Str << "\"\n";
include/llvm/Object/MachO.h
  620       ss << format_hex(platform, 8, true);
  633       ss << format_hex(tools, 8, true);
lib/Bitcode/Reader/BitcodeAnalyzer.cpp
  480             << " Magic=" << format_hex(Magic, 10)
  481             << " Version=" << format_hex(Version, 10)
  482             << " Offset=" << format_hex(Offset, 10)
  483             << " Size=" << format_hex(Size, 10)
  484             << " CPUType=" << format_hex(CPUType, 10) << "/>\n";
lib/CodeGen/FaultMaps.cpp
  132   OS << "FunctionAddress: " << format_hex(FI.getFunctionAddr(), 8)
  140   OS << "Version: " << format_hex(FMP.getFaultMapVersion(), 2) << "\n";
lib/DebugInfo/GSYM/FunctionInfo.cpp
   27   OS << '[' << HEX64(FI.Range.Start) << '-' << HEX64(FI.Range.End) << "): "
   27   OS << '[' << HEX64(FI.Range.Start) << '-' << HEX64(FI.Range.End) << "): "
   28      << "Name=" << HEX32(FI.Name) << '\n' << FI.OptLineTable << FI.Inline;
lib/DebugInfo/GSYM/Header.cpp
   25   OS << "  Magic        = " << HEX32(H.Magic) << "\n";
   26   OS << "  Version      = " << HEX16(H.Version) << '\n';
   27   OS << "  AddrOffSize  = " << HEX8(H.AddrOffSize) << '\n';
   28   OS << "  UUIDSize     = " << HEX8(H.UUIDSize) << '\n';
   29   OS << "  BaseAddress  = " << HEX64(H.BaseAddress) << '\n';
   30   OS << "  NumAddresses = " << HEX32(H.NumAddresses) << '\n';
   31   OS << "  StrtabOffset = " << HEX32(H.StrtabOffset) << '\n';
   32   OS << "  StrtabSize   = " << HEX32(H.StrtabSize) << '\n';
lib/DebugInfo/GSYM/InlineInfo.cpp
   32   OS << " Name = " << HEX32(II.Name) << ", CallFile = " << II.CallFile
lib/DebugInfo/GSYM/Range.cpp
   57   return OS << '[' << HEX64(R.Start) << " - " << HEX64(R.End) << ")";
   57   return OS << '[' << HEX64(R.Start) << " - " << HEX64(R.End) << ")";
lib/IR/AsmWriter.cpp
 1344       Out << format_hex(apf.bitcastToAPInt().getZExtValue(), 0, /*Upper=*/true);
lib/MCA/HardwareUnits/ResourceManager.cpp
   95   dbgs() << "MASK=" << format_hex(ResourceMask, 16)
   96          << ", SZMASK=" << format_hex(ResourceSizeMask, 16)
   97          << ", RDYMASK=" << format_hex(ReadyMask, 16)
lib/MCA/InstrBuilder.cpp
  187       dbgs() << "\t\tResource Mask=" << format_hex(R.first, 16) << ", "
  194       dbgs() << "\t\tBuffer Mask=" << format_hex(Current, 16) << '\n';
  197     dbgs() << "\t\t Used Units=" << format_hex(ID.UsedProcResUnits, 16) << '\n';
  198     dbgs() << "\t\tUsed Groups=" << format_hex(ID.UsedProcResGroups, 16)
lib/MCA/Stages/ExecuteStage.cpp
  136                       << format_hex(Mask, 16) << '\n');
lib/MCA/Support.cpp
   76                       << format_hex(Masks[I],16) << " - "
lib/Support/Signals.cpp
  101   return format_hex((uint64_t)PC, PtrWidth);
  211         OS << "(" << Modules[i] << '+' << format_hex(Offsets[i], 0) << ")";
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
 1273   ES << "value " << Val << "(" << format_hex(Val, 0) << ") out of range: ";
lib/Target/Hexagon/HexagonISelLowering.cpp
 1688     O << "Misaligned constant address: " << format_hex(Addr, 10)
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  289                 << llvm::format_hex(
  292                 << llvm::format_hex(
tools/lldb/tools/lldb-vscode/JSONUtils.cpp
  149       strm << " @ " << llvm::format_hex(address, 0);
tools/llvm-cfi-verify/lib/FileAnalysis.cpp
  246              << format_hex(SourceInstrAddress, 2)
  248              << format_hex(InstrMeta.VMAddress, 2) << ".\n";
  540            << format_hex(Instruction.VMAddress, 2)
tools/llvm-cfi-verify/lib/GraphBuilder.cpp
   73   OS << "  \"" << format_hex(From, 2) << ": ";
   75   OS << "\" -> \"" << format_hex(To, 2) << ": ";
   84   OS << "digraph graph_" << format_hex(BaseAddress, 2) << " {\n";
  130              << format_hex(BranchNode.Address, 2) << ".\n";
  144              << format_hex(BranchInstrMeta.VMAddress, 2) << ".\n";
  152              << format_hex(Target, 2) << ".\n";
  219            << format_hex(Address, 2) << ".\n";
  261              << format_hex(ParentMeta.VMAddress, 2) << ".\n";
  271         errs() << "Control flow to " << format_hex(Address, 2)
  273                << format_hex(ParentMeta.VMAddress, 2)
  290              << format_hex(Address, 2) << "\n.";
tools/llvm-cfi-verify/llvm-cfi-verify.cpp
   90   outs() << "Instruction: " << format_hex(InstrMeta.VMAddress, 2) << " ("
  156       errs() << "Failed to symbolise " << format_hex(Address.Address, 2)
  167         outs() << "  " << format_hex(Address.Address, 2) << " = "
tools/llvm-objdump/COFFDump.cpp
  253          << format_hex(TLSDir->StartAddressOfRawData, FormatWidth)
  255          << format_hex(TLSDir->EndAddressOfRawData, FormatWidth)
  257          << format_hex(TLSDir->AddressOfIndex, FormatWidth)
  259          << format_hex(TLSDir->AddressOfCallBacks, FormatWidth)
tools/llvm-objdump/MachODump.cpp
10377            << format_hex(Address, 10, true) << " "
10404            << format_hex(Address, 10, true) << " "
10435            << format_hex(Address, 10, true) << " "
tools/llvm-objdump/llvm-objdump.cpp
 1058              << format_hex(
 1064              << format_hex(
 1069       outs() << "\t\t.byte\t" << format_hex(Bytes[0], 4);
tools/llvm-pdbutil/PrettyClassLayoutGraphicalDumper.cpp
  125       << "+" << format_hex(CurrentAbsoluteOffset, 4) << " [sizeof=" << Size
tools/llvm-pdbutil/PrettyCompilandDumper.cpp
  102               << "[" << format_hex(AddrStart, 10) << " - "
  103               << format_hex(AddrEnd, 10) << "]";
  108               << "[" << format_hex(AddrStart, 10) << "] ";
  140         << "[" << format_hex(Symbol.getVirtualAddress(), 10) << "]";
  181       << "[" << format_hex(Symbol.getVirtualAddress(), 10) << "] ";
  197     WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(VA, 10);
  199     WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(Target, 10);
  202         << "[" << format_hex(VA, 10) << " - "
  203         << format_hex(VA + Symbol.getLength(), 10) << "]";
tools/llvm-pdbutil/PrettyExternalSymbolDumper.cpp
   38   WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(Addr, 10);
tools/llvm-pdbutil/PrettyFunctionDumper.cpp
  121   WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(FuncStart, 10);
  128   WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(FuncEnd, 10);
tools/llvm-pdbutil/PrettyVariableDumper.cpp
   52         << format_hex(Var.getVirtualAddress(), 10);
   70         << "+" << format_hex(Offset + Var.getOffset(), 4)
   78         << "+" << format_hex(Offset + Var.getOffset(), 4)
   98       << "+" << format_hex(Offset, 4) << " [sizeof=" << Size << "] ";
  108       << "+" << format_hex(Offset + Var.getOffset(), 4)
tools/llvm-readobj/ELFDumper.cpp
 1286   return std::string("<unknown>: ") + to_string(format_hex(Type, 1));
 3344         " [<other: " + to_string(format_hex(Symbol->st_other, 2)) + ">]";
 3553      << "Entry point " << format_hex(Header->e_entry, 3) << "\n"
 3569     Fields[1].Str = to_string(format_hex(Phdr.p_offset, 8));
 3570     Fields[2].Str = to_string(format_hex(Phdr.p_vaddr, Width));
 3571     Fields[3].Str = to_string(format_hex(Phdr.p_paddr, Width));
 3572     Fields[4].Str = to_string(format_hex(Phdr.p_filesz, SizeWidth));
 3573     Fields[5].Str = to_string(format_hex(Phdr.p_memsz, SizeWidth));
 3575     Fields[7].Str = to_string(format_hex(Phdr.p_align, 1));
 3674      << format_hex(reinterpret_cast<const uint8_t *>(DynamicTableRegion.Addr) -
 3689     OS << "  " << format_hex(Tag, Is64 ? 18 : 10)
 3704        << format_hex(reinterpret_cast<const uint8_t *>(DynRelaRegion.Addr) -
 3714        << format_hex(reinterpret_cast<const uint8_t *>(DynRelRegion.Addr) -
 3729        << format_hex(reinterpret_cast<const uint8_t *>(DynRelrRegion.Addr) -
 3743        << format_hex(reinterpret_cast<const uint8_t *>(DynPLTRelRegion.Addr) -
 3778      << "  Offset: " << format_hex(Sec->sh_offset, 8)
 4590     OS << "    " << format_hex(Mapping.Start, FieldWidth) << "  "
 4591        << format_hex(Mapping.End, FieldWidth) << "  "
 4592        << format_hex(Mapping.Offset, FieldWidth) << "\n        "
 4601     OS << "Displaying notes found at file offset " << format_hex(Offset, 10)
 4602        << " with length " << format_hex(Size, 10) << ":\n"
 4613        << format_hex(Descriptor.size(), 10) << '\t';
 4629         OS << "Unknown note type: (" << format_hex(Type, 10) << ")\n";
 5511     W.startLine() << "  " << format_hex(Tag, Is64 ? 18 : 10, true) << " "
 5875                       "Unknown (" + to_string(format_hex(Type, 10)) + ")");
tools/llvm-readobj/ObjDumper.cpp
  141       W.startLine() << format_hex(Section.getAddress() + (SecPtr - SecContent),
tools/sanstats/sanstats.cpp
   91       llvm::outs() << format_hex(Addr - 1, 18) << ' ' << LineInfo->FileName
unittests/Support/raw_ostream_test.cpp
  161   EXPECT_EQ("0x1234",     printToString(format_hex(0x1234, 6), 6));
  162   EXPECT_EQ("0x001234",   printToString(format_hex(0x1234, 8), 8));
  163   EXPECT_EQ("0x00001234", printToString(format_hex(0x1234, 10), 10));
  164   EXPECT_EQ("0x1234",     printToString(format_hex(0x1234, 4), 6));
  165   EXPECT_EQ("0xff",       printToString(format_hex(255, 4), 4));
  166   EXPECT_EQ("0xFF",       printToString(format_hex(255, 4, true), 4));
  167   EXPECT_EQ("0x1",        printToString(format_hex(1, 3), 3));
  168   EXPECT_EQ("0x12",       printToString(format_hex(0x12, 3), 4));
  169   EXPECT_EQ("0x123",      printToString(format_hex(0x123, 3), 5));
  173                           printToString(format_hex(UINT64_MAX, 18), 18));
  175                           printToString(format_hex((INT64_MIN), 18), 18));