Searched refs:IndexT (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | CoalescingBitVector.h | 38 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 D | IndexedMap.h | 32 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 D | tsan_dense_alloc.h | 28 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/ByteCode/ |
| H A D | Compiler.cpp | 1736 std::optional<PrimType> IndexT = classify(Index->getType()); in VisitArraySubscriptExpr() local 1738 if (!IndexT) in VisitArraySubscriptExpr() 1742 if (!this->emitFlip(PT_Ptr, *IndexT, E)) in VisitArraySubscriptExpr() 1746 if (!this->emitArrayElemPtrPop(*IndexT, E)) in VisitArraySubscriptExpr() 3296 PrimType IndexT = classifyPrim(ArrayIndexExpr->getType()); in VisitOffsetOfExpr() local 3307 if (IndexT != PT_Sint64) { in VisitOffsetOfExpr() 3308 if (!this->emitCast(IndexT, PT_Sint64, E)) in VisitOffsetOfExpr()
|
| H A D | InterpBuiltin.cpp | 1278 PrimType IndexT = *S.Ctx.classify(Call->getArg(1)); in interp__builtin_ia32_bextr() local 1279 APSInt Index = popToAPSInt(S.Stk, IndexT); in interp__builtin_ia32_bextr() 1309 PrimType IndexT = *S.Ctx.classify(Call->getArg(1)); in interp__builtin_ia32_bzhi() local 1311 APSInt Idx = popToAPSInt(S.Stk, IndexT); in interp__builtin_ia32_bzhi()
|