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

Declarations

include/llvm/Support/raw_ostream.h
  250   raw_ostream &operator<<(const FormattedNumber &);

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);
include/llvm/Support/ScopedPrinter.h
   64   stream << Value;
include/llvm/Support/WithColor.h
   71     OS << O;
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';
   35     OS << format_hex_no_prefix(H.UUID[I], 2);
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/DebugInfo/PDB/IPDBSourceFile.cpp
   30       OS << format_hex_no_prefix(c, 2, true);
lib/DebugInfo/Symbolize/DIPrinter.cpp
   53       OS << format_decimal(L, MaxLineNumberWidth);
lib/IR/AsmWriter.cpp
 1344       Out << format_hex(apf.bitcastToAPInt().getZExtValue(), 0, /*Upper=*/true);
 1355       Out << format_hex_no_prefix(API.getHiBits(16).getZExtValue(), 4,
 1357       Out << format_hex_no_prefix(API.getLoBits(64).getZExtValue(), 16,
 1362       Out << format_hex_no_prefix(API.getLoBits(64).getZExtValue(), 16,
 1364       Out << format_hex_no_prefix(API.getHiBits(64).getZExtValue(), 16,
 1368       Out << format_hex_no_prefix(API.getLoBits(64).getZExtValue(), 16,
 1370       Out << format_hex_no_prefix(API.getHiBits(64).getZExtValue(), 16,
 1374       Out << format_hex_no_prefix(API.getZExtValue(), 4,
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
   75     LLVM_DEBUG(dbgs() << '[' << format_decimal(I,2) << "] " << " - "
   76                       << format_hex(Masks[I],16) << " - "
lib/Support/ScopedPrinter.cpp
   18   stream << format_hex_no_prefix(Value, 1, UpperCase);
lib/Support/Signals.cpp
  187          << ' ' << format_ptr(StackTrace[i]) << ' ';
  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)
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1708   O << lead << format_hex_no_prefix(API.getZExtValue(), numHex, /*Upper=*/true);
lib/Target/NVPTX/NVPTXMCExpr.cpp
   50   OS << format_hex_no_prefix(API.getZExtValue(), NumHex, /*Upper=*/true);
tools/dsymutil/MachODebugMapParser.cpp
  256   OS << '[' << format_decimal(Index, 6)
  259      << format_hex_no_prefix(StringIndex, 8)
  262      << format_hex_no_prefix(Type, 2) << " (";
  288       OS << format_hex_no_prefix(Type, 2) << "    ";
  299      << format_hex_no_prefix(SectionIndex, 2)
  302      << format_hex_no_prefix(Flags, 4)
  305      << format_hex_no_prefix(Value, 16);
tools/lld/COFF/PDB.cpp
 1321     stream << format_decimal(v, 15) << " " << s << '\n';
tools/lld/ELF/Thunks.cpp
  749   os << format_hex_no_prefix(addend, 8);
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  289                 << llvm::format_hex(
  292                 << llvm::format_hex(
tools/lldb/source/Plugins/SymbolFile/DWARF/DIERef.cpp
   15     OS << format_hex_no_prefix(*ref.dwo_num(), 8) << "/";
   17   OS << "/" << format_hex_no_prefix(ref.die_offset(), 8);
tools/lldb/source/Utility/UUID.cpp
   46     os << llvm::format_hex_no_prefix(B.value(), 2, true);
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/ELFDump.cpp
  290     outs() << format_decimal(VerdefIndex++, VerdefIndexWidth) << " "
tools/llvm-objdump/MachODump.cpp
10377            << format_hex(Address, 10, true) << " "
10379            << format_decimal(Entry.addend(), 8) << " "
10404            << format_hex(Address, 10, true) << " "
10435            << format_hex(Address, 10, true) << " "
10437            << format_decimal(Entry.addend(), 8) << "   " << Entry.symbolName()
tools/llvm-objdump/llvm-objdump.cpp
 1058              << format_hex(
 1064              << format_hex(
 1069       outs() << "\t\t.byte\t" << format_hex(Bytes[0], 4);
 1742              << format_hex_no_prefix(VMA, AddressWidth) << " "
 1743              << format_hex_no_prefix(getELFSectionLMA(Section), AddressWidth)
 1748              << format_hex_no_prefix(VMA, AddressWidth) << " " << Type << "\n";
tools/llvm-opt-report/OptReport.cpp
  391         OS << llvm::format_decimal(L, LNDigits) << " ";
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
 2892        << format_decimal(G.Index, 5) << "] `" << G.Name << "' [" << G.Signature
 2899         errs() << "Error: section [" << format_decimal(GM.Index, 5)
 2900                << "] in group section [" << format_decimal(G.Index, 5)
 2902                << format_decimal(MainGroup->Index, 5) << "]";
 2906       OS << "   [" << format_decimal(GM.Index, 5) << "]   " << GM.Name << "\n";
 3553      << "Entry point " << format_hex(Header->e_entry, 3) << "\n"
 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) -
 3777   OS << " Addr: " << format_hex_no_prefix(Sec->sh_addr, 16)
 3778      << "  Offset: " << format_hex(Sec->sh_offset, 8)
 3799     OS << "  " << format_hex_no_prefix(VersymRow, 3) << ":";
 4436     OS << format_hex_no_prefix(B, 2);
 4585   OS << "    Page size: " << format_decimal(Note.PageSize, 0) << '\n';
 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";
 4765   OS << format_decimal(Size, 11);
 4988     OS << format_hex_no_prefix(Parser.getGotAddress(E), 8 + Bias);
 4990     OS << format_decimal(Parser.getGotOffset(E), 6) << "(gp)";
 4992     OS << format_hex_no_prefix(*E, 8 + Bias);
 4999      << format_hex_no_prefix(Parser.getGp(), 8 + Bias) << "\n\n";
 5065     OS << format_hex_no_prefix(Parser.getPltAddress(E), 8 + Bias);
 5067     OS << format_hex_no_prefix(*E, 8 + Bias);
 5140   OS << "FLAGS 1: " << format_hex_no_prefix(Flags->flags1, 8, false) << "\n";
 5141   OS << "FLAGS 2: " << format_hex_no_prefix(Flags->flags2, 8, false) << "\n";
 5511     W.startLine() << "  " << format_hex(Tag, Is64 ? 18 : 10, true) << " "
tools/llvm-readobj/ObjDumper.cpp
  141       W.startLine() << format_hex(Section.getAddress() + (SecPtr - SecContent),
  147           W.startLine() << format_hex_no_prefix(Val, 2);
tools/sanstats/sanstats.cpp
   91       llvm::outs() << format_hex(Addr - 1, 18) << ' ' << LineInfo->FileName
unittests/Support/raw_ostream_test.cpp
   38   OS << Value;
utils/TableGen/DAGISelMatcherEmitter.cpp
  300           OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";
  339       OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";
  485           OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";
  511       OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";
  820       OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/";