Home
last modified time | relevance | path

Searched full:maskwords (Results 1 – 18 of 18) sorted by relevance

/llvm-project/llvm/test/tools/obj2yaml/ELF/
H A Dgnu-hash-section.yaml54 # INVALID-NEXT: - Name: .gnu.hash.broken.maskwords
97 MaskWords: 0x0
102 ## Case 3: MaskWords field is broken: it says that the number of entries
104 - Name: .gnu.hash.broken.maskwords
109 MaskWords: 0x1
121 MaskWords: 0x0
133 MaskWords: 0x1
/llvm-project/llvm/test/tools/llvm-readobj/ELF/
H A Dgnuhash.test35 MaskWords: [[MASKWORDS=2]]
283 ## Case A: the 'maskwords' field is set so that the table goes past the end of the file.
284 …N: yaml2obj --docnum=1 -DBITS=64 -DMACHINE=EM_X86_64 -D MASKWORDS=4294967295 %s -o %t.err.maskwords
285 # RUN: llvm-readobj --gnu-hash-table %t.err.maskwords 2>&1 | \
286 # RUN: FileCheck %s -DFILE=%t.err.maskwords -DMASKWORDS=4294967295 -DNBUCKETS=3 --check-prefix=ERR
287 # RUN: llvm-readelf --gnu-hash-table %t.err.maskwords 2>&1 | \
288 # RUN: FileCheck %s -DFILE=%t.err.maskwords -DMASKWORDS=4294967295 -DNBUCKETS=3 --check-prefix=ERR
300 # ERR-NEXT: Num Mask Words: [[MASKWORDS]]
H A Dhash-symbols.test467 ## Case A: the 'maskwords' field is set so that the table goes past the end of the file.
468 # RUN: yaml2obj --docnum=8 -D MASKWORDS=4294967295 %s -o %t.err.maskwords
469 # RUN: llvm-readelf --hash-symbols %t.err.maskwords 2>&1 | \
470 # RUN: FileCheck %s -DFILE=%t.err.maskwords --check-prefix=ERR4
494 MaskWords: [[MASKWORDS=2]]
H A Dhash-histogram.test326 ## Case A: the 'maskwords' field is set so that the GNU hash table goes past the end of the file.
327 # RUN: yaml2obj --docnum=6 -D MASKWORDS=0x80000000 %s -o %t7
351 MaskWords: [[MASKWORDS=1]]
/llvm-project/llvm/include/llvm/ADT/
H A DSmallBitVector.h646 void setBitsInMask(const uint32_t *Mask, unsigned MaskWords = ~0u) {
648 applyMask<true, false>(Mask, MaskWords);
650 getPointer()->setBitsInMask(Mask, MaskWords);
655 void clearBitsInMask(const uint32_t *Mask, unsigned MaskWords = ~0u) {
657 applyMask<false, false>(Mask, MaskWords);
659 getPointer()->clearBitsInMask(Mask, MaskWords);
664 void setBitsNotInMask(const uint32_t *Mask, unsigned MaskWords = ~0u) {
666 applyMask<true, true>(Mask, MaskWords);
668 getPointer()->setBitsNotInMask(Mask, MaskWords);
673 void clearBitsNotInMask(const uint32_t *Mask, unsigned MaskWords = ~0u) {
[all …]
H A DBitVector.h707 void setBitsInMask(const uint32_t *Mask, unsigned MaskWords = ~0u) {
708 applyMask<true, false>(Mask, MaskWords);
713 void clearBitsInMask(const uint32_t *Mask, unsigned MaskWords = ~0u) {
714 applyMask<false, false>(Mask, MaskWords);
719 void setBitsNotInMask(const uint32_t *Mask, unsigned MaskWords = ~0u) {
720 applyMask<true, true>(Mask, MaskWords);
725 void clearBitsNotInMask(const uint32_t *Mask, unsigned MaskWords = ~0u) {
726 applyMask<false, true>(Mask, MaskWords);
803 void applyMask(const uint32_t *Mask, unsigned MaskWords) { in applyMask() argument
805 MaskWords = std::min(MaskWords, (size() + 31) / 32); in applyMask()
[all …]
/llvm-project/llvm/test/tools/llvm-ifs/
H A Dread-elf-dynsym.test91 MaskWords: 2
/llvm-project/offload/plugins-nextgen/common/src/Utils/
H A DELF.cpp121 Filter[(NameHash / ElfClassBits) % HashTab.maskwords]; in getSymbolFromGnuHashTable()
211 sizeof(typename ELFT::Word) * HashTab->maskwords + in getHashTableSymbol()
/llvm-project/llvm/test/tools/yaml2obj/ELF/
H A Dgnu-hash-section.yaml275 MaskWords: 0x3
/llvm-project/llvm/include/llvm/Object/
H A DELFTypes.h582 Elf_Word maskwords;
587 maskwords);
/llvm-project/llvm/tools/obj2yaml/
H A Delf2yaml.cpp1382 uint64_t MaskWords = Data.getU32(Cur); in dumpGnuHashSection()
1388 if (!Cur || (Size < MaskWords * AddrSize + NBuckets * 4) || in dumpGnuHashSection()
1397 S->BloomFilter.emplace(MaskWords); in dumpGnuHashSection()
1367 uint64_t MaskWords = Data.getU32(Cur); dumpGnuHashSection() local
/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp1878 // Write the number of words in the Bloom filter. As above, the "MaskWords" in writeSectionContent()
1880 if (Section.Header->MaskWords) in writeSectionContent()
1881 CBA.write<uint32_t>(*Section.Header->MaskWords, ELFT::Endianness); in writeSectionContent()
H A DELFYAML.cpp1903 IO.mapOptional("MaskWords", E.MaskWords); in mapping()
/llvm-project/lld/ELF/
H A DSyntheticSections.cpp2454 maskWords = 1;
2457 maskWords = NextPowerOf2(numBits / (ctx.arg.wordsize * 8)); in addSymbols()
2461 size += ctx.arg.wordsize * maskWords; // Bloom filter in addSymbols()
2471 write32(ctx, buf + 8, maskWords); in addSymbols()
2480 size_t i = (sym.hash / c) & (maskWords - 1); in addSymbols()
2486 buf += ctx.arg.wordsize * maskWords; in addSymbols()
H A DSyntheticSections.h719 size_t maskWords;
713 size_t maskWords; global() variable
/llvm-project/llvm/lib/CodeGen/
H A DMachineLICM.cpp494 const unsigned MaskWords = (NumRegs + 31) / 32; in ProcessMI()
495 for (unsigned K = 0; K < MaskWords; ++K) { in ProcessMI()
461 const unsigned MaskWords = (NumRegs + 31) / 32; applyBitsNotInRegMaskToRegUnitsMask() local
/llvm-project/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h451 std::optional<llvm::yaml::Hex32> MaskWords; member
/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp2644 (uint64_t)GnuHashTable->maskwords * sizeof(typename ELFT::Off) >= in printHashTable()
2719 W.printNumber("Num Mask Words", GnuHashTable->maskwords); in printGnuHashTable()