Searched refs:AllocatorT (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | tsd_test.cpp | 75 using AllocatorT = MockAllocator<OneCache>; in TEST() typedef 76 auto Deleter = [](AllocatorT *A) { in TEST() 80 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in TEST() 90 auto Deleter = [](AllocatorT *A) { in testRegistry() 94 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in testRegistry() 130 template <typename AllocatorT> static void stressCache(AllocatorT *Allocator) { in stressCache() 158 auto Deleter = [](AllocatorT *A) { in testRegistryThreaded() 162 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in testRegistryThreaded() 212 using AllocatorT = MockAllocator<SharedCaches>; in TEST() typedef 213 auto Deleter = [](AllocatorT *A) { in TEST() [all …]
|
| H A D | combined_test.cpp | 35 template <class AllocatorT> 43 return AllocatorT::PrimaryT::canAllocate(NeededSize); in isPrimaryAllocation() 46 template <class AllocatorT> 58 if (isPrimaryAllocation<AllocatorT>(Size, Alignment) in checkMemoryTaggingMaybe() 91 Allocator = std::make_unique<AllocatorT>(); in ScudoCombinedTest() 102 using AllocatorT = TestAllocator<TypeParam>; typedef 103 std::unique_ptr<AllocatorT> Allocator; 534 using AllocatorT = TestAllocator<DeathConfig>; in TEST() typedef 535 auto Allocator = std::unique_ptr<AllocatorT>(new AllocatorT()); in TEST() 569 using AllocatorT = TestAllocator<DeathConfig>; in TEST() typedef [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/benchmarks/ |
| H A D | malloc_benchmark.cpp | 24 using AllocatorT = scudo::Allocator<Config, PostInitCallback<Config>>; in BM_malloc_free() typedef 25 auto Deleter = [](AllocatorT *A) { in BM_malloc_free() 29 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in BM_malloc_free() 64 using AllocatorT = scudo::Allocator<Config, PostInitCallback<Config>>; in BM_malloc_free_loop() typedef 65 auto Deleter = [](AllocatorT *A) { in BM_malloc_free_loop() 69 std::unique_ptr<AllocatorT, decltype(Deleter)> Allocator(new AllocatorT, in BM_malloc_free_loop()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/fuzz/ |
| H A D | get_error_info_fuzzer.cpp | 19 using AllocatorT = scudo::Allocator<scudo::AndroidConfig>; in LLVMFuzzerTestOneInput() typedef 42 std::vector<char> RegionInfo(AllocatorT::getRegionInfoArraySize(), 0); in LLVMFuzzerTestOneInput() 49 std::vector<char> RingBuffer(AllocatorT::getRingBufferSize(), 0); in LLVMFuzzerTestOneInput() 56 AllocatorT::getErrorInfo(&ErrorInfo, FaultAddr, StackDepot.data(), in LLVMFuzzerTestOneInput()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Allocator.h | 61 template <typename AllocatorT = MallocAllocator, size_t SlabSize = 4096, 64 : public AllocatorBase<BumpPtrAllocatorImpl<AllocatorT, SlabSize, 66 private detail::AllocatorHolder<AllocatorT> { 67 using AllocTy = detail::AllocatorHolder<AllocatorT>; 437 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold, 441 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold, in new() argument 447 template <typename AllocatorT, size_t SlabSize, size_t SizeThreshold, 450 llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, in delete() argument
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | AllocatorList.h | 33 template <class T, class AllocatorT> class AllocatorList : AllocatorT { 50 AllocatorT &getAlloc() { return *this; } in getAlloc() 51 const AllocatorT &getAlloc() const { return *this; } in getAlloc() 133 : AllocatorT(std::move(X.getAlloc())), List(std::move(X.List)) {} in AllocatorList()
|