/llvm-project/libcxx/test/libcxx/utilities/any/ |
H A D | allocator.pass.cpp | 44 struct allocator<Large> { global() struct 45 value_typestd::allocator global() argument 46 size_typestd::allocator global() argument 47 difference_typestd::allocator global() argument 48 propagate_on_container_move_assignmentstd::allocator global() argument 49 is_always_equalstd::allocator global() argument 51 allocatestd::allocator allocate() argument 57 constructstd::allocator construct() argument 62 destroystd::allocator destroy() argument 67 deallocatestd::allocator deallocate() argument 74 struct allocator<Small> { global() struct 75 value_typestd::allocator global() argument 76 size_typestd::allocator global() argument 77 difference_typestd::allocator global() argument 78 propagate_on_container_move_assignmentstd::allocator global() argument 79 is_always_equalstd::allocator global() argument 81 allocatestd::allocator allocate() argument 84 constructstd::allocator construct() argument 89 destroystd::allocator destroy() argument 94 deallocatestd::allocator deallocate() argument
|
/llvm-project/llvm/unittests/ADT/ |
H A D | IntervalMapTest.cpp | 23 UUMap::Allocator allocator; in TEST() local 57 UUMap::Allocator allocator; in TEST() local 67 UUMap::Allocator allocator; in TEST() local 168 UUHalfOpenMap::Allocator allocator; in TEST() local 199 UUMap::Allocator allocator; in TEST() local 269 UUMap::Allocator allocator; in TEST() local 383 UUMap::Allocator allocator; in TEST() local 526 UUMap::Allocator allocator; in TEST() local 602 UUMap::Allocator allocator; in TEST() local 687 UUMap::Allocator allocator; in TEST() local [all …]
|
/llvm-project/clang/test/SemaCXX/ |
H A D | cxx2a-constexpr-dynalloc.cpp | 15 template<typename T> struct allocator { struct 20 DELETE(p); // #dealloc expected-note 2{{'std::allocator<...>::deallocate' used to delete pointer to object allocated with 'new'}} in deallocate() argument 33 template<> struct std::allocator<void()> { struct in std 36 constexpr void *fn = std::allocator<void()>().allocate(); // expected-error {{constant expression}} expected-note {{in call}} argument 39 template<> struct std::allocator<Incomplete> { struct in std 42 constexpr void *incomplete = std::allocator<Incomplete>().allocate(); // expected-error {{constant expression}} expected-note {{in call}} argument 46 template<> struct std::allocator<WrongSize> { struct in std 49 constexpr void *wrong_size = std::allocator<WrongSiz argument [all...] |
H A D | cxx2a-constexpr-dynalloc-limits.cpp | 10 template<typename T> struct allocator { struct 11 constexpr T *allocate(size_t N) { in allocate() 14 constexpr void deallocate(void *p) { in deallocate()
|
/llvm-project/libcxx/test/libcxx/diagnostics/ |
H A D | memory.nodiscard.verify.cpp | 26 std::allocator<int> allocator; test_allocator_traits() local 33 std::allocator<int> allocator; test_allocator() local [all...] |
/llvm-project/libcxx/test/std/input.output/syncstream/syncbuf/ |
H A D | sputn.pass.cpp | 62 test_allocator<CharT> allocator{&stats}; in test() local 79 test_allocator<CharT> allocator{&stats}; in test() local 103 test_allocator<CharT> allocator{&stats}; in test() local
|
H A D | sputc.pass.cpp | 60 test_allocator<CharT> allocator{&stats}; in test() local 80 test_allocator<CharT> allocator{&stats}; in test() local 112 test_allocator<CharT> allocator{&stats}; in test() local
|
/llvm-project/mlir/lib/CAPI/IR/ |
H A D | Support.cpp | 63 void mlirTypeIDAllocatorDestroy(MlirTypeIDAllocator allocator) { in mlirTypeIDAllocatorDestroy() 67 MlirTypeID mlirTypeIDAllocatorAllocateTypeID(MlirTypeIDAllocator allocator) { in mlirTypeIDAllocatorAllocateTypeID()
|
/llvm-project/mlir/lib/Dialect/Affine/Analysis/ |
H A D | NestedMatcher.cpp | 22 llvm::BumpPtrAllocator *&NestedMatch::allocator() { in allocator() function in NestedMatch 23 thread_local llvm::BumpPtrAllocator *allocator = nullptr; in allocator() local 39 llvm::BumpPtrAllocator *&NestedPattern::allocator() { in allocator() function in NestedPattern 40 thread_local llvm::BumpPtrAllocator *allocator = nullptr; in allocator() local
|
/llvm-project/libcxx/test/libcxx/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/ |
H A D | allocate_vocabulary.attributes.verify.cpp | 16 std::pmr::polymorphic_allocator<> allocator; in func() local
|
/llvm-project/libcxx/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/ |
H A D | allocate_deallocate_vocabulary.nodiscard.verify.cpp | 25 std::pmr::polymorphic_allocator<> allocator; in func() local
|
H A D | allocate_deallocate_object.pass.cpp | 34 std::pmr::polymorphic_allocator<T> allocator(&resource); in test() local
|
/llvm-project/clang/test/Modules/Inputs/cxx-lookup/ |
H A D | x.h | 1 template <class T> class allocator; variable
|
/llvm-project/libcxx/include/__fwd/ |
H A D | memory.h | 21 class _LIBCPP_TEMPLATE_VIS allocator; variable
|
/llvm-project/clang/test/Modules/Inputs/PR31469/ |
H A D | textual.h | 4 template <class _Tp> class allocator; variable
|
/llvm-project/clang/test/CodeGenCXX/Inputs/ |
H A D | cxx20-module-std-subst-2a.cpp | 4 template <typename A> struct allocator {}; struct
|
/llvm-project/clang/test/CodeCompletion/ |
H A D | templates.cpp | 3 class allocator { class
|
/llvm-project/clang/test/CodeGenCXX/ |
H A D | 2007-09-10-RecursiveTypeResolution.cpp | 28 template < typename _Tp > struct allocator struct 50 template < typename _Tp, typename _Alloc = std::allocator < _Tp > > argument
|
/llvm-project/clang/test/SemaTemplate/ |
H A D | exception-spec-crash.cpp | 13 class allocator<char> {}; class
|
/llvm-project/mlir/lib/Transforms/ |
H A D | SROA.cpp | 212 for (DestructurableAllocationOpInterface allocator : workList) { in tryToDestructureMemorySlots() local 269 region.walk([&](DestructurableAllocationOpInterface allocator) { in runOnOperation() argument 138 destructureSlot(DestructurableMemorySlot & slot,DestructurableAllocationOpInterface allocator,OpBuilder & builder,const DataLayout & dataLayout,MemorySlotDestructuringInfo & info,SmallVectorImpl<DestructurableAllocationOpInterface> & newAllocators,const SROAStatistics & statistics) destructureSlot() argument [all...] |
/llvm-project/llvm/include/llvm/ADT/ |
H A D | StringMapEntry.h | 126 create(StringRef key,AllocatorTy & allocator,InitTy &&...initVals) create() argument 142 Destroy(AllocatorTy & allocator) Destroy() argument
|
/llvm-project/mlir/include/mlir/Tools/PDLL/AST/ |
H A D | Context.h | 53 llvm::BumpPtrAllocator allocator; variable
|
/llvm-project/libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.members/ |
H A D | str.string_view.pass.cpp | 61 AllocT allocator; in test() local
|
/llvm-project/libcxx/test/std/input.output/string.streams/istringstream/istringstream.members/ |
H A D | str.string_view.pass.cpp | 61 AllocT allocator; in test() local
|
/llvm-project/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.members/ |
H A D | str.string_view.pass.cpp | 61 AllocT allocator; in test() local
|