Home
last modified time | relevance | path

Searched refs:Batch (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h25 void *Batch[MaxCount]; member
29 Batch[0] = Ptr; in init()
38 Batch[Count++] = Ptr; in push_back()
51 Batch[Count + I] = From->Batch[I]; in merge()
134 for (const QuarantineBatch &Batch : List) { in getStats() local
136 TotalBytes += Batch.Size; in getStats()
137 TotalOverheadBytes += Batch.Size - Batch.getQuarantinedSize(); in getStats()
138 TotalQuarantineChunks += Batch.Count; in getStats()
282 CHECK(NumberOfPrefetch <= ARRAY_SIZE(B->Batch)); in doRecycle()
284 PREFETCH(B->Batch[I]); in doRecycle()
[all …]
H A Dlocal_cache.h27 memcpy(Batch, Array, sizeof(Batch[0]) * Count); in setFromArray()
32 Batch[Count++] = P; in add()
35 memcpy(Array, Batch, sizeof(Batch[0]) * Count); in copyToArray()
40 return Batch[I]; in get()
49 CompactPtrT Batch[MaxNumCached]; member
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Drelease_test.cpp137 Batch[Count++] = P; in add()
142 return Batch[I]; in get()
148 scudo::uptr Batch[MaxCount]; member
152 typedef FreeBatch<SizeClassMap> Batch; in testReleaseFreeMemoryToOS() typedef
180 scudo::SinglyLinkedList<Batch> FreeList; in testReleaseFreeMemoryToOS()
182 Batch *CurrentBatch = nullptr; in testReleaseFreeMemoryToOS()
185 CurrentBatch = new Batch; in testReleaseFreeMemoryToOS()
190 if (CurrentBatch->getCount() == Batch::MaxCount) in testReleaseFreeMemoryToOS()
H A Dquarantine_test.cpp32 while (scudo::QuarantineBatch *Batch = Cache->dequeueBatch()) in deallocateCache() local
33 Cb.deallocate(Batch); in deallocateCache()
46 EXPECT_EQ(Into.Batch[0], FakePtr); in TEST()
47 EXPECT_EQ(Into.Batch[1], FakePtr); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSelection.cpp326 auto Batch = ExpandedTokens.take_while([&](const syntax::Token &T) { in test() local
329 assert(!Batch.empty()); in test()
330 ExpandedTokens = ExpandedTokens.drop_front(Batch.size()); in test()
332 update(Result, testChunk(FID, Batch)); in test()
426 testChunk(FileID FID, llvm::ArrayRef<syntax::Token> Batch) const { in testChunk()
427 assert(!Batch.empty()); in testChunk()
428 SourceLocation StartLoc = Batch.front().location(); in testChunk()
438 return testTokenRange(*offsetInSelFile(Batch.front().location()), in testChunk()
439 *offsetInSelFile(Batch.back().location())); in testChunk()
445 for (SourceLocation Loc = Batch.front().location(); Loc.isValid(); in testChunk()
[all …]
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/grammar/
H A DLRGraph.cpp105 auto Batch = AllItems.take_while([AdvancedSymbol, &G](const Item &I) { in nextAvailableKernelItems() local
109 assert(!Batch.empty()); in nextAvailableKernelItems()
110 AllItems = AllItems.drop_front(Batch.size()); in nextAvailableKernelItems()
114 for (const Item &I : Batch) in nextAvailableKernelItems()
/llvm-project-15.0.7/libc/benchmarks/
H A DLibcBenchmark.h209 const auto &Batch = PP.generateBatch(Iterations);
213 for (const auto Parameter : Batch) {
/llvm-project-15.0.7/libcxx/benchmarks/algorithms/
H A Dcommon.h220 const size_t Batch = Count == BatchSize::CountElements in runOpOnCopies() local
223 while (state.KeepRunningBatch(Batch)) { in runOpOnCopies()
/llvm-project-15.0.7/mlir/python/mlir/dialects/linalg/opdsl/ops/
H A Dcore_named_ops.py6 Batch = S.Batch variable
120 def batch_matmul(A=TensorDef(T1, Batch, S.M, S.K), argument
121 B=TensorDef(T2, Batch, S.K, S.N),
122 C=TensorDef(U, Batch, S.M, S.N, output=True)):
136 def quantized_batch_matmul(A=TensorDef(T1, Batch, S.M, S.K), argument
137 B=TensorDef(T2, Batch, S.K, S.N),
140 C=TensorDef(U, Batch, S.M, S.N, output=True)):
183 def batch_matvec(A=TensorDef(T1, Batch, S.M, S.K), argument
184 B=TensorDef(T2, Batch, S.K),
185 C=TensorDef(U, Batch, S.M, output=True)):
/llvm-project-15.0.7/mlir/docs/Dialects/Linalg/
H A D_index.md612 def batchmatmul(A: f32(Batch, M, K), B: f32(K, N)) -> (C: f32(Batch, M, N))
613 """Batch matrix-multiply operation.
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Vector/IR/
H A DVectorOps.td111 *) "parallel": Batch dimensions are iterator type "parallel", and