| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TableGen/ |
| H A D | StringToOffsetTable.h | 25 StringMap<unsigned> StringOffset; variable 29 bool Empty() const { return StringOffset.empty(); } in Empty() 33 StringOffset.insert(std::make_pair(Str, AggregateString.size()));
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFAcceleratorTable.h | 513 uint64_t StringOffset; variable 518 uint64_t StringOffset, uint64_t EntryOffset) in NameTableEntry() argument 519 : StrData(StrData), Index(Index), StringOffset(StringOffset), in NameTableEntry() 526 uint64_t getStringOffset() const { return StringOffset; } in getStringOffset() 531 uint64_t Off = StringOffset; in getString()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | OffloadBinary.h | 119 uint64_t StringOffset; // Offset in bytes to the string map. member 136 reinterpret_cast<const StringEntry *>(&Buffer[TheEntry->StringOffset]); in OffloadBinary()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | Archive.cpp | 280 std::size_t StringOffset; in getName() local 281 if (Name.substr(1).rtrim(' ').getAsInteger(10, StringOffset)) { in getName() 295 if (StringOffset >= Parent->getStringTable().size()) { in getName() 298 return malformedError("long name offset " + Twine(StringOffset) + in getName() 307 size_t End = Parent->getStringTable().find('\n', /*From=*/StringOffset); in getName() 311 Twine(StringOffset) + "not terminated"); in getName() 313 return Parent->getStringTable().slice(StringOffset, End - 1); in getName() 315 return Parent->getStringTable().begin() + StringOffset; in getName()
|
| H A D | OffloadBinary.cpp | 200 TheEntry->StringOffset > Buf.getBufferSize()) in create() 239 TheEntry.StringOffset = sizeof(Header) + sizeof(Entry); in write()
|
| H A D | ArchiveWriter.cpp | 598 for (unsigned StringOffset : M.Symbols) { in writeSymbolTable() local 600 printNBits(Out, Kind, StringOffset); in writeSymbolTable()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| H A D | MILexer.cpp | 318 unsigned StringOffset = PrefixLength + Number.size(); // Drop '%bb.<id>' in maybeLexMachineBasicBlock() local 324 ++StringOffset; in maybeLexMachineBasicBlock() 332 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexMachineBasicBlock() 359 unsigned StringOffset = Rule.size() + Number.size(); in maybeLexIndexAndName() local 362 ++StringOffset; in maybeLexIndexAndName() 368 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexIndexAndName()
|
| /freebsd-14.2/contrib/llvm-project/lld/MachO/ |
| H A D | SyntheticSections.h | 558 struct StringOffset { struct 562 explicit StringOffset(uint8_t zeros) : trailingZeros(zeros) {} in StringOffset() function 565 StringOffset getStringOffset(StringRef str) const; 568 llvm::DenseMap<llvm::CachedHashStringRef, StringOffset> stringOffsetMap;
|
| H A D | SyntheticSections.cpp | 1667 std::make_pair(s, StringOffset(trailingZeros))); in finalizeContents() 1682 StringOffset &offsetInfo = it->second; in finalizeContents() 1704 DeduplicatedCStringSection::StringOffset
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFAcceleratorTable.cpp | 183 uint64_t StringOffset = AccelSection.getRelocatedValue(4, DataOffset); in dumpName() local 184 if (!StringOffset) in dumpName() 188 W.startLine() << format("String: 0x%08" PRIx64, StringOffset); in dumpName() 189 W.getOStream() << " \"" << StringSection.getCStr(&StringOffset) << "\"\n"; in dumpName() 728 uint64_t StringOffset = in getNameTableEntry() local 732 return {Section.StringSection, Index, StringOffset, EntryOffset}; in getNameTableEntry()
|
| H A D | DWARFVerifier.cpp | 1052 uint64_t StringOffset; in verifyAppleAccelTable() local 1066 StringOffset = StrpOffset; in verifyAppleAccelTable() 1067 const char *Name = StrData->getCStr(&StringOffset); in verifyAppleAccelTable()
|
| H A D | DWARFContext.cpp | 885 uint64_t StringOffset = in dumpStringOffsetsSection() local 887 OS << format("%0*" PRIx64 " ", OffsetDumpWidth, StringOffset); in dumpStringOffsetsSection() 888 const char *S = StrData.getCStr(&StringOffset); in dumpStringOffsetsSection()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | DiagnosticIDs.cpp | 132 uint32_t StringOffset = StaticDiagInfoDescriptionOffsets[MyIndex]; in getDescription() local 134 return StringRef(&Table[StringOffset], DescriptionLen); in getDescription()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/ |
| H A D | DWARFStreamer.h | 93 void emitStringOffsets(const SmallVector<uint64_t> &StringOffset,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.cpp | 1061 uint32_t StringOffset = 0; in emitBTFSection() local 1063 OS.AddComment("string offset=" + std::to_string(StringOffset)); in emitBTFSection() 1066 StringOffset += S.size() + 1; in emitBTFSection()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | Expr.cpp | 1311 unsigned StringOffset = 0; in getLocationOfByte() local 1315 StringOffset = *StartTokenByteOffset; in getLocationOfByte() 1316 ByteNo -= StringOffset; in getLocationOfByte() 1334 *StartTokenByteOffset = StringOffset; in getLocationOfByte() 1360 *StartTokenByteOffset = StringOffset; in getLocationOfByte() 1367 StringOffset += TokNumBytes; in getLocationOfByte()
|