| /freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| HD | Synthesis.cpp | 50 auto *Leaf = new (A.getAllocator()) syntax::Leaf( in createLeaf() 76 return new (A.getAllocator()) syntax::TranslationUnit; in allocateTree() 78 return new (A.getAllocator()) syntax::UnknownExpression; in allocateTree() 80 return new (A.getAllocator()) syntax::ParenExpression; in allocateTree() 82 return new (A.getAllocator()) syntax::ThisExpression; in allocateTree() 84 return new (A.getAllocator()) syntax::IntegerLiteralExpression; in allocateTree() 86 return new (A.getAllocator()) syntax::CharacterLiteralExpression; in allocateTree() 88 return new (A.getAllocator()) syntax::FloatingLiteralExpression; in allocateTree() 90 return new (A.getAllocator()) syntax::StringLiteralExpression; in allocateTree() 92 return new (A.getAllocator()) syntax::BoolLiteralExpression; in allocateTree() [all …]
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| HD | OutputSections.h | 158 ListDebugStrPatch(&GlobalData.getAllocator()), in SectionDescriptor() 159 ListDebugLineStrPatch(&GlobalData.getAllocator()), in SectionDescriptor() 160 ListDebugRangePatch(&GlobalData.getAllocator()), in SectionDescriptor() 161 ListDebugLocPatch(&GlobalData.getAllocator()), in SectionDescriptor() 162 ListDebugDieRefPatch(&GlobalData.getAllocator()), in SectionDescriptor() 163 ListDebugULEB128DieRefPatch(&GlobalData.getAllocator()), in SectionDescriptor() 164 ListDebugOffsetPatch(&GlobalData.getAllocator()), in SectionDescriptor() 165 ListDebugDieTypeRefPatch(&GlobalData.getAllocator()), in SectionDescriptor() 166 ListDebugType2TypeDieRefPatch(&GlobalData.getAllocator()), in SectionDescriptor() 167 ListDebugTypeStrPatch(&GlobalData.getAllocator()), in SectionDescriptor() [all …]
|
| HD | StringEntryToDwarfStringPoolEntryMap.h | 34 GlobalData.getAllocator() in add()
|
| HD | DWARFLinkerGlobalData.h | 90 llvm::parallel::PerThreadBumpPtrAllocator &getAllocator() { in getAllocator() function
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
| HD | AllocatorBase.h | 115 Alloc &getAllocator() { return *this; } in getAllocator() function 116 const Alloc &getAllocator() const { return *this; } in getAllocator() function 124 Alloc &getAllocator() { return A; } in getAllocator() function 125 const Alloc &getAllocator() const { return A; } in getAllocator() function
|
| HD | Allocator.h | 87 : AllocTy(std::move(Old.getAllocator())), CurPtr(Old.CurPtr), in BumpPtrAllocatorImpl() 112 AllocTy::operator=(std::move(RHS.getAllocator())); 185 this->getAllocator().Allocate(PaddedSize, alignof(std::max_align_t)); in AllocateSlow() 344 void *NewSlab = this->getAllocator().Allocate(AllocatedSlabSize, in StartNewSlab() 361 this->getAllocator().Deallocate(*I, AllocatedSlabSize, in DeallocateSlabs() 371 this->getAllocator().Deallocate(Ptr, Size, alignof(std::max_align_t)); in DeallocateCustomSizedSlabs()
|
| HD | StringSaver.h | 27 BumpPtrAllocator &getAllocator() const { return Alloc; } in getAllocator() function
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
| HD | SemaCodeComplete.cpp | 302 CodeCompletionAllocator &getAllocator() const { return Allocator; } in getAllocator() function in __anonce890aa20111::ResultBuilder 1814 CodeCompletionBuilder Builder(Results.getAllocator(), in AddTypeSpecifierResults() 1879 CodeCompletionAllocator &Allocator = Results.getAllocator(); in AddStorageSpecifiers() 1942 CodeCompletionBuilder Builder(Results.getAllocator(), in AddTypedefResult() 2056 CodeCompletionAllocator &Allocator = Results.getAllocator(); in addThisCompletion() 2137 CodeCompletionAllocator &Allocator = Results.getAllocator(); in AddOrdinaryNameResults() 2820 GetCompletionTypeString(T, Context, Policy, Result.getAllocator())); in AddResultTypeChunk() 3124 CodeCompletionBuilder Opt(Result.getAllocator(), in AddFunctionParameterChunks() 3151 Result.getAllocator().CopyString(PlaceholderStr)); in AddFunctionParameterChunks() 3221 CodeCompletionBuilder Opt(Result.getAllocator(), in AddTemplateParameterChunks() [all …]
|
| HD | CodeCompleteConsumer.cpp | 437 void *Mem = getAllocator().Allocate( in TakeString() 677 SemaRef, Context, getAllocator(), CCTUInfo, in ProcessCodeCompleteResults() 692 SemaRef, Context, getAllocator(), CCTUInfo, in ProcessCodeCompleteResults() 764 CurrentArg, SemaRef, getAllocator(), CCTUInfo, in ProcessOverloadCandidates()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
| HD | StringMap.h | 152 : StringMapImpl(std::move(RHS)), AllocTy(std::move(RHS.getAllocator())) {} in StringMap() 156 AllocTy(RHS.getAllocator()) { in StringMap() 176 static_cast<MapEntryTy *>(Bucket)->getKey(), getAllocator(), in StringMap() 191 std::swap(getAllocator(), RHS.getAllocator()); 203 static_cast<MapEntryTy *>(Bucket)->Destroy(getAllocator()); in ~StringMap() 209 using AllocTy::getAllocator; 385 MapEntryTy::create(Key, getAllocator(), std::forward<ArgsTy>(Args)...); in try_emplace_with_hash() 403 static_cast<MapEntryTy *>(Bucket)->Destroy(getAllocator()); in clear() 419 V.Destroy(getAllocator()); in erase()
|
| HD | ImmutableList.h | 161 BumpPtrAllocator& getAllocator() const { in getAllocator() function 173 if (ownsAllocator()) delete &getAllocator(); in ~ImmutableListFactory() 188 BumpPtrAllocator& A = getAllocator(); in concat()
|
| HD | ScopedHashTable.h | 178 using AllocTy::getAllocator; 219 getAllocator()); in insertIntoScope() 256 ThisEntry->Destroy(HT.getAllocator()); in ~ScopedHashTableScope()
|
| HD | ImmutableSet.h | 376 BumpPtrAllocator& getAllocator() const { 392 if (ownsAllocator()) delete &getAllocator(); 456 BumpPtrAllocator& A = getAllocator(); 1016 BumpPtrAllocator& getAllocator() { return F.getAllocator(); }
|
| /freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
| HD | CodeCompleteConsumer.h | 673 CodeCompletionAllocator &getAllocator() const { in getAllocator() function 716 CodeCompletionAllocator &getAllocator() const { return Allocator; } in getAllocator() function 1238 virtual CodeCompletionAllocator &getAllocator() = 0; 1289 CodeCompletionAllocator &getAllocator() override { in getAllocator() function 1290 return CCTUInfo.getAllocator(); in getAllocator()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| HD | GSIStreamBuilder.cpp | 367 addGlobalSymbol(SymbolSerializer::writeOneSymbol(Copy, Msf.getAllocator(), in serializeAndAddGlobal() 484 Layout, Buffer, getGlobalsStreamIndex(), Msf.getAllocator()); in commit() 486 Layout, Buffer, getPublicsStreamIndex(), Msf.getAllocator()); in commit() 488 Layout, Buffer, getRecordStreamIndex(), Msf.getAllocator()); in commit()
|
| HD | InfoStreamBuilder.cpp | 61 Layout, Buffer, StreamPDB, Msf.getAllocator()); in commit()
|
| /freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/Support/ |
| HD | BumpVector.h | 64 llvm::BumpPtrAllocator &getAllocator() { return *Alloc.getPointer(); } in getAllocator() function 242 T *NewElts = C.getAllocator().template Allocate<T>(NewCapacity); in grow()
|
| /freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/ |
| HD | IdentifierTable.h | 682 llvm::BumpPtrAllocator& getAllocator() { in getAllocator() function 683 return HashTable.getAllocator(); in getAllocator() 702 void *Mem = getAllocator().Allocate<IdentifierInfo>(); in get() 733 void *Mem = getAllocator().Allocate<IdentifierInfo>(); in getOwn()
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| HD | ExplodedGraph.cpp | 236 V = new (G.getAllocator()) ExplodedNodeVector(Ctx, 4); in addNode() 410 V = getAllocator().Allocate<NodeTy>(); in getNode() 434 NodeTy *V = getAllocator().Allocate<NodeTy>(); in createUncachedNode()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| HD | AppendingTypeTableBuilder.h | 52 BumpPtrAllocator &getAllocator() { return RecordStorage; } in getAllocator() function
|
| HD | MergingTypeTableBuilder.h | 61 BumpPtrAllocator &getAllocator() { return RecordStorage; } in getAllocator() function
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
| HD | RawCommentList.cpp | 210 comments::Lexer L(Context.getAllocator(), Context.getDiagnostics(), in parse() 214 comments::Sema S(Context.getAllocator(), Context.getSourceManager(), in parse() 219 comments::Parser P(L, S, Context.getAllocator(), Context.getSourceManager(), in parse()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/MSF/ |
| HD | MSFBuilder.h | 119 BumpPtrAllocator &getAllocator() { return Allocator; } in getAllocator() function
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
| HD | YAMLParser.cpp | 2020 BumpPtrAllocator &Node::getAllocator() { in getAllocator() function in Node 2267 return Key = new (getAllocator()) NullNode(Doc); in getKey() 2276 return Key = new (getAllocator()) NullNode(Doc); in getKey() 2291 return Value = new (getAllocator()) NullNode(Doc); in getValue() 2295 return Value = new (getAllocator()) NullNode(Doc); in getValue() 2305 return Value = new (getAllocator()) NullNode(Doc); in getValue() 2310 return Value = new (getAllocator()) NullNode(Doc); in getValue() 2318 return Value = new (getAllocator()) NullNode(Doc); in getValue() 2342 CurrentEntry = new (getAllocator()) KeyValueNode(Doc); in increment()
|
| /freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
| HD | InterpState.h | 106 DynamicAllocator &getAllocator() { return Alloc; } in getAllocator() function
|