Home
last modified time | relevance | path

Searched refs:StringOffset (Results 1 – 16 of 16) sorted by relevance

/freebsd-src/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DStringToOffsetTable.h25 StringMap<unsigned> StringOffset; variable
29 bool Empty() const { return StringOffset.empty(); } in Empty()
33 StringOffset.insert(std::make_pair(Str, AggregateString.size()));
/freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.h546 uint64_t StringOffset;
551 uint64_t StringOffset, uint64_t EntryOffset)
552 : StrData(StrData), Index(Index), StringOffset(StringOffset),
559 uint64_t getStringOffset() const { return StringOffset; }
564 uint64_t Off = StringOffset;
575 StringRef Data = StrData.getData().substr(StringOffset);
513 uint64_t StringOffset; global() variable
518 NameTableEntry(const DataExtractor & StrData,uint32_t Index,uint64_t StringOffset,uint64_t EntryOffset) NameTableEntry() argument
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Object/
H A DOffloadBinary.h119 uint64_t StringOffset; // Offset in bytes to the string map. member
136 reinterpret_cast<const StringEntry *>(&Buffer[TheEntry->StringOffset]); in OffloadBinary()
/freebsd-src/contrib/llvm-project/llvm/lib/Object/
H A DArchive.cpp280 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 DOffloadBinary.cpp203 TheEntry->StringOffset > Buf.getBufferSize()) in create()
242 TheEntry.StringOffset = sizeof(Header) + sizeof(Entry); in write()
H A DArchiveWriter.cpp628 for (unsigned StringOffset : M.Symbols) { in writeSymbolMap()
630 printNBits(Out, Kind, StringOffset); in writeSymbolMap()
598 for (unsigned StringOffset : M.Symbols) { writeSymbolTable() local
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp322 unsigned StringOffset = PrefixLength + Number.size(); // Drop '%bb.<id>' in maybeLexMachineBasicBlock()
328 ++StringOffset; in maybeLexMachineBasicBlock()
336 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexIndex()
363 unsigned StringOffset = Rule.size() + Number.size(); in maybeLexIndexAndName()
366 ++StringOffset; in maybeLexIndexAndName()
372 .setStringValue(Range.upto(C).drop_front(StringOffset)); in maybeLexJumpTableIndex()
318 unsigned StringOffset = PrefixLength + Number.size(); // Drop '%bb.<id>' maybeLexMachineBasicBlock() local
359 unsigned StringOffset = Rule.size() + Number.size(); maybeLexIndexAndName() local
/freebsd-src/contrib/llvm-project/lld/MachO/
H A DSyntheticSections.h573 struct StringOffset {
577 explicit StringOffset(uint8_t zeros) : trailingZeros(zeros) {}
580 StringOffset getStringOffset(StringRef str) const;
583 llvm::DenseMap<llvm::CachedHashStringRef, StringOffset> stringOffsetMap;
558 struct StringOffset { global() struct
562 StringOffsetStringOffset StringOffset() argument
H A DSyntheticSections.cpp1732 std::make_pair(s, StringOffset(trailingZeros))); in finalizeContents()
1747 StringOffset &offsetInfo = it->second; in finalizeContents()
1769 DeduplicatedCStringSection::StringOffset in writeTo()
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.cpp183 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 dumpForeignTUs()
808 return {Section.StringSection, Index, StringOffset, EntryOffset};
728 uint64_t StringOffset = getNameTableEntry() local
H A DDWARFVerifier.cpp1177 uint64_t StringOffset; in verifyNameIndexBuckets()
1191 StringOffset = StrpOffset; in verifyNameIndexBuckets()
1192 const char *Name = StrData->getCStr(&StringOffset); in verifyNameIndexBuckets()
1052 uint64_t StringOffset; verifyAppleAccelTable() local
H A DDWARFContext.cpp886 uint64_t StringOffset = in dumpStringOffsetsSection()
888 OS << format("%0*" PRIx64 " ", OffsetDumpWidth, StringOffset); in dumpStringOffsetsSection()
889 const char *S = StrData.getCStr(&StringOffset); in dumpStringOffsetsSection()
885 uint64_t StringOffset = dumpStringOffsetsSection() local
/freebsd-src/contrib/llvm-project/clang/lib/Basic/
H A DDiagnosticIDs.cpp142 uint32_t StringOffset = StaticDiagInfoDescriptionOffsets[MyIndex]; in operator <()
144 return StringRef(&Table[StringOffset], DescriptionLen); in operator <()
132 uint32_t StringOffset = StaticDiagInfoDescriptionOffsets[MyIndex]; getDescription() local
/freebsd-src/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFStreamer.h90 void emitStringOffsets(const SmallVector<uint64_t> &StringOffset,
/freebsd-src/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1061 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-src/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp1341 unsigned StringOffset = 0; in getLocationOfByte()
1345 StringOffset = *StartTokenByteOffset; in getLocationOfByte()
1346 ByteNo -= StringOffset; in getLocationOfByte()
1364 *StartTokenByteOffset = StringOffset; in getLocationOfByte()
1390 *StartTokenByteOffset = StringOffset; in getOverloadedOpcode()
1397 StringOffset += TokNumBytes; in getOverloadedOpcode()
1311 unsigned StringOffset = 0; getLocationOfByte() local