Searched refs:Alloc (Results 1 - 25 of 153) sorted by relevance

1234567

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/template/
H A Dttp2.C5 template <class U> struct Alloc {}; struct
7 template <class T, class U = Alloc<T> > struct Vector {};
9 template <template <class T, class U = Alloc<T> > class TT>
/openbsd-current/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/
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;
H A 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> typ
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/
H A DAllocatorBase.h104 template <typename Alloc> class AllocatorHolder : Alloc {
107 AllocatorHolder(const Alloc &A) : Alloc(A) {}
108 AllocatorHolder(Alloc &&A) : Alloc(static_cast<Alloc &&>(A)) {}
109 Alloc &getAllocator() { return *this; }
110 const Alloc &getAllocator() const { return *this; }
113 template <typename Alloc> clas
[all...]
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
27 BumpPtrAllocator &getAllocator() const { return Alloc; }
49 UniqueStringSaver(BumpPtrAllocator &Alloc) : Strings(Alloc) {} argument
H A DInitLLVM.h46 BumpPtrAllocator Alloc; member in class:llvm::InitLLVM
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Dfriend49.C20 template <class _Tp> class Alloc class
24 typedef Alloc<_Tp1> other;
/openbsd-current/gnu/llvm/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_dense_alloc_test.cpp25 typedef DenseSlabAlloc<T, 128, 128> Alloc; typedef
26 typedef Alloc::Cache Cache;
27 typedef Alloc::IndexT IndexT;
30 Alloc alloc("test");
37 IndexT idx = alloc.Alloc(&cache);
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/
H A DLiveIntervalCalc.cpp33 static void createDeadDef(SlotIndexes &Indexes, VNInfo::Allocator &Alloc, argument
40 LR.createDeadDef(DefIdx, Alloc);
46 VNInfo::Allocator *Alloc = getVNAlloc(); local
67 LI.createSubRangeFrom(*Alloc, ClassMask, LI);
71 *Alloc, SubMask,
72 [&MO, Indexes, Alloc](LiveInterval::SubRange &SR) {
74 createDeadDef(*Indexes, *Alloc, SR, MO);
82 createDeadDef(*Indexes, *Alloc, LI, MO);
96 SubLIC.reset(MF, Indexes, DomTree, Alloc);
113 VNInfo::Allocator *Alloc local
127 VNInfo::Allocator *Alloc = getVNAlloc(); local
[all...]
/openbsd-current/gnu/llvm/clang/include/clang/Analysis/Support/
H A DBumpVector.h33 llvm::PointerIntPair<llvm::BumpPtrAllocator*, 1> Alloc; member in class:clang::BumpVectorContext
38 BumpVectorContext() : Alloc(new llvm::BumpPtrAllocator(), 1) {}
40 BumpVectorContext(BumpVectorContext &&Other) : Alloc(Other.Alloc) {
41 Other.Alloc.setInt(false);
42 Other.Alloc.setPointer(nullptr);
48 BumpVectorContext(llvm::BumpPtrAllocator &A) : Alloc(&A, 0) {}
51 if (Alloc.getInt())
52 delete Alloc.getPointer();
55 llvm::BumpPtrAllocator &getAllocator() { return *Alloc
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Support/
H A DStringSaver.cpp14 char *P = Alloc.Allocate<char>(S.size() + 1);
H A DInitLLVM.cpp53 ExitOnErr(errorCodeToError(windows::GetCommandLineArguments(Args, Alloc)));
/openbsd-current/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBlockCounter.h43 Factory(llvm::BumpPtrAllocator& Alloc);
/openbsd-current/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.h39 BumpPtrAllocator Alloc; member in class:llvm::dxil::BitcodeWriter
/openbsd-current/gnu/llvm/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.h24 BumpPtrAllocator Alloc; member in struct:llvm::objcopy::DriverConfig
/openbsd-current/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DEPCIndirectionUtils.cpp112 auto Alloc = SimpleSegmentAlloc::Create( local
115 if (!Alloc)
116 return Alloc.takeError();
120 auto SegInfo = Alloc->getSegInfo(MemProt::Read | MemProt::Exec);
128 auto FA = Alloc->finalize();
301 auto Alloc = local
306 if (!Alloc)
307 return Alloc.takeError();
309 auto SegInfo = Alloc->getSegInfo(MemProt::Read | MemProt::Exec);
314 auto FA = Alloc
369 auto Alloc = SimpleSegmentAlloc::Create( local
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.h166 allocate(JD, G, [&](AllocResult Alloc) {
167 AllocResultP.set_value(std::move(Alloc));
180 void deallocate(FinalizedAlloc Alloc, OnDeallocatedFunction OnDeallocated) { argument
182 Allocs.push_back(std::move(Alloc));
196 Error deallocate(FinalizedAlloc Alloc) { argument
198 Allocs.push_back(std::move(Alloc));
335 Alloc->finalize(std::move(OnFinalized));
340 return Alloc->finalize();
347 std::unique_ptr<JITLinkMemoryManager::InFlightAlloc> Alloc);
351 std::unique_ptr<JITLinkMemoryManager::InFlightAlloc> Alloc; member in class:llvm::jitlink::SimpleSegmentAlloc
[all...]
/openbsd-current/gnu/llvm/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp108 if (Alloc) {
110 Alloc->AllocTypes |= static_cast<uint8_t>(AllocType);
113 Alloc = new CallStackTrieNode(AllocType);
115 Curr = Alloc;
212 if (hasSingleAllocType(Alloc->AllocTypes)) {
213 addAllocTypeAttribute(Ctx, CI, (AllocationType)Alloc->AllocTypes);
219 assert(!Alloc->Callers.empty() && "addCallStack has not been called yet");
220 buildMIBNodes(Alloc, Ctx, MIBCallStack, MIBNodes,
223 "Should only be left with Alloc's location in stack");
/openbsd-current/gnu/llvm/compiler-rt/lib/scudo/standalone/tools/
H A Dcompute_size_class_config.cpp17 struct Alloc { struct
21 size_t measureWastage(const std::vector<Alloc> &allocs,
40 void readAllocs(std::vector<Alloc> &allocs, const char *path) {
56 Alloc a;
79 std::vector<Alloc> allocs;
/openbsd-current/gnu/llvm/compiler-rt/lib/xray/
H A Dxray_segmented_array.h164 AllocatorType *Alloc; member in class:__xray::Array
252 auto SegmentBlock = Alloc->Allocate();
297 : Alloc(&A),
303 Array() XRAY_NEVER_INSTRUMENT : Alloc(nullptr),
312 Array(Array &&O) XRAY_NEVER_INSTRUMENT : Alloc(O.Alloc),
317 O.Alloc = nullptr;
325 Alloc = O.Alloc;
326 O.Alloc
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm/ObjectYAML/
H A DCodeViewYAMLTypes.h55 ArrayRef<uint8_t> toDebugT(ArrayRef<LeafRecord>, BumpPtrAllocator &Alloc,
H A DCodeViewYAMLTypeHashing.h51 BumpPtrAllocator &Alloc);
/openbsd-current/gnu/llvm/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h58 CallStackTrieNode *Alloc; member in class:llvm::memprof::CallStackTrie
77 CallStackTrie() : Alloc(nullptr), AllocStackId(0) {}
78 ~CallStackTrie() { deleteTrieNode(Alloc); }
80 bool empty() const { return Alloc == nullptr; }
/openbsd-current/gnu/llvm/llvm/lib/IR/
H A DTypedPointerType.cpp28 Entry = new (CImpl->Alloc) TypedPointerType(EltTy, AddressSpace);
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp64 BlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) { argument
65 F = new CountMap::Factory(Alloc);

Completed in 224 milliseconds

1234567