| /llvm-project-15.0.7/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()));
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFAcceleratorTable.h | 360 uint64_t StringOffset; variable 365 uint64_t StringOffset, uint64_t EntryOffset) in NameTableEntry() argument 366 : StrData(StrData), Index(Index), StringOffset(StringOffset), in NameTableEntry() 373 uint64_t getStringOffset() const { return StringOffset; } in getStringOffset() 378 uint64_t Off = StringOffset; in getString()
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | OffloadBinary.h | 118 uint64_t StringOffset; // Offset in bytes to the string map. member 135 reinterpret_cast<const StringEntry *>(&Buffer[TheEntry->StringOffset]); in OffloadBinary()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFAcceleratorTable.cpp | 172 uint64_t StringOffset = AccelSection.getRelocatedValue(4, DataOffset); in dumpName() local 173 if (!StringOffset) in dumpName() 177 W.startLine() << format("String: 0x%08" PRIx64, StringOffset); in dumpName() 178 W.getOStream() << " \"" << StringSection.getCStr(&StringOffset) << "\"\n"; in dumpName() 353 uint64_t StringOffset = AccelSection.getRelocatedValue(4, &DataOffset); in equal_range() local 354 if (!StringOffset) in equal_range() 358 if (Key == StringSection.getCStr(&StringOffset)) in equal_range() 645 uint64_t StringOffset = in getNameTableEntry() local 649 return {Section.StringSection, Index, StringOffset, EntryOffset}; in getNameTableEntry()
|
| H A D | DWARFVerifier.cpp | 1030 uint64_t StringOffset; in verifyAppleAccelTable() local 1044 StringOffset = StrpOffset; in verifyAppleAccelTable() 1045 const char *Name = StrData->getCStr(&StringOffset); in verifyAppleAccelTable()
|
| H A D | DWARFContext.cpp | 206 uint64_t StringOffset = in dumpStringOffsetsSection() local 208 OS << format("%0*" PRIx64 " ", OffsetDumpWidth, StringOffset); in dumpStringOffsetsSection() 209 const char *S = StrData.getCStr(&StringOffset); in dumpStringOffsetsSection()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | OffloadBinary.cpp | 48 TheEntry->StringOffset > Buf.getBufferSize()) in create() 88 TheEntry.StringOffset = sizeof(Header) + sizeof(Entry); in write()
|
| H A D | Archive.cpp | 270 std::size_t StringOffset; in getName() local 271 if (Name.substr(1).rtrim(' ').getAsInteger(10, StringOffset)) { in getName() 285 if (StringOffset >= Parent->getStringTable().size()) { in getName() 288 return malformedError("long name offset " + Twine(StringOffset) + in getName() 297 size_t End = Parent->getStringTable().find('\n', /*From=*/StringOffset); in getName() 301 Twine(StringOffset) + "not terminated"); in getName() 303 return Parent->getStringTable().slice(StringOffset, End - 1); in getName() 305 return Parent->getStringTable().begin() + StringOffset; in getName()
|
| H A D | ArchiveWriter.cpp | 428 for (unsigned StringOffset : M.Symbols) { in writeSymbolTable() local 430 printNBits(Out, Kind, StringOffset); in writeSymbolTable()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/ |
| H A D | MILexer.cpp | 310 unsigned StringOffset = PrefixLength + Number.size(); // Drop '%bb.<id>' in maybeLexMachineBasicBlock() local 316 ++StringOffset; in maybeLexMachineBasicBlock() 324 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexMachineBasicBlock() 351 unsigned StringOffset = Rule.size() + Number.size(); in maybeLexIndexAndName() local 354 ++StringOffset; in maybeLexIndexAndName() 360 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexIndexAndName()
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | SyntheticSections.h | 538 struct StringOffset { struct 542 explicit StringOffset(uint8_t zeros) : trailingZeros(zeros) {} in StringOffset() argument 544 llvm::DenseMap<llvm::CachedHashStringRef, StringOffset> stringOffsetMap;
|
| H A D | SyntheticSections.cpp | 1519 std::make_pair(s, StringOffset(trailingZeros))); in finalizeContents() 1534 StringOffset &offsetInfo = it->second; in finalizeContents()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | DiagnosticIDs.cpp | 131 uint32_t StringOffset = StaticDiagInfoDescriptionOffsets[MyIndex]; in getDescription() local 133 return StringRef(&Table[StringOffset], DescriptionLen); in getDescription()
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.cpp | 1022 uint32_t StringOffset = 0; in emitBTFSection() local 1024 OS.AddComment("string offset=" + std::to_string(StringOffset)); in emitBTFSection() 1027 StringOffset += S.size() + 1; in emitBTFSection()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Expr.cpp | 1242 unsigned StringOffset = 0; in getLocationOfByte() local 1246 StringOffset = *StartTokenByteOffset; in getLocationOfByte() 1247 ByteNo -= StringOffset; in getLocationOfByte() 1265 *StartTokenByteOffset = StringOffset; in getLocationOfByte() 1291 *StartTokenByteOffset = StringOffset; in getLocationOfByte() 1298 StringOffset += TokNumBytes; in getLocationOfByte()
|