Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DCoalescingBitVector.h38 template <typename IndexT> class CoalescingBitVector {
39 static_assert(std::is_unsigned<IndexT>::value,
42 using ThisT = CoalescingBitVector<IndexT>;
45 using MapT = IntervalMap<IndexT, char>;
49 using IntervalT = std::pair<IndexT, IndexT>;
97 void set(IndexT Index) { in set()
114 void set(std::initializer_list<IndexT> Indices) { in set()
115 for (IndexT Index : Indices) in set()
120 bool test(IndexT Index) const { in test()
129 void test_and_set(IndexT Index) { in test_and_set()
[all …]
H A DIndexedMap.h32 using IndexT = typename ToIndexT::argument_type;
47 typename StorageT::reference operator[](IndexT n) {
52 typename StorageT::const_reference operator[](IndexT n) const {
69 void grow(IndexT n) { in grow()
75 bool inBounds(IndexT n) const { in inBounds()
31 using IndexT = typename ToIndexT::argument_type; global() variable
/freebsd/contrib/llvm-project/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
45 static_assert((kL1Size * kL2Size) <= (1ull << (sizeof(IndexT) * 8)),
49 static_assert(sizeof(T) > sizeof(IndexT),
68 IndexT Alloc(Cache *c) { in Alloc()
74 void Free(Cache *c, IndexT idx) { in Free()
81 T *Map(IndexT idx) { in Map()
105 for (IndexT l2 = l1 == 0 ? 1 : 0; l2 < kL2Size; l2++) func(&map_[l1][l2]); in ForEach()
121 IndexT next;
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp1295 PrimType IndexT = classifyPrim(Index->getType()); in VisitArraySubscriptExpr() local
1296 return this->emitArrayElemPtrPop(IndexT, E); in VisitArraySubscriptExpr()
2645 PrimType IndexT = classifyPrim(ArrayIndexExpr->getType()); in VisitOffsetOfExpr() local
2656 if (IndexT != PT_Sint64) { in VisitOffsetOfExpr()
2657 if (!this->emitCast(IndexT, PT_Sint64, E)) in VisitOffsetOfExpr()