| /freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/ |
| H A D | StringToOffsetTable.h | 24 StringMap<unsigned> StringOffset; variable 35 bool empty() const { return StringOffset.empty(); } in empty() 43 auto II = StringOffset.find(Str); in GetStringOffset() 44 if (II == StringOffset.end()) in GetStringOffset()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFAcceleratorTable.h | 548 uint64_t StringOffset; variable 553 uint64_t StringOffset, uint64_t EntryOffset) in NameTableEntry() argument 554 : StrData(StrData), Index(Index), StringOffset(StringOffset), in NameTableEntry() 561 uint64_t getStringOffset() const { return StringOffset; } in getStringOffset() 566 uint64_t Off = StringOffset; in getString() 577 StringRef Data = StrData.getData().substr(StringOffset); in sameNameAs()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | OffloadBinary.h | 122 uint64_t StringOffset; // Offset in bytes to the string map. member 139 reinterpret_cast<const StringEntry *>(&Buffer[TheEntry->StringOffset]); in OffloadBinary()
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | Archive.cpp | 279 std::size_t StringOffset; in getName() local 280 if (Name.substr(1).rtrim(' ').getAsInteger(10, StringOffset)) { in getName() 294 if (StringOffset >= Parent->getStringTable().size()) { in getName() 297 return malformedError("long name offset " + Twine(StringOffset) + in getName() 306 size_t End = Parent->getStringTable().find('\n', /*From=*/StringOffset); in getName() 310 Twine(StringOffset) + "not terminated"); in getName() 312 return Parent->getStringTable().slice(StringOffset, End - 1); in getName() 314 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 | 628 for (unsigned StringOffset : M.Symbols) { in writeSymbolTable() local 630 printNBits(Out, Kind, StringOffset); in writeSymbolTable()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| H A D | MILexer.cpp | 325 unsigned StringOffset = PrefixLength + Number.size(); // Drop '%bb.<id>' in maybeLexMachineBasicBlock() local 331 ++StringOffset; in maybeLexMachineBasicBlock() 339 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexMachineBasicBlock() 366 unsigned StringOffset = Rule.size() + Number.size(); in maybeLexIndexAndName() local 369 ++StringOffset; in maybeLexIndexAndName() 375 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexIndexAndName()
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | SyntheticSections.h | 575 struct StringOffset { struct 579 explicit StringOffset(uint8_t zeros) : trailingZeros(zeros) {} in StringOffset() function 582 StringOffset getStringOffset(StringRef str) const; 585 llvm::DenseMap<llvm::CachedHashStringRef, StringOffset> stringOffsetMap;
|
| H A D | SyntheticSections.cpp | 1756 std::make_pair(s, StringOffset(trailingZeros))); in finalizeContents() 1770 lld::macho::DeduplicatedCStringSection::StringOffset &offsetInfo = in finalizeContents() 1792 DeduplicatedCStringSection::StringOffset
|
| /freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | StringToOffsetTable.cpp | 18 auto [II, Inserted] = StringOffset.insert({Str, size()}); in GetOrAddStringOffset()
|
| /freebsd/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() 804 uint64_t StringOffset = in getNameTableEntry() local 808 return {Section.StringSection, Index, StringOffset, EntryOffset}; in getNameTableEntry()
|
| H A D | DWARFVerifier.cpp | 1206 uint64_t StringOffset; in verifyAppleAccelTable() local 1220 StringOffset = StrpOffset; in verifyAppleAccelTable() 1221 const char *Name = StrData->getCStr(&StringOffset); in verifyAppleAccelTable()
|
| H A D | DWARFContext.cpp | 882 uint64_t StringOffset = in dumpStringOffsetsSection() local 884 OS << format("%0*" PRIx64 " ", OffsetDumpWidth, StringOffset); in dumpStringOffsetsSection() 885 const char *S = StrData.getCStr(&StringOffset); in dumpStringOffsetsSection()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/ |
| H A D | DWARFStreamer.h | 91 void emitStringOffsets(const SmallVector<uint64_t> &StringOffset,
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | DiagnosticIDs.cpp | 104 uint32_t StringOffset = StaticDiagInfoDescriptionOffsets[MyIndex]; in getDescription() local 106 return StringRef(&Table[StringOffset], DescriptionLen); in getDescription()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.cpp | 1180 uint32_t StringOffset = 0; in emitBTFSection() local 1182 OS.AddComment("string offset=" + std::to_string(StringOffset)); in emitBTFSection() 1185 StringOffset += S.size() + 1; in emitBTFSection()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Expr.cpp | 1342 unsigned StringOffset = 0; in getLocationOfByte() local 1346 StringOffset = *StartTokenByteOffset; in getLocationOfByte() 1347 ByteNo -= StringOffset; in getLocationOfByte() 1364 *StartTokenByteOffset = StringOffset; in getLocationOfByte() 1390 *StartTokenByteOffset = StringOffset; in getLocationOfByte() 1397 StringOffset += TokNumBytes; in getLocationOfByte()
|