Home
last modified time | relevance | path

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

12345

/freebsd-11-stable/contrib/libstdc++/include/ext/pb_ds/detail/
Dcontainer_base_dispatch.hpp114 typename Policy_Tl, typename Alloc>
117 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc>
119 Policy_Tl, Alloc>
128 typedef lu_map_data_<Key, Mapped, at0t, Alloc, at1t> type;
131 template<typename Key, typename Policy_Tl, typename Alloc>
133 Policy_Tl, Alloc>
142 typedef lu_map_no_data_<Key, null_mapped_type, at0t, Alloc, at1t> type;
145 template<typename Key, typename Mapped, typename Policy_Tl, typename Alloc>
146 struct container_base_dispatch<Key, Mapped, pat_trie_tag, Policy_Tl, Alloc>
153 typedef pat_trie_data_<Key, Mapped, at1t, Alloc> type;
[all …]
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-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
HDOrcRemoteTargetClient.h78 uint8_t *Alloc = reinterpret_cast<uint8_t *>( in allocateCodeSection() local
81 << SectionName << ": " << Alloc << " (" << Size in allocateCodeSection()
83 return Alloc; in allocateCodeSection()
91 uint8_t *Alloc = reinterpret_cast<uint8_t *>( in allocateDataSection() local
94 << SectionName << ": " << Alloc << " (" << Size in allocateDataSection()
96 return Alloc; in allocateDataSection()
100 uint8_t *Alloc = reinterpret_cast<uint8_t *>( in allocateDataSection() local
103 << SectionName << ": " << Alloc << " (" << Size in allocateDataSection()
105 return Alloc; in allocateDataSection()
216 class Alloc {
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
HDStringSaver.h22 BumpPtrAllocator &Alloc; variable
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} in StringSaver() argument
47 UniqueStringSaver(BumpPtrAllocator &Alloc) : Strings(Alloc) {} in UniqueStringSaver() argument
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Support/
HDBumpVector.h33 llvm::PointerIntPair<llvm::BumpPtrAllocator*, 1> Alloc; variable
38 BumpVectorContext() : Alloc(new llvm::BumpPtrAllocator(), 1) {} in BumpVectorContext()
40 BumpVectorContext(BumpVectorContext &&Other) : Alloc(Other.Alloc) { in BumpVectorContext()
41 Other.Alloc.setInt(false); in BumpVectorContext()
42 Other.Alloc.setPointer(nullptr); in BumpVectorContext()
48 BumpVectorContext(llvm::BumpPtrAllocator &A) : Alloc(&A, 0) {} in BumpVectorContext()
51 if (Alloc.getInt()) in ~BumpVectorContext()
52 delete Alloc.getPointer(); in ~BumpVectorContext()
55 llvm::BumpPtrAllocator &getAllocator() { return *Alloc.getPointer(); } in getAllocator()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Demangle/
HDItaniumDemangle.h2290 template <typename Derived, typename Alloc> struct AbstractManglingParser {
2345 Alloc ASTAllocator;
2511 template <typename Derived, typename Alloc>
2512 Node *AbstractManglingParser<Derived, Alloc>::parseName(NameState *State) { in parseName()
2553 template <typename Derived, typename Alloc>
2554 Node *AbstractManglingParser<Derived, Alloc>::parseLocalName(NameState *State) { in parseLocalName()
2589 template <typename Derived, typename Alloc>
2591 AbstractManglingParser<Derived, Alloc>::parseUnscopedName(NameState *State) { in parseUnscopedName()
2606 template <typename Derived, typename Alloc>
2608 AbstractManglingParser<Derived, Alloc>::parseUnqualifiedName(NameState *State) { in parseUnqualifiedName()
[all …]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/
HDxray_segmented_array.h164 AllocatorType *Alloc; variable
252 auto SegmentBlock = Alloc->Allocate(); in NewSegment()
297 : Alloc(&A), in Array()
303 Array() XRAY_NEVER_INSTRUMENT : Alloc(nullptr), in Array()
312 Array(Array &&O) XRAY_NEVER_INSTRUMENT : Alloc(O.Alloc), in Array()
317 O.Alloc = nullptr; in Array()
325 Alloc = O.Alloc;
326 O.Alloc = nullptr;
346 DCHECK_NE(Alloc, nullptr); in allocator()
347 return *Alloc; in allocator()
/freebsd-11-stable/contrib/llvm-project/libcxx/include/ext/
HDhash_set21 class Alloc = allocator<Value>>
30 typedef Alloc allocator_type;
92 template <class Value, class Hash, class Pred, class Alloc>
93 void swap(hash_set<Value, Hash, Pred, Alloc>& x,
94 hash_set<Value, Hash, Pred, Alloc>& y);
96 template <class Value, class Hash, class Pred, class Alloc>
98 operator==(const hash_set<Value, Hash, Pred, Alloc>& x,
99 const hash_set<Value, Hash, Pred, Alloc>& y);
101 template <class Value, class Hash, class Pred, class Alloc>
103 operator!=(const hash_set<Value, Hash, Pred, Alloc>& x,
[all …]
HDhash_map21 class Alloc = allocator<pair<const Key, T>>>
30 typedef Alloc allocator_type;
98 template <class Key, class T, class Hash, class Pred, class Alloc>
99 void swap(hash_map<Key, T, Hash, Pred, Alloc>& x,
100 hash_map<Key, T, Hash, Pred, Alloc>& y);
102 template <class Key, class T, class Hash, class Pred, class Alloc>
104 operator==(const hash_map<Key, T, Hash, Pred, Alloc>& x,
105 const hash_map<Key, T, Hash, Pred, Alloc>& y);
107 template <class Key, class T, class Hash, class Pred, class Alloc>
109 operator!=(const hash_map<Key, T, Hash, Pred, Alloc>& x,
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDLiveRangeCalc.cpp59 Alloc = VNIA; in reset()
64 static void createDeadDef(SlotIndexes &Indexes, VNInfo::Allocator &Alloc, in createDeadDef() argument
71 LR.createDeadDef(DefIdx, Alloc); in createDeadDef()
94 LI.createSubRangeFrom(*Alloc, ClassMask, LI); in calculate()
97 LI.refineSubRanges(*Alloc, SubMask, in calculate()
100 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-11-stable/contrib/llvm-project/llvm/lib/Support/
HDItaniumManglingCanonicalizer.cpp227 auto &Alloc = P->Demangler.ASTAllocator; in addEquivalence() local
228 Alloc.setCreateNewNodes(true); in addEquivalence()
270 return std::make_pair(N, Alloc.isMostRecentlyCreated(N)); in addEquivalence()
280 Alloc.trackUsesOf(FirstNode); in addEquivalence()
289 if (FirstIsNew && !Alloc.trackedNodeIsUsed()) in addEquivalence()
290 Alloc.addRemapping(FirstNode, SecondNode); in addEquivalence()
292 Alloc.addRemapping(SecondNode, FirstNode); in addEquivalence()
/freebsd-11-stable/contrib/llvm-project/libcxx/include/
HDqueue44 template <class Alloc>
45 explicit queue(const Alloc& a);
46 template <class Alloc>
47 queue(const container_type& c, const Alloc& a);
48 template <class Alloc>
49 queue(container_type&& c, const Alloc& a);
50 template <class Alloc>
51 queue(const queue& q, const Alloc& a);
52 template <class Alloc>
53 queue(queue&& q, const Alloc& a);
[all …]
HDstack44 template <class Alloc> explicit stack(const Alloc& a);
45 template <class Alloc> stack(const container_type& c, const Alloc& a);
46 template <class Alloc> stack(container_type&& c, const Alloc& a);
47 template <class Alloc> stack(const stack& c, const Alloc& a);
48 template <class Alloc> stack(stack&& c, const Alloc& a);
HDtuple38 template <class Alloc>
39 tuple(allocator_arg_t, const Alloc& a);
40 template <class Alloc>
41 explicit(see-below) tuple(allocator_arg_t, const Alloc& a, const T&...);
42 template <class Alloc, class... U>
43 explicit(see-below) tuple(allocator_arg_t, const Alloc& a, U&&...);
44 template <class Alloc>
45 tuple(allocator_arg_t, const Alloc& a, const tuple&);
46 template <class Alloc>
47 tuple(allocator_arg_t, const Alloc& a, tuple&&);
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
HDJITLinkGeneric.cpp103 if (auto Err = copyAndFixUpBlocks(Layout, *Alloc)) in linkPhase2()
121 Alloc->finalizeAsync(std::move(Phase3Continuation)); in linkPhase2()
127 Ctx->notifyFinalized(std::move(Alloc)); in linkPhase3()
228 Alloc = std::move(*AllocOrErr); in allocateSegments()
237 << (const void *)Alloc->getWorkingMemory(Prot).data() << "\n"; in allocateSegments()
247 Alloc->getTargetMemory(static_cast<sys::Memory::ProtectionFlags>(Prot)); in allocateSegments()
307 assert(Alloc && "can not call deallocateAndBailOut before allocation"); in deallocateAndBailOut()
308 Ctx->notifyFailed(joinErrors(std::move(Err), Alloc->deallocate())); in deallocateAndBailOut()
HDJITLinkGeneric.h105 JITLinkMemoryManager::Allocation &Alloc) const = 0;
118 std::unique_ptr<JITLinkMemoryManager::Allocation> Alloc; variable
149 JITLinkMemoryManager::Allocation &Alloc) const override { in copyAndFixUpBlocks() argument
155 auto SegMem = Alloc.getWorkingMemory( in copyAndFixUpBlocks()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
HDProgramStateTrait.h183 static void *CreateContext(llvm::BumpPtrAllocator& Alloc) {
184 return new typename data_type::Factory(Alloc);
224 static void *CreateContext(llvm::BumpPtrAllocator &Alloc) {
225 return new typename data_type::Factory(Alloc);
261 static void *CreateContext(llvm::BumpPtrAllocator &Alloc) {
262 return new typename data_type::Factory(Alloc);
HDBasicValueFactory.h128 BasicValueFactory(ASTContext &ctx, llvm::BumpPtrAllocator &Alloc) in BasicValueFactory() argument
129 : Ctx(ctx), BPAlloc(Alloc), SValListFactory(Alloc), in BasicValueFactory()
130 CXXBaseListFactory(Alloc) {} in BasicValueFactory()
/freebsd-11-stable/contrib/llvm-project/clang/tools/driver/
HDcc1_main.cpp125 volatile char *volatile Alloc = in ensureStackAddressSpace() local
127 Alloc[0] = 0; in ensureStackAddressSpace()
128 Alloc[kTargetStack - Curr - 1] = 0; in ensureStackAddressSpace()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
HDIRSymtab.cpp77 BumpPtrAllocator &Alloc) in Builder()
78 : Symtab(Symtab), StrtabBuilder(StrtabBuilder), Saver(Alloc) {} in Builder()
340 BumpPtrAllocator &Alloc) { in build() argument
341 return Builder(Symtab, StrtabBuilder, Alloc).build(Mods); in build()
364 BumpPtrAllocator Alloc; in upgrade() local
365 if (Error E = build(Mods, FC.Symtab, StrtabBuilder, Alloc)) in upgrade()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
HDCoroutines.cpp385 this->RetconLowering.Alloc = ContinuationId->getAllocFunction(); in buildFrom()
507 auto Alloc = RetconLowering.Alloc; in emitAlloc() local
509 Alloc->getFunctionType()->getParamType(0), in emitAlloc()
511 auto *Call = Builder.CreateCall(Alloc, Size); in emitAlloc()
512 propagateCallAttrsFromCallee(Call, Alloc); in emitAlloc()
513 addCallToCallGraph(CG, Call, Alloc); in emitAlloc()
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/
HDCopyConfig.cpp302 addSymbolsFromFile(NameMatcher &Symbols, BumpPtrAllocator &Alloc, in addSymbolsFromFile() argument
305 StringSaver Saver(Alloc); in addSymbolsFromFile()
361 BumpPtrAllocator &Alloc, in addSymbolsToRenameFromFile() argument
363 StringSaver Saver(Alloc); in addSymbolsToRenameFromFile()
572 if (Error E = addSymbolsToRenameFromFile(Config.SymbolsToRename, DC.Alloc, in parseObjcopyOptions()
675 if (Error E = addSymbolsFromFile(Config.SymbolsToLocalize, DC.Alloc, in parseObjcopyOptions()
684 if (Error E = addSymbolsFromFile(Config.SymbolsToKeepGlobal, DC.Alloc, in parseObjcopyOptions()
693 if (Error E = addSymbolsFromFile(Config.SymbolsToGlobalize, DC.Alloc, in parseObjcopyOptions()
702 if (Error E = addSymbolsFromFile(Config.SymbolsToWeaken, DC.Alloc, in parseObjcopyOptions()
711 if (Error E = addSymbolsFromFile(Config.SymbolsToRemove, DC.Alloc, in parseObjcopyOptions()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
HDType.cpp263 Entry = new (C.pImpl->Alloc) IntegerType(C, NumBits); in get()
315 FT = (FunctionType *)pImpl->Alloc.Allocate( in get()
361 ST = new (Context.pImpl->Alloc) StructType(Context); in get()
387 ContainedTys = Elements.copy(getContext().pImpl->Alloc).data(); in setBody()
442 StructType *ST = new (Context.pImpl->Alloc) StructType(Context); in create()
595 Entry = new (pImpl->Alloc) ArrayType(ElementType, NumElements); in get()
624 Entry = new (pImpl->Alloc) VectorType(ElementType, EC); in get()
648 Entry = new (CImpl->Alloc) PointerType(EltTy, AddressSpace); in get()
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_flag_parser.cpp22 LowLevelAllocator FlagParser::Alloc; member in __sanitizer::FlagParser
52 char *s2 = (char*)Alloc.Allocate(len + 1); in ll_strndup()
188 flags_ = (Flag *)Alloc.Allocate(sizeof(Flag) * kMaxFlags); in FlagParser()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDBlockCounter.cpp64 BlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) { in Factory() argument
65 F = new CountMap::Factory(Alloc); in Factory()

12345