| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | OnDiskHashTable.h | 74 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 D | DXILABI.h | 54 NumEntries, enumerator
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_dense_map.h | 40 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 D | DenseMap.h | 123 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 D | SmallPtrSet.h | 116 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 D | MapVector.h | 67 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 D | StringMap.cpp | 22 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 D | RetireControlUnitStatistics.cpp | 33 unsigned NumEntries = in onEvent() local 35 EntriesInUse += NumEntries; in onEvent()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | DwarfCFIEHPrinter.h | 154 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 D | VEFrameLowering.h | 57 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 D | memprof_rawprofile.cpp | 162 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 D | CallSiteInfo.cpp | 55 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 D | InstrProf.cpp | 781 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 D | OProfileWrapper.cpp | 226 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 D | HeaderMapTypes.h | 33 uint32_t NumEntries; // Number of entries in the string table. member
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonFrameLowering.h | 93 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 D | NonRelocatableStringpool.h | 59 unsigned NumEntries = 0; variable
|
| H A D | TargetFrameLowering.h | 186 getCalleeSavedSpillSlots(unsigned &NumEntries) const { in getCalleeSavedSpillSlots() argument 187 NumEntries = 0; in getCalleeSavedSpillSlots()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | NonRelocatableStringpool.cpp | 18 Entry.Index = NumEntries++; in getEntry()
|
| H A D | SwitchLoweringUtils.cpp | 151 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 D | MultiOnDiskHashTable.h | 66 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 D | Mangle.h | 266 bool IsUnaligned, uint32_t NumEntries, 269 virtual void mangleCXXCatchableTypeArray(QualType T, uint32_t NumEntries,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCFrameLowering.h | 167 getCalleeSavedSpillSlots(unsigned &NumEntries) const override;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMFrameLowering.h | 87 getCalleeSavedSpillSlots(unsigned &NumEntries) const override;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILResourceAccess.cpp | 125 case dxil::ResourceKind::NumEntries: in createStoreIntrinsic() 195 case dxil::ResourceKind::NumEntries: in createLoadIntrinsic()
|