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

1234

/freebsd-11-stable/contrib/libstdc++/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...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DStringSaver.h22 BumpPtrAllocator &Alloc; member in class:llvm::final
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} argument
47 UniqueStringSaver(BumpPtrAllocator &Alloc) : Strings(Alloc) {} argument
H A DInitLLVM.h45 BumpPtrAllocator Alloc; member in class:llvm::InitLLVM
/freebsd-11-stable/contrib/llvm-project/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...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DStringSaver.cpp14 char *P = Alloc.Allocate<char>(S.size() + 1);
H A DInitLLVM.cpp45 ExitOnErr(errorCodeToError(windows::GetCommandLineArguments(Args, Alloc)));
H A DItaniumManglingCanonicalizer.cpp227 auto &Alloc = P->Demangler.ASTAllocator; local
228 Alloc.setCreateNewNodes(true);
270 return std::make_pair(N, Alloc.isMostRecentlyCreated(N));
280 Alloc.trackUsesOf(FirstNode);
289 if (FirstIsNew && !Alloc.trackedNodeIsUsed())
290 Alloc.addRemapping(FirstNode, SecondNode);
292 Alloc.addRemapping(SecondNode, FirstNode);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBlockCounter.h43 Factory(llvm::BumpPtrAllocator& Alloc);
H A DProgramStateTrait.h183 static void *CreateContext(llvm::BumpPtrAllocator& Alloc) { argument
184 return new typename data_type::Factory(Alloc);
224 static void *CreateContext(llvm::BumpPtrAllocator &Alloc) { argument
225 return new typename data_type::Factory(Alloc);
261 static void *CreateContext(llvm::BumpPtrAllocator &Alloc) { argument
262 return new typename data_type::Factory(Alloc);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcRemoteTargetClient.h78 uint8_t *Alloc = reinterpret_cast<uint8_t *>( variable
81 << SectionName << ": " << Alloc << " (" << Size
83 return Alloc;
91 uint8_t *Alloc = reinterpret_cast<uint8_t *>( variable
94 << SectionName << ": " << Alloc << " (" << Size
96 return Alloc;
100 uint8_t *Alloc = reinterpret_cast<uint8_t *>( variable
103 << SectionName << ": " << Alloc << " (" << Size
105 return Alloc;
216 class Alloc { class in class:llvm::orc::remote::OrcRemoteTargetClient::RemoteRTDyldMemoryManager
218 Alloc(uint64_t Size, unsigned Align) function in class:llvm::orc::remote::OrcRemoteTargetClient::RemoteRTDyldMemoryManager::Alloc
[all...]
/freebsd-11-stable/contrib/llvm-project/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...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DCodeViewYAMLTypeHashing.h51 BumpPtrAllocator &Alloc);
H A DCodeViewYAMLTypes.h55 ArrayRef<uint8_t> toDebugT(ArrayRef<LeafRecord>, BumpPtrAllocator &Alloc,
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBlockCounter.cpp64 BlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) { argument
65 F = new CountMap::Factory(Alloc);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkGeneric.cpp103 if (auto Err = copyAndFixUpBlocks(Layout, *Alloc))
121 Alloc->finalizeAsync(std::move(Phase3Continuation));
127 Ctx->notifyFinalized(std::move(Alloc));
228 Alloc = std::move(*AllocOrErr);
237 << (const void *)Alloc->getWorkingMemory(Prot).data() << "\n";
247 Alloc->getTargetMemory(static_cast<sys::Memory::ProtectionFlags>(Prot));
307 assert(Alloc && "can not call deallocateAndBailOut before allocation");
308 Ctx->notifyFailed(joinErrors(std::move(Err), Alloc->deallocate()));
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flag_parser.cpp22 LowLevelAllocator FlagParser::Alloc; member in class:__sanitizer::FlagParser
52 char *s2 = (char*)Alloc.Allocate(len + 1);
188 flags_ = (Flag *)Alloc.Allocate(sizeof(Flag) * kMaxFlags);
H A Dsanitizer_flags.cpp103 FlagHandlerInclude *fh_include = new (FlagParser::Alloc)
107 FlagHandlerInclude *fh_include_if_exists = new (FlagParser::Alloc)
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.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) {
2553 template <typename Derived, typename Alloc>
2554 Node *AbstractManglingParser<Derived, Alloc>::parseLocalName(NameState *State) {
2589 template <typename Derived, typename Alloc>
2591 AbstractManglingParser<Derived, Alloc>::parseUnscopedName(NameState *State) {
2606 template <typename Derived, typename Alloc>
2608 AbstractManglingParser<Derived, Alloc>
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/tools/driver/
H A Dcc1_main.cpp125 volatile char *volatile Alloc =
127 Alloc[0] = 0;
128 Alloc[kTargetStack - Curr - 1] = 0;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeCalc.cpp59 Alloc = VNIA;
64 static void createDeadDef(SlotIndexes &Indexes, VNInfo::Allocator &Alloc, argument
71 LR.createDeadDef(DefIdx, Alloc);
94 LI.createSubRangeFrom(*Alloc, ClassMask, LI);
97 LI.refineSubRanges(*Alloc, SubMask,
100 createDeadDef(*Indexes, *Alloc, SR, MO);
108 createDeadDef(*Indexes, *Alloc, LI, MO);
120 SubLRC.reset(MF, Indexes, DomTree, Alloc);
140 MainRange.createDeadDef(VNI->def, *Alloc);
153 createDeadDef(*Indexes, *Alloc, L
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypeHashing.cpp68 BumpPtrAllocator &Alloc) {
70 uint8_t *Data = Alloc.Allocate<uint8_t>(Size);
67 toDebugH(const DebugHSection &DebugH, BumpPtrAllocator &Alloc) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
H A DExpandResponseFilesCompilationDatabase.cpp60 llvm::BumpPtrAllocator Alloc; local
61 llvm::StringSaver Saver(Alloc);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DMergingTypeTableBuilder.cpp83 static inline ArrayRef<uint8_t> stabilize(BumpPtrAllocator &Alloc, argument
85 uint8_t *Stable = Alloc.Allocate<uint8_t>(Data.size());
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCWin64EH.h29 static WinEH::Instruction Alloc(MCSymbol *L, unsigned Size) { function in struct:llvm::Win64EH::Instruction

Completed in 209 milliseconds

1234