Home
last modified time | relevance | path

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

12345678910

/netbsd/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DTPCIndirectionUtils.cpp92 for (auto &Alloc : TrampolineBlocks) in deallocatePool() local
114 if (!Alloc) in grow()
115 return Alloc.takeError(); in grow()
129 if (auto Err = (*Alloc)->finalize()) in grow()
298 if (!Alloc) in writeResolverBlock()
299 return Alloc.takeError(); in writeResolverBlock()
306 if (auto Err = (*Alloc)->finalize()) in writeResolverBlock()
309 ResolverBlock = std::move(*Alloc); in writeResolverBlock()
368 if (!Alloc) in getIndirectStubs()
369 return Alloc.takeError(); in getIndirectStubs()
[all …]
H A DDebugObjectManagerPlugin.cpp135 if (Alloc) in ~DebugObject()
136 if (Error Err = Alloc->deallocate()) in ~DebugObject()
153 std::unique_ptr<Allocation> Alloc{nullptr}; member in llvm::orc::DebugObject
160 assert(Alloc == nullptr && "Cannot finalize more than once"); in finalizeAsync()
165 Alloc = std::move(*AllocOrErr); in finalizeAsync()
167 Alloc->finalizeAsync([this, OnFinalize](Error Err) { in finalizeAsync()
172 jitTargetAddressToPointer<void *>(Alloc->getTargetMemory(ReadOnly)), in finalizeAsync()
173 Alloc->getWorkingMemory(ReadOnly).size())); in finalizeAsync()
343 std::unique_ptr<Allocation> Alloc = std::move(*AllocOrErr); in finalizeWorkingMemory() local
344 MutableArrayRef<char> WorkingMem = Alloc->getWorkingMemory(ReadOnly); in finalizeWorkingMemory()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DLiveIntervalCalc.cpp49 LR.createDeadDef(DefIdx, Alloc); in createDeadDef()
55 VNInfo::Allocator *Alloc = getVNAlloc(); in calculate() local
76 LI.createSubRangeFrom(*Alloc, ClassMask, LI); in calculate()
80 *Alloc, SubMask, in calculate()
83 createDeadDef(*Indexes, *Alloc, SR, MO); in calculate()
91 createDeadDef(*Indexes, *Alloc, LI, MO); in calculate()
105 SubLIC.reset(MF, Indexes, DomTree, Alloc); in calculate()
122 VNInfo::Allocator *Alloc = getVNAlloc(); in constructMainRangeFromSubranges() local
126 MainRange.createDeadDef(VNI->def, *Alloc); in constructMainRangeFromSubranges()
136 VNInfo::Allocator *Alloc = getVNAlloc(); in createDeadDefs() local
[all …]
/netbsd/external/apache2/llvm/dist/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 …]
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; variable
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} in StringSaver() argument
47 UniqueStringSaver(BumpPtrAllocator &Alloc) : Strings(Alloc) {} in UniqueStringSaver() argument
/netbsd/external/apache2/llvm/dist/clang/include/clang/Analysis/Support/
H A DBumpVector.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()
/netbsd/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/
H A Dtsan_dense_alloc_test.cc25 typedef DenseSlabAlloc<int, 128, 128> Alloc; in TEST() typedef
26 typedef Alloc::Cache Cache; in TEST()
27 typedef Alloc::IndexT IndexT; in TEST()
30 Alloc alloc; in TEST()
37 IndexT idx = alloc.Alloc(&cache); in TEST()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h2394 Alloc ASTAllocator;
2562 template <typename Derived, typename Alloc>
2604 template <typename Derived, typename Alloc>
2640 template <typename Derived, typename Alloc>
2657 template <typename Derived, typename Alloc>
2688 template <typename Derived, typename Alloc>
2767 template <typename Derived, typename Alloc>
2832 template <typename Derived, typename Alloc>
3079 template <typename Derived, typename Alloc>
5705 template <typename Alloc>
[all …]
/netbsd/sys/external/bsd/compiler_rt/dist/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()
/netbsd/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkGeneric.cpp132 copyBlockContentToWorkingMemory(Layout, *Alloc); in linkPhase2()
167 Alloc->finalizeAsync(std::move(Phase3Continuation)); in linkPhase2()
178 Ctx->notifyFinalized(std::move(Alloc)); in linkPhase3()
282 Alloc = std::move(*AllocOrErr); in allocateSegments()
291 << (const void *)Alloc->getWorkingMemory(Prot).data() << " -> " in allocateSegments()
292 << formatv("{0:x16}", Alloc->getTargetMemory(Prot)) << "\n"; in allocateSegments()
302 Alloc->getTargetMemory(static_cast<sys::Memory::ProtectionFlags>(Prot)); in allocateSegments()
355 const SegmentLayoutMap &Layout, JITLinkMemoryManager::Allocation &Alloc) { in copyBlockContentToWorkingMemory() argument
363 Alloc.getWorkingMemory(static_cast<sys::Memory::ProtectionFlags>(Prot)); in copyBlockContentToWorkingMemory()
427 assert(Alloc && "can not call deallocateAndBailOut before allocation"); in deallocateAndBailOut()
[all …]
/netbsd/external/apache2/llvm/dist/libcxx/include/ext/
H A Dhash_set21 class Alloc = allocator<Value>>
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,
101 template <class Value, class Hash, class Pred, class Alloc>
103 operator!=(const hash_set<Value, Hash, Pred, Alloc>& x,
107 class Alloc = allocator<Value>>
179 void swap(hash_multiset<Value, Hash, Pred, Alloc>& x,
[all …]
H A Dhash_map21 class Alloc = allocator<pair<const Key, T>>>
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);
104 operator==(const hash_map<Key, T, Hash, Pred, Alloc>& x,
105 const hash_map<Key, T, Hash, Pred, Alloc>& y);
109 operator!=(const hash_map<Key, T, Hash, Pred, Alloc>& x,
110 const hash_map<Key, T, Hash, Pred, Alloc>& y);
113 class Alloc = allocator<pair<const Key, T>>>
187 void swap(hash_multimap<Key, T, Hash, Pred, Alloc>& x,
[all …]
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DCoalescingBitVector.h55 CoalescingBitVector(Allocator &Alloc) in CoalescingBitVector() argument
56 : Alloc(&Alloc), Intervals(Alloc) {} in CoalescingBitVector()
62 : Alloc(Other.Alloc), Intervals(*Other.Alloc) { in CoalescingBitVector()
444 Allocator *Alloc; variable
/netbsd/external/apache2/llvm/dist/libcxx/include/
H A Dqueue44 template <class Alloc>
46 template <class Alloc>
48 template <class Alloc>
50 template <class Alloc>
52 template <class Alloc>
129 template <class Alloc>
131 template <class Alloc>
133 template <class Alloc>
136 template <class Alloc>
139 template <class Alloc>
[all …]
H A Dstack44 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);
H A Dtuple38 template <class Alloc>
40 template <class Alloc>
42 template <class Alloc, class... U>
44 template <class Alloc>
46 template <class Alloc>
48 template <class Alloc, class... U>
50 template <class Alloc, class... U>
80 template <class Alloc, class ...T>
82 template <class Alloc, class T1, class T2>
84 template <class Alloc, class ...T>
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Support/
H A DItaniumManglingCanonicalizer.cpp222 auto &Alloc = P->Demangler.ASTAllocator; in addEquivalence() local
223 Alloc.setCreateNewNodes(true); in addEquivalence()
265 return std::make_pair(N, Alloc.isMostRecentlyCreated(N)); in addEquivalence()
275 Alloc.trackUsesOf(FirstNode); in addEquivalence()
284 if (FirstIsNew && !Alloc.trackedNodeIsUsed()) in addEquivalence()
285 Alloc.addRemapping(FirstNode, SecondNode); in addEquivalence()
287 Alloc.addRemapping(SecondNode, FirstNode); in addEquivalence()
/netbsd/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramStateTrait.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);
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/
H A DType.cpp288 Entry = new (C.pImpl->Alloc) IntegerType(C, NumBits); in get()
335 FT = (FunctionType *)pImpl->Alloc.Allocate( in get()
381 ST = new (Context.pImpl->Alloc) StructType(Context); in get()
419 ContainedTys = Elements.copy(getContext().pImpl->Alloc).data(); in setBody()
474 StructType *ST = new (Context.pImpl->Alloc) StructType(Context); in create()
606 Entry = new (pImpl->Alloc) ArrayType(ElementType, NumElements); in get()
657 Entry = new (pImpl->Alloc) FixedVectorType(ElementType, NumElts); in get()
679 Entry = new (pImpl->Alloc) ScalableVectorType(ElementType, MinNumElts); in get()
698 Entry = new (CImpl->Alloc) PointerType(EltTy, AddressSpace); in get()
712 Entry = new (CImpl->Alloc) PointerType(C, AddressSpace); in get()
/netbsd/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_flag_parser.cc21 LowLevelAllocator FlagParser::Alloc; member in __sanitizer::FlagParser
51 char *s2 = (char*)Alloc.Allocate(len + 1); in ll_strndup()
166 flags_ = (Flag *)Alloc.Allocate(sizeof(Flag) * kMaxFlags); in FlagParser()
/netbsd/sys/external/bsd/compiler_rt/dist/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()
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_flag_parser.cc21 LowLevelAllocator FlagParser::Alloc; member in __sanitizer::FlagParser
51 char *s2 = (char*)Alloc.Allocate(len + 1); in ll_strndup()
166 flags_ = (Flag *)Alloc.Allocate(sizeof(Flag) * kMaxFlags); in FlagParser()
/netbsd/external/apache2/llvm/dist/llvm/lib/Object/
H A DIRSymtab.cpp77 BumpPtrAllocator &Alloc) in Builder()
78 : Symtab(Symtab), StrtabBuilder(StrtabBuilder), Saver(Alloc) {} in Builder()
353 BumpPtrAllocator &Alloc) { in build() argument
354 return Builder(Symtab, StrtabBuilder, Alloc).build(Mods); in build()
377 BumpPtrAllocator Alloc; in upgrade() local
378 if (Error E = build(Mods, FC.Symtab, StrtabBuilder, Alloc)) in upgrade()
/netbsd/external/apache2/llvm/dist/clang/tools/driver/
H A Dcc1_main.cpp125 volatile char *volatile Alloc = in ensureStackAddressSpace() local
127 Alloc[0] = 0; in ensureStackAddressSpace()
128 Alloc[kTargetStack - Curr - 1] = 0; in ensureStackAddressSpace()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp415 this->RetconLowering.Alloc = ContinuationId->getAllocFunction(); in buildFrom()
537 auto Alloc = RetconLowering.Alloc; in emitAlloc() local
539 Alloc->getFunctionType()->getParamType(0), in emitAlloc()
541 auto *Call = Builder.CreateCall(Alloc, Size); in emitAlloc()
542 propagateCallAttrsFromCallee(Call, Alloc); in emitAlloc()
543 addCallToCallGraph(CG, Call, Alloc); in emitAlloc()

12345678910