HomeSort by relevance Sort by last modified time
    Searched defs:Buckets (Results 1 - 5 of 5) sorted by null

  /external/llvm/include/llvm/Analysis/
DominatorInternals.h 181 // Instead of using a bucket per vertex, we use a single array Buckets that
183 // Buckets[i] stores the index of the first element in V's bucket. After V's
184 // bucket is processed, Buckets[i] stores the index of the next element in the
186 SmallVector<unsigned, 32> Buckets;
187 Buckets.resize(N + 1);
189 Buckets[i] = i;
197 for (unsigned j = i; Buckets[j] != i; j = Buckets[j]) {
198 typename GraphT::NodeType* V = DT.Vertex[Buckets[j]];
225 Buckets[i] = Buckets[WInfo.Semi]
    [all...]
  /external/llvm/lib/Support/
FoldingSet.cpp 187 /// The problem with this is that the start of the hash buckets are not
208 static void **GetBucketFor(unsigned Hash, void **Buckets, unsigned NumBuckets) {
211 return Buckets + BucketNum;
216 void **Buckets = static_cast<void**>(calloc(NumBuckets+1, sizeof(void*)));
218 Buckets[NumBuckets] = reinterpret_cast<void*>(-1);
219 return Buckets;
229 Buckets = AllocateBuckets(NumBuckets);
233 free(Buckets);
237 memset(Buckets, 0, NumBuckets*sizeof(void*));
240 Buckets[NumBuckets] = reinterpret_cast<void*>(-1)
    [all...]
  /external/llvm/include/llvm/ADT/
DenseMap.h 42 BucketT *Buckets;
68 for (BucketT *P = Buckets, *E = Buckets+NumBuckets; P != E; ++P) {
76 memset((void*)Buckets, 0x5a, sizeof(BucketT)*NumBuckets);
78 operator delete(Buckets);
86 return empty() ? end() : iterator(Buckets, Buckets+NumBuckets);
89 return iterator(Buckets+NumBuckets, Buckets+NumBuckets);
92 return empty() ? end() : const_iterator(Buckets, Buckets+NumBuckets)
    [all...]
FoldingSet.h 35 /// "buckets" are actually the nodes themselves (the next pointer is in the
106 /// structure is an array of buckets. Each bucket is indexed by the hash of
113 /// Buckets - Array of bucket chains.
115 void **Buckets;
117 /// NumBuckets - Length of the Buckets array. Always a power of 2.
122 /// is greater than twice the number of buckets.
409 iterator begin() { return iterator(Buckets); }
410 iterator end() { return iterator(Buckets+NumBuckets); }
413 const_iterator begin() const { return const_iterator(Buckets); }
414 const_iterator end() const { return const_iterator(Buckets+NumBuckets);
    [all...]
  /external/clang/include/clang/Basic/
OnDiskHashTable.h 141 Bucket* Buckets;
156 for (Item* E = Buckets[i].head; E ; ) {
163 free(Buckets);
165 Buckets = newBuckets;
181 insert(Buckets, NumBuckets, new (BA.Allocate<Item>()) Item(key, data,
195 Bucket& B = Buckets[i];
220 for (unsigned i = 0; i < NumBuckets; ++i) Emit32(out, Buckets[i].off);
230 Buckets = (Bucket*) std::calloc(NumBuckets, sizeof(Bucket));
234 std::free(Buckets);
242 const unsigned char* const Buckets;
    [all...]

Completed in 5730 milliseconds