Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCContext.h352 unsigned EntrySize,
366 unsigned EntrySize; member
368 ELFEntrySizeKey(StringRef SectionName, unsigned Flags, unsigned EntrySize) in ELFEntrySizeKey()
369 : SectionName(SectionName), Flags(Flags), EntrySize(EntrySize) {} in ELFEntrySizeKey()
376 return EntrySize < Other.EntrySize;
543 unsigned Flags, unsigned EntrySize) { in getELFSection() argument
544 return getELFSection(Section, Type, Flags, EntrySize, "", false, in getELFSection()
549 unsigned Flags, unsigned EntrySize, in getELFSection() argument
551 return getELFSection(Section, Type, Flags, EntrySize, Group, IsComdat, in getELFSection()
556 unsigned Flags, unsigned EntrySize,
[all …]
H A DMCSectionELF.h40 unsigned EntrySize; variable
59 UniqueID(UniqueID), EntrySize(entrySize), Group(group, IsComdat), in MCSectionELF()
76 unsigned getEntrySize() const { return EntrySize; } in getEntrySize()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DStringMapEntry.h36 static void *allocateWithKey(size_t EntrySize, size_t EntryAlign,
42 void *StringMapEntryBase::allocateWithKey(size_t EntrySize, size_t EntryAlign, in allocateWithKey() argument
49 size_t AllocSize = EntrySize + KeyLength + 1; in allocateWithKey()
54 char *Buffer = reinterpret_cast<char *>(Allocation) + EntrySize; in allocateWithKey()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCContext.cpp464 unsigned EntrySize, in createELFSectionImpl() argument
487 MCSectionELF(Section, Type, Flags, K, EntrySize, Group, Comdat, UniqueID, in createELFSectionImpl()
499 unsigned Flags, unsigned EntrySize, in createELFRelSection() argument
508 I->getKey(), Type, Flags, SectionKind::getReadOnly(), EntrySize, Group, in createELFRelSection()
515 unsigned EntrySize) { in getELFNamedSection() argument
516 return getELFSection(Prefix + "." + Suffix, Type, Flags, EntrySize, Suffix, in getELFNamedSection()
521 unsigned Flags, unsigned EntrySize, in getELFSection() argument
529 return getELFSection(Section, Type, Flags, EntrySize, GroupSym, IsComdat, in getELFSection()
534 unsigned Flags, unsigned EntrySize, in getELFSection() argument
562 createELFSectionImpl(CachedName, Type, Flags, Kind, EntrySize, GroupSym, in getELFSection()
[all …]
H A DMCSectionELF.cpp167 if (EntrySize) { in PrintSwitchToSection()
169 OS << "," << EntrySize; in PrintSwitchToSection()
H A DELFObjectWriter.cpp207 uint64_t EntrySize);
609 unsigned EntrySize = is64Bit() ? ELF::SYMENTRY_SIZE64 : ELF::SYMENTRY_SIZE32; in computeSymbolTable() local
611 Ctx.getELFSection(".symtab", ELF::SHT_SYMTAB, 0, EntrySize); in computeSymbolTable()
791 unsigned EntrySize; in createRelocationSection() local
793 EntrySize = is64Bit() ? sizeof(ELF::Elf64_Rela) : sizeof(ELF::Elf32_Rela); in createRelocationSection()
795 EntrySize = is64Bit() ? sizeof(ELF::Elf64_Rel) : sizeof(ELF::Elf32_Rel); in createRelocationSection()
803 Flags, EntrySize, Sec.getGroup(), &Sec); in createRelocationSection()
902 uint64_t Alignment, uint64_t EntrySize) { in WriteSecHdrEntry() argument
912 WriteWord(EntrySize); // sh_entsize in WriteSecHdrEntry()
H A DMCAsmStreamer.cpp2353 const MCExpr *EntrySize = MCConstantExpr::create(LengthFieldSize, Ctx); in emitDwarfLineStartLabel() local
2355 MCSymbolRefExpr::create(DebugLineSymTmp, Ctx), EntrySize, Ctx); in emitDwarfLineStartLabel()
/netbsd-src/external/apache2/llvm/dist/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 DWinException.cpp600 const MCExpr *EntrySize = MCConstantExpr::create(16, Ctx); in emitCSpecificHandlerTable() local
601 const MCExpr *EntryCount = MCBinaryExpr::createDiv(LabelDiff, EntrySize, Ctx); in emitCSpecificHandlerTable()
H A DAsmPrinter.cpp2211 unsigned EntrySize = MJTI->getEntrySize(getDataLayout()); in emitJumpTableEntry() local
2212 OutStreamer->emitValue(Value, EntrySize); in emitJumpTableEntry()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp608 unsigned EntrySize, bool UniqueSectionName) { in getELFSectionNameForGlobal() argument
617 std::string SizeSpec = ".rodata.str" + utostr(EntrySize) + "."; in getELFSectionNameForGlobal()
621 Name += utostr(EntrySize); in getELFSectionNameForGlobal()
695 unsigned EntrySize = getEntrySizeForKind(Kind); in selectExplicitSectionGlobal() local
717 EntrySize); in selectExplicitSectionGlobal()
726 GO, Kind, Mang, TM, EntrySize, false); in selectExplicitSectionGlobal()
737 SectionName, Flags, EntrySize); in selectExplicitSectionGlobal()
749 EntrySize = 0; in selectExplicitSectionGlobal()
760 SectionName, getELFSectionType(SectionName, Kind), Flags, EntrySize, in selectExplicitSectionGlobal()
808 unsigned EntrySize = getEntrySizeForKind(Kind); in selectELFSectionForGlobal() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp943 Expected<uint64_t> EntrySize = in writeDWARFLists() local
945 if (!EntrySize) in writeDWARFLists()
946 return EntrySize.takeError(); in writeDWARFLists()
947 Length += *EntrySize; in writeDWARFLists()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/
H A DObject.cpp82 Shdr.sh_entsize = Sec.EntrySize; in writeShdr()
104 Sec.EntrySize = sizeof(Elf_Sym); in visit()
105 Sec.Size = Sec.Symbols.size() * Sec.EntrySize; in visit()
113 Sec.EntrySize = Sec.Type == SHT_REL ? sizeof(Elf_Rel) : sizeof(Elf_Rela); in visit()
114 Sec.Size = Sec.Relocations.size() * Sec.EntrySize; in visit()
751 Size += this->EntrySize; in addSymbol()
786 Size = Symbols.size() * EntrySize; in removeSymbols()
1784 Sec->EntrySize = Shdr.sh_entsize; in readSectionHeaders()
H A DObject.h404 uint32_t EntrySize = 0; variable
671 EntrySize = 4; in SectionIndexSection()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsInstructionSelector.cpp368 unsigned EntrySize = in select() local
370 assert(isPowerOf2_32(EntrySize) && in select()
377 .addImm(Log2_32(EntrySize)); in select()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnit.cpp814 uint8_t EntrySize = getDwarfOffsetByteSize(); in validateContributionSize() local
817 uint64_t ValidationSize = alignTo(Size, EntrySize); in validateContributionSize()
H A DDWARFContext.cpp197 unsigned EntrySize = Contribution->getDwarfOffsetByteSize(); in dumpStringOffsetsSection() local
201 StrOffsetExt.getRelocatedValue(EntrySize, &Offset); in dumpStringOffsetsSection()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp128 void printRVATable(uint64_t TableVA, uint64_t Count, uint64_t EntrySize,
768 uint64_t EntrySize, PrintExtraCB PrintExtra) { in printRVATable() argument
773 Obj->getVaPtr(TableVA + Count * EntrySize - 1, TableEnd)) in printRVATable()
776 for (uintptr_t I = TableStart; I < TableEnd; I += EntrySize) { in printRVATable()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp1515 unsigned EntrySize = getJumpTableEntrySize(); in buildBitSetsFromFunctionsNative() local
1517 GlobalLayout[Functions[I]] = I * EntrySize; in buildBitSetsFromFunctionsNative()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp3510 unsigned EntrySize = in ExpandNode() local
3517 if (llvm::isPowerOf2_32(EntrySize)) in ExpandNode()
3520 DAG.getConstant(llvm::Log2_32(EntrySize), dl, Index.getValueType())); in ExpandNode()
3523 DAG.getConstant(EntrySize, dl, Index.getValueType())); in ExpandNode()
3527 EVT MemVT = EVT::getIntegerVT(*DAG.getContext(), EntrySize * 8); in ExpandNode()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A DMachODump.cpp7895 uint32_t EntrySize = 3 * PointerSize + 2 * sizeof(uint32_t); in printMachOCompactUnwindSection() local
7902 for (unsigned Offset = 0; Offset < Contents.size(); Offset += EntrySize) { in printMachOCompactUnwindSection()
7912 uint32_t EntryIdx = RelocAddress / EntrySize; in printMachOCompactUnwindSection()
7913 uint32_t OffsetInEntry = RelocAddress - EntryIdx * EntrySize; in printMachOCompactUnwindSection()