Home
last modified time | relevance | path

Searched refs:Buckets (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DOnDiskHashTable.h85 Bucket *Buckets; variable
89 void insert(Bucket *Buckets, size_t Size, Item *E) { in insert() argument
90 Bucket &B = Buckets[E->Hash & (Size - 1)]; in insert()
102 for (Item *E = Buckets[I].Head; E;) { in resize()
109 free(Buckets); in resize()
111 Buckets = NewBuckets; in resize()
130 insert(Buckets, NumBuckets, new (BA.Allocate()) Item(Key, Data, InfoObj)); in insert()
136 for (Item *I = Buckets[Hash & (NumBuckets - 1)].Head; I; I = I->Next) in contains()
173 Bucket &B = Buckets[I]; in Emit()
220 LE.write<offset_type>(Buckets[I].Off); in Emit()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFoldingSet.cpp208 static void **GetBucketFor(unsigned Hash, void **Buckets, unsigned NumBuckets) { in GetBucketFor() argument
211 return Buckets + BucketNum; in GetBucketFor()
216 void **Buckets = static_cast<void**>(safe_calloc(NumBuckets + 1, in AllocateBuckets() local
219 Buckets[NumBuckets] = reinterpret_cast<void*>(-1); in AllocateBuckets()
220 return Buckets; in AllocateBuckets()
232 Buckets = AllocateBuckets(NumBuckets); in FoldingSetBase()
237 : Buckets(Arg.Buckets), NumBuckets(Arg.NumBuckets), NumNodes(Arg.NumNodes) { in FoldingSetBase()
238 Arg.Buckets = nullptr; in FoldingSetBase()
244 free(Buckets); // This may be null if the set is in a moved-from state. in operator =()
245 Buckets = RHS.Buckets; in operator =()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DHashTable.h74 return Map->Buckets[Index];
83 while (Index < Map->Buckets.size()) {
115 HashTable() { Buckets.resize(8); } in HashTable()
117 Buckets.resize(Capacity); in HashTable()
131 Buckets.resize(H->Capacity); in load()
146 if (auto EC = Stream.readInteger(Buckets[P].first)) in load()
151 Buckets[P].second = *Value; in load()
207 Buckets.resize(8); in clear()
213 uint32_t capacity() const { return Buckets.size(); } in capacity()
228 if (Traits.storageKeyToLookupKey(Buckets[I].first) == K) in find_as()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCLoopInstrFormPrep.cpp204 SmallVector<Bucket, 16> &Buckets,
208 bool updateFormPrep(Loop *L, SmallVector<Bucket, 16> &Buckets);
212 bool dispFormPrep(Loop *L, SmallVector<Bucket, 16> &Buckets,
309 SmallVector<Bucket, 16> &Buckets, in addOneCandidate() argument
315 for (auto &B : Buckets) { in addOneCandidate()
325 if (Buckets.size() == MaxCandidateNum) in addOneCandidate()
327 Buckets.push_back(Bucket(LSCEV, MemI)); in addOneCandidate()
335 SmallVector<Bucket, 16> Buckets; in collectCandidates() local
367 addOneCandidate(MemI, LSCEV, Buckets, MaxCandidateNum); in collectCandidates()
369 return Buckets; in collectCandidates()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DDenseMap.h590 BucketT *Buckets; variable
618 operator delete(Buckets); in ~DenseMap()
624 std::swap(Buckets, RHS.Buckets); in swap()
638 operator delete(Buckets);
646 operator delete(Buckets); in copyFrom()
667 BucketT *OldBuckets = Buckets; in grow()
670 assert(Buckets); in grow()
695 operator delete(Buckets); in shrink_and_clear()
715 return Buckets; in getBuckets()
725 Buckets = nullptr; in allocateBuckets()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAccelTable.cpp74 Buckets.resize(BucketCount); in finalize()
77 Buckets[Bucket].push_back(&E.second); in finalize()
83 for (auto &Bucket : Buckets) in finalize()
265 const auto &Buckets = Contents.getBuckets(); in emitOffsets() local
267 for (size_t i = 0, e = Buckets.size(); i < e; ++i) { in emitOffsets()
268 for (auto *Hash : Buckets[i]) { in emitOffsets()
309 const auto &Buckets = Contents.getBuckets(); in emitBuckets() local
311 for (size_t i = 0, e = Buckets.size(); i < e; ++i) { in emitBuckets()
313 if (!Buckets[i].empty()) in emitBuckets()
320 for (auto *HD : Buckets[i]) { in emitBuckets()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DDenseMap.h692 BucketT *Buckets; variable
725 deallocate_buffer(Buckets, sizeof(BucketT) * NumBuckets, alignof(BucketT)); in ~DenseMap()
731 std::swap(Buckets, RHS.Buckets); in swap()
745 deallocate_buffer(Buckets, sizeof(BucketT) * NumBuckets, alignof(BucketT));
753 deallocate_buffer(Buckets, sizeof(BucketT) * NumBuckets, alignof(BucketT)); in copyFrom()
774 BucketT *OldBuckets = Buckets; in grow()
777 assert(Buckets); in grow()
804 deallocate_buffer(Buckets, sizeof(BucketT) * OldNumBuckets, in shrink_and_clear()
827 return Buckets; in getBuckets()
837 Buckets = nullptr; in allocateBuckets()
[all …]
DFoldingSet.h117 void **Buckets;
412 iterator begin() { return iterator(Buckets); } in begin()
413 iterator end() { return iterator(Buckets+NumBuckets); } in end()
417 const_iterator begin() const { return const_iterator(Buckets); } in begin()
418 const_iterator end() const { return const_iterator(Buckets+NumBuckets); } in end()
423 return bucket_iterator(Buckets + (hash & (NumBuckets-1))); in bucket_begin()
427 return bucket_iterator(Buckets + (hash & (NumBuckets-1)), true); in bucket_end()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DPDBStringTableBuilder.cpp178 std::vector<ulittle32_t> Buckets(BucketCount); in writeHashTable() local
187 if (Buckets[Slot] != 0) in writeHashTable()
189 Buckets[Slot] = Offset; in writeHashTable()
194 if (auto EC = Writer.writeArray(ArrayRef<ulittle32_t>(Buckets))) in writeHashTable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DAccelTable.h169 BucketList Buckets; variable
177 ArrayRef<HashList> getBuckets() const { return Buckets; } in getBuckets()
208 assert(Buckets.empty() && "Already finalized!"); in addName()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProfReader.cpp608 const unsigned char *Buckets, const unsigned char *const Payload, in InstrProfReaderIndex() argument
613 Buckets, Payload, Base, in InstrProfReaderIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProfReader.h382 InstrProfReaderIndex(const unsigned char *Buckets,