Home
last modified time | relevance | path

Searched refs:IndexT (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DCoalescingBitVector.h49 using IntervalT = std::pair<IndexT, IndexT>;
97 void set(IndexT Index) { in set()
135 void reset(IndexT Index) { in reset()
144 IndexT Start = It.start(); in reset()
148 IndexT Stop = It.stop(); in reset()
255 IndexT CachedStart = IndexT();
256 IndexT CachedStop = IndexT();
260 CachedStart = IndexT(); in setToEnd()
261 CachedStop = IndexT(); in setToEnd()
399 void insert(IndexT Start, IndexT End) { Intervals.insert(Start, End, 0); } in insert()
[all …]
H A DIndexedMap.h31 using IndexT = typename ToIndexT::argument_type; variable
46 typename StorageT::reference operator[](IndexT n) {
51 typename StorageT::const_reference operator[](IndexT n) const {
68 void grow(IndexT n) { in grow()
74 bool inBounds(IndexT n) const { in inBounds()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_dense_alloc.h28 typedef u32 IndexT; typedef
30 IndexT cache[kSize];
39 typedef typename Cache::IndexT IndexT; typedef
68 IndexT Alloc(Cache *c) { in Alloc()
74 void Free(Cache *c, IndexT idx) { in Free()
81 T *Map(IndexT idx) { in Map()
93 *(IndexT*)Map(idx) = freelist_; in FlushCache()
110 IndexT freelist_ = {0};
138 IndexT idx = freelist_; in Refill()
140 freelist_ = *(IndexT*)Map(idx); in Refill()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_dense_alloc.h28 typedef u32 IndexT; typedef
30 IndexT cache[kSize];
39 typedef typename Cache::IndexT IndexT; typedef
68 IndexT Alloc(Cache *c) { in Alloc()
74 void Free(Cache *c, IndexT idx) { in Free()
81 T *Map(IndexT idx) { in Map()
121 IndexT next;
122 IndexT batch;
132 IndexT idx; in Refill()
136 idx = static_cast<IndexT>(cmp); in Refill()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_dense_alloc_test.cpp27 typedef Alloc::IndexT IndexT; in TEST() typedef
34 IndexT blocks[N]; in TEST()
37 IndexT idx = alloc.Alloc(&cache); in TEST()
45 IndexT idx = blocks[i]; in TEST()
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/variant/variant.variant/
H A Dvariant_size.pass.cpp58 using IndexT = std::__variant_index_t<Lim::max()-1>; in test_index_internals() typedef
59 using IndexLim = std::numeric_limits<IndexT>; in test_index_internals()
60 static_assert(std::__variant_npos<IndexT> == IndexLim::max(), ""); in test_index_internals()