Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/ADT/
DCoalescingBitVector.h37 template <typename IndexT> class CoalescingBitVector {
38 static_assert(std::is_unsigned<IndexT>::value,
41 using ThisT = CoalescingBitVector<IndexT>;
44 using MapT = IntervalMap<IndexT, char>;
48 using IntervalT = std::pair<IndexT, IndexT>;
96 void set(IndexT Index) { in set()
113 void set(std::initializer_list<IndexT> Indices) { in set()
114 for (IndexT Index : Indices) in set()
119 bool test(IndexT Index) const { in test()
128 void test_and_set(IndexT Index) { in test_and_set()
[all …]
DIndexedMap.h30 using IndexT = typename ToIndexT::argument_type; variable
45 typename StorageT::reference operator[](IndexT n) {
50 typename StorageT::const_reference operator[](IndexT n) const {
67 void grow(IndexT n) { in grow()
73 bool inBounds(IndexT n) const { in inBounds()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_dense_alloc.h30 typedef u32 IndexT; typedef
32 IndexT cache[kSize];
40 typedef typename Cache::IndexT IndexT; typedef
46 CHECK_GE(1ull << (sizeof(IndexT) * 8), kL1Size * kL2Size); in DenseSlabAlloc()
48 CHECK_GE(sizeof(T), sizeof(IndexT)); in DenseSlabAlloc()
61 IndexT Alloc(Cache *c) { in Alloc()
67 void Free(Cache *c, IndexT idx) { in Free()
74 T *Map(IndexT idx) { in Map()
83 IndexT idx = c->cache[--c->pos]; in FlushCache()
84 *(IndexT*)Map(idx) = freelist_; in FlushCache()
[all …]
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_dense_alloc.h29 typedef u32 IndexT; typedef
31 IndexT cache[kSize];
39 typedef typename Cache::IndexT IndexT; typedef
45 CHECK_GE(1ull << (sizeof(IndexT) * 8), kL1Size * kL2Size); in DenseSlabAlloc()
47 CHECK_GE(sizeof(T), sizeof(IndexT)); in DenseSlabAlloc()
61 IndexT Alloc(Cache *c) { in Alloc()
67 void Free(Cache *c, IndexT idx) { in Free()
74 T *Map(IndexT idx) { in Map()
83 IndexT idx = c->cache[--c->pos]; in FlushCache()
84 *(IndexT*)Map(idx) = freelist_; in FlushCache()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Ddynamic_ops_test.cc44 template <typename IndexT, typename DataT>
47 RunR1<IndexT, DataT>({0, 1, 2, 3, 4, 5, 6, 7}, {0}, {5}, {0, 1, 2, 3, 4}); in TestR1()
49 RunR1<IndexT, DataT>({0, 1, 2, 3, 4, 5, 6, 7}, {2}, {3}, {2, 3, 4}); in TestR1()
51 RunR1<IndexT, DataT>({0, 1, 2, 3, 4, 5, 6, 7}, {5}, {3}, {5, 6, 7}); in TestR1()
53 RunR1<IndexT, DataT>({0, 1, 2, 3, 4, 5, 6, 7}, {2}, {0}, {}); in TestR1()
56 template <typename IndexT, typename DataT>
59 RunR1<IndexT, DataT>({0, 1, 2, 3, 4, 5, 6, 7}, {6}, {4}, {4, 5, 6, 7}); in TestR1OOB()
62 template <typename IndexT, typename DataT>
65 RunR2<IndexT, DataT>({{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}, {0, 0}, {2, 2}, in TestR2()
68 RunR2<IndexT, DataT>({{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}, {1, 1}, {2, 1}, in TestR2()
[all …]
/external/llvm-project/compiler-rt/lib/tsan/tests/unit/
Dtsan_dense_alloc_test.cpp26 typedef Alloc::IndexT IndexT; in TEST() typedef
33 IndexT blocks[N]; in TEST()
36 IndexT idx = alloc.Alloc(&cache); in TEST()
44 IndexT idx = blocks[i]; in TEST()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_dense_alloc_test.cc27 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()
/external/llvm/include/llvm/ADT/
DIndexedMap.h32 typedef typename ToIndexT::argument_type IndexT; typedef
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()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DIndexedMap.h30 using IndexT = typename ToIndexT::argument_type; variable
45 typename StorageT::reference operator[](IndexT n) {
50 typename StorageT::const_reference operator[](IndexT n) const {
67 void grow(IndexT n) { in grow()
73 bool inBounds(IndexT n) const { in inBounds()
/external/swiftshader/third_party/subzero/src/
DIceLoopAnalyzer.cpp46 using IndexT = uint32_t; typedef in Ice::LoopAnalyzer
47 static constexpr IndexT UndefinedIndex = 0;
48 static constexpr IndexT FirstDefinedIndex = 1;
65 void visit(IndexT VisitIndex) { Index = LowLink = VisitIndex; } in visit()
67 IndexT getIndex() const { return Index; } in getIndex()
69 void tryLink(IndexT NewLink) { in tryLink()
73 IndexT getLowLink() const { return LowLink; } in getLowLink()
89 IndexT Index;
90 IndexT LowLink;
112 IndexT NextIndex = FirstDefinedIndex;
/external/llvm-project/libcxx/test/libcxx/utilities/variant/variant.variant/
Dvariant_size.pass.cpp62 using IndexT = std::__variant_index_t<Lim::max()-1>; in test_index_internals() typedef
63 using IndexLim = std::numeric_limits<IndexT>; in test_index_internals()
64 static_assert(std::__variant_npos<IndexT> == IndexLim::max(), ""); in test_index_internals()
/external/libcxx/test/libcxx/utilities/variant/variant.variant/
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()
/external/tensorflow/tensorflow/core/kernels/
Deigen_convolution_helpers.h47 template <typename TensorEvaluatorT, typename PacketT, typename IndexT>
54 std::declval<IndexT>(),
59 template <typename TensorEvaluatorT, typename PacketT, typename IndexT>
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.pas1315 procedure Replace(const IndexT: IToken; const Text: IANTLRInterface); overload;
1323 procedure Replace(const IndexT: IToken; const Text: String); overload;
1332 procedure Delete(const IndexT: IToken); overload;
2701 procedure Replace(const IndexT: IToken; const Text: IANTLRInterface); overload; virtual;
2709 procedure Replace(const IndexT: IToken; const Text: String); overload;
2718 procedure Delete(const IndexT: IToken); overload; virtual;
5771 procedure TTokenRewriteStream.Delete(const IndexT: IToken);
5773 Delete(DEFAULT_PROGRAM_NAME, IndexT, IndexT);
5981 procedure TTokenRewriteStream.Replace(const IndexT: IToken;
5984 Replace(DEFAULT_PROGRAM_NAME, IndexT, IndexT, Text);
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_typed_visitor.h2884 template <typename IndexT>
2893 parent_->GetEvaluatedLiteralFor(index).GetFirstElement<IndexT>());
2919 template <typename IndexT>
2928 parent_->GetEvaluatedLiteralFor(index).GetFirstElement<IndexT>());