Home
last modified time | relevance | path

Searched defs:allocator (Results 1 – 25 of 110) sorted by relevance

12345

/llvm-project/libcxx/test/libcxx/utilities/any/
H A Dallocator.pass.cpp44 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 DIntervalMapTest.cpp23 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 Dcxx2a-constexpr-dynalloc.cpp15 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 Dcxx2a-constexpr-dynalloc-limits.cpp10 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 Dmemory.nodiscard.verify.cpp26 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 Dsputn.pass.cpp62 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 Dsputc.pass.cpp60 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 DSupport.cpp63 void mlirTypeIDAllocatorDestroy(MlirTypeIDAllocator allocator) { in mlirTypeIDAllocatorDestroy()
67 MlirTypeID mlirTypeIDAllocatorAllocateTypeID(MlirTypeIDAllocator allocator) { in mlirTypeIDAllocatorAllocateTypeID()
/llvm-project/mlir/lib/Dialect/Affine/Analysis/
H A DNestedMatcher.cpp22 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 Dallocate_vocabulary.attributes.verify.cpp16 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 Dallocate_deallocate_vocabulary.nodiscard.verify.cpp25 std::pmr::polymorphic_allocator<> allocator; in func() local
H A Dallocate_deallocate_object.pass.cpp34 std::pmr::polymorphic_allocator<T> allocator(&resource); in test() local
/llvm-project/clang/test/Modules/Inputs/cxx-lookup/
H A Dx.h1 template <class T> class allocator; variable
/llvm-project/libcxx/include/__fwd/
H A Dmemory.h21 class _LIBCPP_TEMPLATE_VIS allocator; variable
/llvm-project/clang/test/Modules/Inputs/PR31469/
H A Dtextual.h4 template <class _Tp> class allocator; variable
/llvm-project/clang/test/CodeGenCXX/Inputs/
H A Dcxx20-module-std-subst-2a.cpp4 template <typename A> struct allocator {}; struct
/llvm-project/clang/test/CodeCompletion/
H A Dtemplates.cpp3 class allocator { class
/llvm-project/clang/test/CodeGenCXX/
H A D2007-09-10-RecursiveTypeResolution.cpp28 template < typename _Tp > struct allocator struct
50 template < typename _Tp, typename _Alloc = std::allocator < _Tp > > argument
/llvm-project/clang/test/SemaTemplate/
H A Dexception-spec-crash.cpp13 class allocator<char> {}; class
/llvm-project/mlir/lib/Transforms/
H A DSROA.cpp212 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 DStringMapEntry.h126 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 DContext.h53 llvm::BumpPtrAllocator allocator; variable
/llvm-project/libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.members/
H A Dstr.string_view.pass.cpp61 AllocT allocator; in test() local
/llvm-project/libcxx/test/std/input.output/string.streams/istringstream/istringstream.members/
H A Dstr.string_view.pass.cpp61 AllocT allocator; in test() local
/llvm-project/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.members/
H A Dstr.string_view.pass.cpp61 AllocT allocator; in test() local

12345