Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfAccelTable.cpp101 Buckets.resize(Header.bucket_count); in FinalizeTable()
104 Buckets[bucket].push_back(Data[i]); in FinalizeTable()
140 for (size_t i = 0, e = Buckets.size(); i < e; ++i) { in EmitBuckets()
142 if (Buckets[i].size() != 0) in EmitBuckets()
146 index += Buckets[i].size(); in EmitBuckets()
153 for (size_t i = 0, e = Buckets.size(); i < e; ++i) { in EmitHashes()
154 for (HashList::const_iterator HI = Buckets[i].begin(), in EmitHashes()
155 HE = Buckets[i].end(); HI != HE; ++HI) { in EmitHashes()
167 for (size_t i = 0, e = Buckets.size(); i < e; ++i) { in EmitOffsets()
168 for (HashList::const_iterator HI = Buckets[i].begin(), in EmitOffsets()
[all …]
DDwarfAccelTable.h266 BucketList Buckets; variable
/external/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**>(calloc(NumBuckets+1, sizeof(void*))); in AllocateBuckets() local
218 Buckets[NumBuckets] = reinterpret_cast<void*>(-1); in AllocateBuckets()
219 return Buckets; in AllocateBuckets()
229 Buckets = AllocateBuckets(NumBuckets); in FoldingSetImpl()
233 free(Buckets); in ~FoldingSetImpl()
237 memset(Buckets, 0, NumBuckets*sizeof(void*)); in clear()
240 Buckets[NumBuckets] = reinterpret_cast<void*>(-1); in clear()
249 void **OldBuckets = Buckets; in GrowHashTable()
[all …]
/external/llvm/include/llvm/Analysis/
DDominatorInternals.h186 SmallVector<unsigned, 32> Buckets; in Calculate() local
187 Buckets.resize(N + 1); in Calculate()
189 Buckets[i] = i; in Calculate()
197 for (unsigned j = i; Buckets[j] != i; j = Buckets[j]) { in Calculate()
198 typename GraphT::NodeType* V = DT.Vertex[Buckets[j]]; in Calculate()
225 Buckets[i] = Buckets[WInfo.Semi]; in Calculate()
226 Buckets[WInfo.Semi] = i; in Calculate()
232 for (unsigned j = 1; Buckets[j] != 1; j = Buckets[j]) { in Calculate()
233 typename GraphT::NodeType* V = DT.Vertex[Buckets[j]]; in Calculate()
/external/clang/include/clang/Basic/
DOnDiskHashTable.h141 Bucket* Buckets; variable
156 for (Item* E = Buckets[i].head; E ; ) { in resize()
163 free(Buckets); in resize()
165 Buckets = newBuckets; in resize()
181 insert(Buckets, NumBuckets, new (BA.Allocate<Item>()) Item(key, data, in insert()
195 Bucket& B = Buckets[i]; in Emit()
221 for (unsigned i = 0; i < NumBuckets; ++i) Emit32(out, Buckets[i].off); in Emit()
231 Buckets = (Bucket*) std::calloc(NumBuckets, sizeof(Bucket)); in OnDiskChainedHashTableGenerator()
235 std::free(Buckets); in ~OnDiskChainedHashTableGenerator()
243 const unsigned char* const Buckets; variable
[all …]
/external/llvm/include/llvm/ADT/
DFoldingSet.h115 void **Buckets;
417 iterator begin() { return iterator(Buckets); } in begin()
418 iterator end() { return iterator(Buckets+NumBuckets); } in end()
421 const_iterator begin() const { return const_iterator(Buckets); } in begin()
422 const_iterator end() const { return const_iterator(Buckets+NumBuckets); } in end()
427 return bucket_iterator(Buckets + (hash & (NumBuckets-1))); in bucket_begin()
431 return bucket_iterator(Buckets + (hash & (NumBuckets-1)), true); in bucket_end()
497 iterator begin() { return iterator(Buckets); } in begin()
498 iterator end() { return iterator(Buckets+NumBuckets); } in end()
501 const_iterator begin() const { return const_iterator(Buckets); } in begin()
[all …]
DDenseMap.h542 BucketT *Buckets; variable
572 operator delete(Buckets); in ~DenseMap()
576 std::swap(Buckets, RHS.Buckets); in swap()
590 operator delete(Buckets);
599 operator delete(Buckets); in copyFrom()
619 BucketT *OldBuckets = Buckets; in grow()
622 assert(Buckets); in grow()
647 operator delete(Buckets); in shrink_and_clear()
667 return Buckets; in getBuckets()
677 Buckets = 0; in allocateBuckets()
[all …]
/external/clang/test/SemaCXX/
D2008-01-11-BadWarning.cpp4 void** f(void **Buckets, unsigned NumBuckets) { in f() argument
5 return Buckets + NumBuckets; in f()
/external/clang/utils/
DclangVisualizers.txt242 expr: $e.Buckets[$i],