Home
last modified time | relevance | path

Searched refs:NumEntries (Results 1 – 25 of 59) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DOnDiskHashTable.h74 offset_type NumEntries; variable
126 ++NumEntries; in insert()
127 if (4 * NumEntries >= 3 * NumBuckets) in insert()
166 NumEntries <= 2 ? 1 : llvm::bit_ceil(NumEntries * 4 / 3 + 1); in Emit()
217 LE.write<offset_type>(NumEntries); in Emit()
225 NumEntries = 0; in OnDiskChainedHashTableGenerator()
275 const typename Info::offset_type NumEntries; variable
288 OnDiskChainedHashTable(offset_type NumBuckets, offset_type NumEntries,
292 : NumBuckets(NumBuckets), NumEntries(NumEntries), Buckets(Buckets), in NumBuckets()
309 offset_type NumEntries = in readNumBucketsAndEntries() local
[all …]
H A DDXILABI.h54 NumEntries, enumerator
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map.h40 void reserve(size_type NumEntries) { in reserve() argument
41 auto NumBuckets = getMinBucketToReserveForEntries(NumEntries); in reserve()
56 unsigned NumEntries = getNumEntries(); in clear() local
61 --NumEntries; in clear()
66 CHECK_EQ(NumEntries, 0); in clear()
262 unsigned getMinBucketToReserveForEntries(unsigned NumEntries) { in getMinBucketToReserveForEntries() argument
264 if (NumEntries == 0) in getMinBucketToReserveForEntries()
268 return RoundUpToPowerOfTwo((NumEntries * 4 / 3 + 1) + /* NextPowerOf2 */ 1); in getMinBucketToReserveForEntries()
589 unsigned NumEntries = 0; variable
616 Swap(NumEntries, RHS.NumEntries); in swap()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMap.h123 void reserve(size_type NumEntries) { in reserve() argument
124 auto NumBuckets = getMinBucketToReserveForEntries(NumEntries); in reserve()
149 unsigned NumEntries = getNumEntries(); in clear() local
154 --NumEntries; in clear()
159 assert(NumEntries == 0 && "Node count imbalance!"); in clear()
160 (void)NumEntries; in clear()
448 unsigned getMinBucketToReserveForEntries(unsigned NumEntries) { in getMinBucketToReserveForEntries() argument
450 if (NumEntries == 0) in getMinBucketToReserveForEntries()
454 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries()
786 unsigned NumEntries; variable
[all …]
H A DSmallPtrSet.h116 void reserve(size_type NumEntries) { in reserve() argument
119 if (NumEntries == 0) in reserve()
122 if (isSmall() && NumEntries <= CurArraySize) in reserve()
126 if (!isSmall() && ((NumEntries - 1) * 4) < (CurArraySize * 3)) in reserve()
130 size_type NewSize = NumEntries + (NumEntries / 3); in reserve()
H A DMapVector.h67 void reserve(size_type NumEntries) { in reserve() argument
68 Map.reserve(NumEntries); in reserve()
69 Vector.reserve(NumEntries); in reserve()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DStringMap.cpp22 static inline unsigned getMinBucketToReserveForEntries(unsigned NumEntries) { in getMinBucketToReserveForEntries() argument
24 if (NumEntries == 0) in getMinBucketToReserveForEntries()
28 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DRetireControlUnitStatistics.cpp33 unsigned NumEntries = in onEvent() local
35 EntriesInUse += NumEntries; in onEvent()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DDwarfCFIEHPrinter.h154 unsigned NumEntries = 0; in printEHFrameHdr() local
156 while (Offset + 8 <= EHFramePHdr->p_memsz && NumEntries < FDECount) { in printEHFrameHdr()
157 DictScope D(W, std::string("entry ") + std::to_string(NumEntries)); in printEHFrameHdr()
169 ++NumEntries; in printEHFrameHdr()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEFrameLowering.h57 getCalleeSavedSpillSlots(unsigned &NumEntries) const override { in getCalleeSavedSpillSlots() argument
64 NumEntries = std::size(Offsets); in getCalleeSavedSpillSlots()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_rawprofile.cpp162 const u64 NumEntries = StackIds.Size(); in SerializeMIBInfoToBuffer() local
163 Ptr = WriteBytes(NumEntries, Ptr); in SerializeMIBInfoToBuffer()
164 for (u64 i = 0; i < NumEntries; i++) { in SerializeMIBInfoToBuffer()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DCallSiteInfo.cpp55 uint32_t NumEntries = Data.getU32(&Offset); in decode() local
57 CSI.MatchRegex.reserve(NumEntries); in decode()
58 for (uint32_t i = 0; i < NumEntries; ++i) { in decode()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp781 Sum.NumEntries += Counts.size(); in accumulateCounts()
883 Overlap.Overlap.NumEntries += 1; in overlap()
892 FuncLevelOverlap.Overlap.NumEntries = Other.Counts.size(); in overlap()
1586 Mismatch.NumEntries += 1; in addOneMismatch()
1596 Unique.NumEntries += 1; in addOneUnique()
1618 OS << " # of " << EntryName << " overlap: " << Overlap.NumEntries << "\n"; in dump()
1619 if (Mismatch.NumEntries) in dump()
1620 OS << " # of " << EntryName << " mismatch: " << Mismatch.NumEntries in dump()
1622 if (Unique.NumEntries) in dump()
1624 << " only in test_profile: " << Unique.NumEntries << "\n"; in dump()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp226 size_t NumEntries, in op_write_debug_line_info() argument
232 return WriteDebugLineInfoFunc(Agent, Code, NumEntries, Info); in op_write_debug_line_info()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DHeaderMapTypes.h33 uint32_t NumEntries; // Number of entries in the string table. member
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.h93 const SpillSlot *getCalleeSavedSpillSlots(unsigned &NumEntries) in getCalleeSavedSpillSlots() argument
103 NumEntries = std::size(Offsets); in getCalleeSavedSpillSlots()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DNonRelocatableStringpool.h59 unsigned NumEntries = 0; variable
H A DTargetFrameLowering.h186 getCalleeSavedSpillSlots(unsigned &NumEntries) const { in getCalleeSavedSpillSlots() argument
187 NumEntries = 0; in getCalleeSavedSpillSlots()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DNonRelocatableStringpool.cpp18 Entry.Index = NumEntries++; in getEntry()
H A DSwitchLoweringUtils.cpp151 int64_t NumEntries = j - i + 1; in findJumpTables() local
153 if (NumEntries == 1) in findJumpTables()
155 else if (NumEntries <= SmallNumberOfEntries) in findJumpTables()
157 else if (NumEntries >= MinJumpTableEntries) in findJumpTables()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DMultiOnDiskHashTable.h66 OnDiskTable(file_type File, unsigned NumBuckets, unsigned NumEntries, in OnDiskTable()
70 Table(NumBuckets, NumEntries, Buckets, Payload, Base, InfoObj) {} in OnDiskTable()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DMangle.h266 bool IsUnaligned, uint32_t NumEntries,
269 virtual void mangleCXXCatchableTypeArray(QualType T, uint32_t NumEntries,
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCFrameLowering.h167 getCalleeSavedSpillSlots(unsigned &NumEntries) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFrameLowering.h87 getCalleeSavedSpillSlots(unsigned &NumEntries) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILResourceAccess.cpp125 case dxil::ResourceKind::NumEntries: in createStoreIntrinsic()
195 case dxil::ResourceKind::NumEntries: in createLoadIntrinsic()

123