Home
last modified time | relevance | path

Searched refs:Alloc (Results 1 – 25 of 106) sorted by relevance

12345

/freebsd-12.1/contrib/libstdc++/include/ext/pb_ds/detail/
H A Dcontainer_base_dispatch.hpp114 typename Policy_Tl, typename Alloc>
119 Policy_Tl, Alloc>
131 template<typename Key, typename Policy_Tl, typename Alloc>
133 Policy_Tl, Alloc>
158 Policy_Tl, Alloc>
183 Policy_Tl, Alloc>
197 Policy_Tl, Alloc>
211 Policy_Tl, Alloc>
238 Policy_Tl, Alloc>
272 Policy_Tl, Alloc>
[all …]
H A Dtypes_traits.hpp58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
61 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type;
64 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
66 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type
68 typedef typename Alloc::template rebind<Key>::other key_allocator;
74 typedef typename Alloc::size_type size_type;
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcRemoteTargetClient.h84 return Alloc; in allocateCodeSection()
97 return Alloc; in allocateDataSection()
106 return Alloc; in allocateDataSection()
217 class Alloc {
222 Alloc(const Alloc &) = delete;
223 Alloc &operator=(const Alloc &) = delete;
224 Alloc(Alloc &&) = default;
225 Alloc &operator=(Alloc &&) = default;
272 for (auto &Alloc : Allocs) { in mapAllocsToRemoteAddrs()
295 for (auto &Alloc : Allocs) { in copyAndProtect()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DStringSaver.h23 BumpPtrAllocator &Alloc; variable
26 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} in StringSaver() argument
48 UniqueStringSaver(BumpPtrAllocator &Alloc) : Strings(Alloc) {} in UniqueStringSaver() argument
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/Support/
H A DBumpVector.h34 llvm::PointerIntPair<llvm::BumpPtrAllocator*, 1> Alloc; variable
39 BumpVectorContext() : Alloc(new llvm::BumpPtrAllocator(), 1) {} in BumpVectorContext()
41 BumpVectorContext(BumpVectorContext &&Other) : Alloc(Other.Alloc) { in BumpVectorContext()
42 Other.Alloc.setInt(false); in BumpVectorContext()
43 Other.Alloc.setPointer(nullptr); in BumpVectorContext()
49 BumpVectorContext(llvm::BumpPtrAllocator &A) : Alloc(&A, 0) {} in BumpVectorContext()
52 if (Alloc.getInt()) in ~BumpVectorContext()
53 delete Alloc.getPointer(); in ~BumpVectorContext()
56 llvm::BumpPtrAllocator &getAllocator() { return *Alloc.getPointer(); } in getAllocator()
/freebsd-12.1/contrib/llvm/tools/lld/include/lld/Common/
H A DMemory.h47 void reset() override { Alloc.DestroyAll(); } in reset()
48 llvm::SpecificBumpPtrAllocator<T> Alloc; member
54 static SpecificAlloc<T> Alloc; in make() local
55 return new (Alloc.Alloc.Allocate()) T(std::forward<U>(Args)...); in make()
/freebsd-12.1/contrib/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h2164 Alloc ASTAllocator;
2326 template <typename Derived, typename Alloc>
2368 template <typename Derived, typename Alloc>
2404 template <typename Derived, typename Alloc>
2421 template <typename Derived, typename Alloc>
2452 template <typename Derived, typename Alloc>
2483 template <typename Derived, typename Alloc>
2548 template <typename Derived, typename Alloc>
2793 template <typename Derived, typename Alloc>
5175 template <typename Alloc>
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/xray/
H A Dxray_segmented_array.h165 AllocatorType *Alloc; variable
253 auto SegmentBlock = Alloc->Allocate(); in NewSegment()
298 : Alloc(&A), in Array()
304 Array() XRAY_NEVER_INSTRUMENT : Alloc(nullptr), in Array()
313 Array(Array &&O) XRAY_NEVER_INSTRUMENT : Alloc(O.Alloc), in Array()
318 O.Alloc = nullptr; in Array()
326 Alloc = O.Alloc;
327 O.Alloc = nullptr;
347 DCHECK_NE(Alloc, nullptr); in allocator()
348 return *Alloc; in allocator()
/freebsd-12.1/contrib/libc++/include/ext/
H A Dhash_set22 class Alloc = allocator<Value>>
93 template <class Value, class Hash, class Pred, class Alloc>
94 void swap(hash_set<Value, Hash, Pred, Alloc>& x,
95 hash_set<Value, Hash, Pred, Alloc>& y);
97 template <class Value, class Hash, class Pred, class Alloc>
99 operator==(const hash_set<Value, Hash, Pred, Alloc>& x,
102 template <class Value, class Hash, class Pred, class Alloc>
104 operator!=(const hash_set<Value, Hash, Pred, Alloc>& x,
108 class Alloc = allocator<Value>>
180 void swap(hash_multiset<Value, Hash, Pred, Alloc>& x,
[all …]
H A Dhash_map22 class Alloc = allocator<pair<const Key, T>>>
96 template <class Key, class T, class Hash, class Pred, class Alloc>
97 void swap(hash_map<Key, T, Hash, Pred, Alloc>& x,
98 hash_map<Key, T, Hash, Pred, Alloc>& y);
102 operator==(const hash_map<Key, T, Hash, Pred, Alloc>& x,
103 const hash_map<Key, T, Hash, Pred, Alloc>& y);
107 operator!=(const hash_map<Key, T, Hash, Pred, Alloc>& x,
108 const hash_map<Key, T, Hash, Pred, Alloc>& y);
111 class Alloc = allocator<pair<const Key, T>>>
185 void swap(hash_multimap<Key, T, Hash, Pred, Alloc>& x,
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DLiveRangeCalc.cpp60 Alloc = VNIA; in reset()
65 static void createDeadDef(SlotIndexes &Indexes, VNInfo::Allocator &Alloc, in createDeadDef() argument
72 LR.createDeadDef(DefIdx, Alloc); in createDeadDef()
95 LI.createSubRangeFrom(*Alloc, ClassMask, LI); in calculate()
98 LI.refineSubRanges(*Alloc, SubMask, in calculate()
101 createDeadDef(*Indexes, *Alloc, SR, MO); in calculate()
108 createDeadDef(*Indexes, *Alloc, LI, MO); in calculate()
120 SubLRC.reset(MF, Indexes, DomTree, Alloc); in calculate()
140 MainRange.createDeadDef(VNI->def, *Alloc); in constructMainRangeFromSubranges()
153 createDeadDef(*Indexes, *Alloc, LR, MO); in createDeadDefs()
[all …]
/freebsd-12.1/contrib/llvm/lib/Support/
H A DItaniumManglingCanonicalizer.cpp238 auto &Alloc = P->Demangler.ASTAllocator; in addEquivalence() local
239 Alloc.setCreateNewNodes(true); in addEquivalence()
281 return std::make_pair(N, Alloc.isMostRecentlyCreated(N)); in addEquivalence()
291 Alloc.trackUsesOf(FirstNode); in addEquivalence()
300 if (FirstIsNew && !Alloc.trackedNodeIsUsed()) in addEquivalence()
301 Alloc.addRemapping(FirstNode, SecondNode); in addEquivalence()
303 Alloc.addRemapping(SecondNode, FirstNode); in addEquivalence()
/freebsd-12.1/contrib/libc++/include/
H A Dqueue45 template <class Alloc>
47 template <class Alloc>
49 template <class Alloc>
51 template <class Alloc>
53 template <class Alloc>
137 template <class Alloc>
139 template <class Alloc>
141 template <class Alloc>
144 template <class Alloc>
147 template <class Alloc>
[all …]
H A Dstack45 template <class Alloc> explicit stack(const Alloc& a);
46 template <class Alloc> stack(const container_type& c, const Alloc& a);
47 template <class Alloc> stack(container_type&& c, const Alloc& a);
48 template <class Alloc> stack(const stack& c, const Alloc& a);
49 template <class Alloc> stack(stack&& c, const Alloc& a);
H A Dtuple39 template <class Alloc>
40 tuple(allocator_arg_t, const Alloc& a);
41 template <class Alloc>
43 template <class Alloc, class... U>
45 template <class Alloc>
47 template <class Alloc>
49 template <class Alloc, class... U>
51 template <class Alloc, class... U>
53 template <class Alloc, class U1, class U2>
55 template <class Alloc, class U1, class U2>
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramStateTrait.h184 static void *CreateContext(llvm::BumpPtrAllocator& Alloc) {
185 return new typename data_type::Factory(Alloc);
225 static void *CreateContext(llvm::BumpPtrAllocator &Alloc) {
226 return new typename data_type::Factory(Alloc);
262 static void *CreateContext(llvm::BumpPtrAllocator &Alloc) {
263 return new typename data_type::Factory(Alloc);
H A DBasicValueFactory.h129 BasicValueFactory(ASTContext &ctx, llvm::BumpPtrAllocator &Alloc) in BasicValueFactory() argument
130 : Ctx(ctx), BPAlloc(Alloc), SValListFactory(Alloc), in BasicValueFactory()
131 CXXBaseListFactory(Alloc) {} in BasicValueFactory()
/freebsd-12.1/contrib/llvm/tools/lld/Common/
H A DMemory.cpp20 for (SpecificAllocBase *Alloc : SpecificAllocBase::Instances) in freeArena()
21 Alloc->reset(); in freeArena()
/freebsd-12.1/contrib/llvm/tools/clang/tools/driver/
H A Dcc1_main.cpp126 volatile char *volatile Alloc = in ensureStackAddressSpace() local
128 Alloc[0] = 0; in ensureStackAddressSpace()
129 Alloc[kTargetStack - Curr - 1] = 0; in ensureStackAddressSpace()
/freebsd-12.1/contrib/llvm/lib/Object/
H A DIRSymtab.cpp78 BumpPtrAllocator &Alloc) in Builder()
79 : Symtab(Symtab), StrtabBuilder(StrtabBuilder), Saver(Alloc) {} in Builder()
325 BumpPtrAllocator &Alloc) { in build() argument
326 return Builder(Symtab, StrtabBuilder, Alloc).build(Mods); in build()
349 BumpPtrAllocator Alloc; in upgrade() local
350 if (Error E = build(Mods, FC.Symtab, StrtabBuilder, Alloc)) in upgrade()
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flag_parser.cc23 LowLevelAllocator FlagParser::Alloc; member in __sanitizer::FlagParser
53 char *s2 = (char*)Alloc.Allocate(len + 1); in ll_strndup()
168 flags_ = (Flag *)Alloc.Allocate(sizeof(Flag) * kMaxFlags); in FlagParser()
H A Dsanitizer_flags.cc96 FlagHandlerInclude *fh_include = new (FlagParser::Alloc) // NOLINT in RegisterIncludeFlags()
100 FlagHandlerInclude *fh_include_if_exists = new (FlagParser::Alloc) // NOLINT in RegisterIncludeFlags()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp65 BlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) { in Factory() argument
66 F = new CountMap::Factory(Alloc); in Factory()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DDIE.h138 BumpPtrAllocator &Alloc; variable
145 DIEAbbrevSet(BumpPtrAllocator &A) : Alloc(A) {} in DIEAbbrevSet()
640 value_iterator addValue(BumpPtrAllocator &Alloc, const DIEValue &V) { in addValue() argument
641 List.push_back(*new (Alloc) Node(V)); in addValue()
645 value_iterator addValue(BumpPtrAllocator &Alloc, dwarf::Attribute Attribute, in addValue() argument
647 return addValue(Alloc, DIEValue(Attribute, Form, std::forward<T>(Value))); in addValue()
692 static DIE *get(BumpPtrAllocator &Alloc, dwarf::Tag Tag) { in get() argument
693 return new (Alloc) DIE(Tag); in get()
/freebsd-12.1/contrib/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypeHashing.cpp69 BumpPtrAllocator &Alloc) { in toDebugH() argument
71 uint8_t *Data = Alloc.Allocate<uint8_t>(Size); in toDebugH()

12345