Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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 : NextPowerOf2(NumEntries * 4 / 3); 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()
308 offset_type NumEntries = in readNumBucketsAndEntries() local
[all …]
/openbsd-src/gnu/llvm/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()
279 unsigned getMinBucketToReserveForEntries(unsigned NumEntries) { in getMinBucketToReserveForEntries() argument
281 if (NumEntries == 0) in getMinBucketToReserveForEntries()
285 return RoundUpToPowerOfTwo((NumEntries * 4 / 3 + 1) + /* NextPowerOf2 */ 1); in getMinBucketToReserveForEntries()
577 unsigned NumEntries = 0; variable
604 Swap(NumEntries, RHS.NumEntries); in swap()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/tests/
H A Dcompression.cpp137 void runPackUnpack(uintptr_t *Test, size_t NumEntries) { in runPackUnpack() argument
140 static_cast<uintptr_t *>(alloca(NumEntries * sizeof(uintptr_t))); in runPackUnpack()
141 size_t CompressedBufferSize = NumEntries * kBytesForLargestVarInt; in runPackUnpack()
147 pack(Test, NumEntries, Compressed, CompressedBufferSize); in runPackUnpack()
152 EXPECT_EQ(NumEntries, in runPackUnpack()
153 unpack(Compressed, BytesUsedForPacking, Uncompressed, NumEntries)); in runPackUnpack()
156 for (size_t i = 0; i < NumEntries; ++i) { in runPackUnpack()
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DDenseMap.h103 void reserve(size_type NumEntries) { in reserve() argument
104 auto NumBuckets = getMinBucketToReserveForEntries(NumEntries); in reserve()
127 unsigned NumEntries = getNumEntries(); in clear() local
132 --NumEntries; in clear()
137 assert(NumEntries == 0 && "Node count imbalance!"); in clear()
138 (void)NumEntries; in clear()
386 unsigned getMinBucketToReserveForEntries(unsigned NumEntries) { in getMinBucketToReserveForEntries() argument
388 if (NumEntries == 0) in getMinBucketToReserveForEntries()
392 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries()
723 unsigned NumEntries; variable
[all …]
H A DMapVector.h65 void reserve(size_type NumEntries) { in reserve() argument
66 Map.reserve(NumEntries); in reserve()
67 Vector.reserve(NumEntries); in reserve()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DStringMap.cpp21 static inline unsigned getMinBucketToReserveForEntries(unsigned NumEntries) { in getMinBucketToReserveForEntries() argument
23 if (NumEntries == 0) in getMinBucketToReserveForEntries()
27 return NextPowerOf2(NumEntries * 4 / 3 + 1); in getMinBucketToReserveForEntries()
/openbsd-src/gnu/llvm/llvm/tools/llvm-mca/Views/
H A DRetireControlUnitStatistics.cpp33 unsigned NumEntries = in onEvent() local
35 EntriesInUse += NumEntries; in onEvent()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_rawprofile.cpp150 const u64 NumEntries = StackIds.Size(); in SerializeMIBInfoToBuffer() local
151 Ptr = WriteBytes(NumEntries, Ptr); in SerializeMIBInfoToBuffer()
153 for (u64 i = 0; i < NumEntries; i++) { in SerializeMIBInfoToBuffer()
/openbsd-src/gnu/llvm/llvm/lib/Target/VE/
H A DVEFrameLowering.h58 getCalleeSavedSpillSlots(unsigned &NumEntries) const override { in getCalleeSavedSpillSlots() argument
65 NumEntries = std::size(Offsets); in getCalleeSavedSpillSlots()
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProf.cpp537 Sum.NumEntries += Counts.size(); in accumulateCounts()
641 Overlap.Overlap.NumEntries += 1; in overlap()
650 FuncLevelOverlap.Overlap.NumEntries = Other.Counts.size(); in overlap()
1248 Mismatch.NumEntries += 1; in addOneMismatch()
1258 Unique.NumEntries += 1; in addOneUnique()
1280 OS << " # of " << EntryName << " overlap: " << Overlap.NumEntries << "\n"; in dump()
1281 if (Mismatch.NumEntries) in dump()
1282 OS << " # of " << EntryName << " mismatch: " << Mismatch.NumEntries in dump()
1284 if (Unique.NumEntries) in dump()
1286 << " only in test_profile: " << Unique.NumEntries << "\n"; in dump()
[all …]
H A DInstrProfWriter.cpp208 Overlap.Overlap.NumEntries += 1; in overlapRecord()
406 uint32_t NumEntries = ProfileSummaryBuilder::DefaultCutoffs.size(); in writeImpl() local
407 uint32_t SummarySize = Summary::getSize(Summary::NumKinds, NumEntries); in writeImpl()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DHeaderMapTypes.h33 uint32_t NumEntries; // Number of entries in the string table. member
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetFrameLowering.h182 getCalleeSavedSpillSlots(unsigned &NumEntries) const { in getCalleeSavedSpillSlots() argument
183 NumEntries = 0; in getCalleeSavedSpillSlots()
H A DNonRelocatableStringpool.h61 unsigned NumEntries = 0; variable
/openbsd-src/gnu/llvm/llvm/include/llvm/Frontend/HLSL/
H A DHLSLResource.h54 NumEntries, enumerator
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp149 int64_t NumEntries = j - i + 1; in findJumpTables() local
151 if (NumEntries == 1) in findJumpTables()
153 else if (NumEntries <= SmallNumberOfEntries) in findJumpTables()
155 else if (NumEntries >= MinJumpTableEntries) in findJumpTables()
H A DNonRelocatableStringpool.cpp23 Entry.Index = NumEntries++; in getEntry()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.h90 const SpillSlot *getCalleeSavedSpillSlots(unsigned &NumEntries) in getCalleeSavedSpillSlots() argument
100 NumEntries = std::size(Offsets); in getCalleeSavedSpillSlots()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/
H A DDXILResource.cpp128 case Kinds::NumEntries: in printComponentType()
135 case Kinds::NumEntries: in getKindName()
210 case Kinds::NumEntries: in printKind()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMFrameLowering.h80 getCalleeSavedSpillSlots(unsigned &NumEntries) const override;
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DMangle.h262 bool IsUnaligned, uint32_t NumEntries,
265 virtual void mangleCXXCatchableTypeArray(QualType T, uint32_t NumEntries,
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCFrameLowering.h169 getCalleeSavedSpillSlots(unsigned &NumEntries) const override;

12