Home
last modified time | relevance | path

Searched refs:EntrySize (Results 1 – 25 of 40) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DOffloadEmitter.cpp50 if (Doc.EntrySize) in yaml2offload()
51 TheHeader->EntrySize = *Doc.EntrySize; in yaml2offload()
H A DOffloadYAML.cpp54 IO.mapOptional("EntrySize", O.EntrySize); in mapping()
H A DDWARFEmitter.cpp1158 Expected<uint64_t> EntrySize = in writeDWARFLists() local
1160 if (!EntrySize) in writeDWARFLists()
1161 return EntrySize.takeError(); in writeDWARFLists()
1162 Length += *EntrySize; in writeDWARFLists()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringMapEntry.h38 static void *allocateWithKey(size_t EntrySize, size_t EntryAlign,
44 void *StringMapEntryBase::allocateWithKey(size_t EntrySize, size_t EntryAlign, in allocateWithKey() argument
51 size_t AllocSize = EntrySize + KeyLength + 1; in allocateWithKey()
56 char *Buffer = reinterpret_cast<char *>(Allocation) + EntrySize; in allocateWithKey()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSectionELF.h39 unsigned EntrySize; variable
63 Type(type), Flags(flags), UniqueID(UniqueID), EntrySize(entrySize), in MCSectionELF()
82 unsigned getEntrySize() const { return EntrySize; } in getEntrySize()
H A DMCContext.h352 unsigned Flags, unsigned EntrySize,
564 unsigned Flags, unsigned EntrySize) { in getELFSection() argument
565 return getELFSection(Section, Type, Flags, EntrySize, "", false, in getELFSection()
570 unsigned Flags, unsigned EntrySize, in getELFSection() argument
572 return getELFSection(Section, Type, Flags, EntrySize, Group, IsComdat, in getELFSection()
577 unsigned Flags, unsigned EntrySize,
583 unsigned Flags, unsigned EntrySize,
595 unsigned EntrySize = 0);
599 unsigned EntrySize, const MCSymbolELF *Group,
607 unsigned EntrySize);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCContext.cpp584 unsigned EntrySize, in createELFSectionImpl() argument
593 Section, Type, Flags, EntrySize, Group, Comdat, UniqueID, R, LinkedToSym); in createELFSectionImpl()
602 unsigned EntrySize, const MCSymbolELF *Group, in createELFRelSection() argument
609 I->getKey(), Type, Flags, EntrySize, Group, true, true, in createELFRelSection()
616 unsigned EntrySize) { in getELFNamedSection() argument
617 return getELFSection(Prefix + "." + Suffix, Type, Flags, EntrySize, Suffix, in getELFNamedSection()
622 unsigned Flags, unsigned EntrySize, in getELFSection() argument
630 return getELFSection(Section, Type, Flags, EntrySize, GroupSym, IsComdat, in getELFSection()
635 unsigned Flags, unsigned EntrySize, in getELFSection() argument
678 createELFSectionImpl(CachedName, Type, Flags, EntrySize, GroupSym, in getELFSection()
[all …]
H A DMCSectionELF.cpp182 if (EntrySize) { in printSwitchToSection()
184 OS << "," << EntrySize; in printSwitchToSection()
H A DELFObjectWriter.cpp207 MaybeAlign Alignment, uint64_t EntrySize);
505 unsigned EntrySize = is64Bit() ? ELF::SYMENTRY_SIZE64 : ELF::SYMENTRY_SIZE32; in computeSymbolTable() local
507 Ctx.getELFSection(".symtab", ELF::SHT_SYMTAB, 0, EntrySize); in computeSymbolTable()
698 unsigned EntrySize; in createRelocationSection() local
700 EntrySize = is64Bit() ? sizeof(ELF::Elf64_Rela) : sizeof(ELF::Elf32_Rela); in createRelocationSection()
702 EntrySize = is64Bit() ? sizeof(ELF::Elf64_Rel) : sizeof(ELF::Elf32_Rel); in createRelocationSection()
707 EntrySize, Sec.getGroup(), &Sec); in createRelocationSection()
788 uint64_t EntrySize) { in writeSectionHeaderEntry() argument
798 writeWord(EntrySize); // sh_entsize in writeSectionHeaderEntry()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchAsmPrinter.cpp272 unsigned EntrySize = LAFI->getJumpInfoSize(); in emitJumpTableInfo() local
275 if (!JTI || 0 == EntrySize) in emitJumpTableInfo()
287 for (unsigned Idx = 0; Idx < EntrySize; ++Idx) { in emitJumpTableInfo()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfStringPool.cpp59 unsigned EntrySize = Asm.getDwarfOffsetByteSize(); in emitStringOffsetsTableHeader() local
64 Asm.emitDwarfUnitLength(getNumIndexedStrings() * EntrySize + 4, in emitStringOffsetsTableHeader()
H A DCodeViewDebug.h143 codeview::JumpTableEntrySize EntrySize; member
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DOffloadBundle.cpp87 uint64_t EntrySize; in readEntries() local
95 if (auto EC = Reader.readInteger(EntrySize)) in readEntries()
105 EntryOffset + SectionOffset, EntrySize, EntryIDSize, EntryID); in readEntries()
H A DOffloadBinary.cpp193 TheHeader->EntrySize > TheHeader->Size - sizeof(Header)) in create()
231 TheHeader.EntrySize = sizeof(Entry); in write()
H A DCOFFObjectFile.cpp2184 uint16_t EntrySize = getEntrySize(); in validate() local
2186 (Index + EntrySize + 1 < RelocsSize && !getReloc(EntrySize))) in validate()
2189 if (Index + EntrySize > RelocsSize) in validate()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DOffloadYAML.h43 std::optional<uint64_t> EntrySize;
44 std::optional<uint64_t> EntrySize; global() member
/freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/windows/
H A DDirectoryWatcher-windows.cpp102 size_t EntrySize = sizeof(FILE_NOTIFY_INFORMATION) + MAX_PATH * sizeof(WCHAR); in DirectoryWatcherWindows() local
103 Notifications.resize((4 * EntrySize) / sizeof(DWORD)); in DirectoryWatcherWindows()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp635 unsigned EntrySize, bool UniqueSectionName, in getELFSectionNameForGlobal() argument
647 Name += utostr(EntrySize); in getELFSectionNameForGlobal()
652 Name += utostr(EntrySize); in getELFSectionNameForGlobal()
708 unsigned &EntrySize, unsigned &NextUniqueID, in calcUniqueIDUpdateFlagsAndSize() argument
743 EntrySize = 0; in calcUniqueIDUpdateFlagsAndSize()
763 Ctx.getELFUniqueIDForEntsize(SectionName, Flags, EntrySize); in calcUniqueIDUpdateFlagsAndSize()
773 GO, Kind, Mang, TM, EntrySize, false, /*MJTE=*/nullptr); in calcUniqueIDUpdateFlagsAndSize()
835 unsigned EntrySize = getEntrySizeForKind(Kind); in selectExplicitSectionGlobal() local
837 GO, SectionName, Kind, TM, Ctx, Mang, Flags, EntrySize, NextUniqueID, in selectExplicitSectionGlobal()
842 SectionName, getELFSectionType(SectionName, Kind), Flags, EntrySize, in selectExplicitSectionGlobal()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DOffloadBinary.h115 uint64_t EntrySize; // Size of the metadata entry in bytes. member
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMAsmPrinter.cpp1133 codeview::JumpTableEntrySize EntrySize; in getCodeViewJumpTableInfo() local
1141 EntrySize = codeview::JumpTableEntrySize::UInt32; in getCodeViewJumpTableInfo()
1147 EntrySize = codeview::JumpTableEntrySize::UInt16ShiftLeft; in getCodeViewJumpTableInfo()
1155 EntrySize = codeview::JumpTableEntrySize::UInt8ShiftLeft; in getCodeViewJumpTableInfo()
1163 EntrySize = codeview::JumpTableEntrySize::Pointer; in getCodeViewJumpTableInfo()
1169 return std::make_tuple(BaseLabel, BaseOffset, BranchLabel, EntrySize); in getCodeViewJumpTableInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsInstructionSelector.cpp362 unsigned EntrySize = in select() local
364 assert(isPowerOf2_32(EntrySize) && in select()
371 .addImm(Log2_32(EntrySize)); in select()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp79 Shdr.sh_entsize = Sec.EntrySize; in writeShdr()
101 Sec.EntrySize = sizeof(Elf_Sym); in visit()
102 Sec.Size = Sec.Symbols.size() * Sec.EntrySize; in visit()
126 Sec.EntrySize = Sec.Type == SHT_REL ? sizeof(Elf_Rel) : sizeof(Elf_Rela); in visit()
127 Sec.Size = Sec.Relocations.size() * Sec.EntrySize; in visit()
736 Size += this->EntrySize; in addSymbol()
772 Size = Symbols.size() * EntrySize; in removeSymbols()
1813 Sec->EntrySize = Shdr.sh_entsize; in readSectionHeaders()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcombined.h1589 uptr EntrySize = atomic_load_relaxed(&Entry->AllocationSize); in getRingBufferErrorInfo() local
1599 if (FaultAddr < EntryPtr || FaultAddr >= EntryPtr + EntrySize) in getRingBufferErrorInfo()
1607 FaultAddr >= EntryPtr + EntrySize + getPageSizeCached()) in getRingBufferErrorInfo()
1634 R->allocation_size = EntrySize; in getRingBufferErrorInfo()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp365 static std::string formatJumpTableEntrySize(JumpTableEntrySize EntrySize) { in formatJumpTableEntrySize() argument
366 switch (EntrySize) { in formatJumpTableEntrySize()
379 return formatUnknownEnum(EntrySize); in formatJumpTableEntrySize()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVLegalizerInfo.cpp756 unsigned EntrySize = MJTI->getEntrySize(MF.getDataLayout()); in legalizeBRJT() local
763 if (!isPowerOf2_32(EntrySize)) in legalizeBRJT()
766 auto ShiftAmt = MIRBuilder.buildConstant(IndexTy, Log2_32(EntrySize)); in legalizeBRJT()
773 EntrySize, Align(MJTI->getEntryAlignment(MF.getDataLayout()))); in legalizeBRJT()

12