Home
last modified time | relevance | path

Searched refs:BumpPtrAllocator (Results 1 – 25 of 161) sorted by relevance

1234567

/external/swiftshader/third_party/LLVM/lib/Support/
DAllocator.cpp23 BumpPtrAllocator::BumpPtrAllocator(size_t size, size_t threshold, in BumpPtrAllocator() function in llvm::BumpPtrAllocator
28 BumpPtrAllocator::~BumpPtrAllocator() { in ~BumpPtrAllocator()
35 char *BumpPtrAllocator::AlignPtr(char *Ptr, size_t Alignment) { in AlignPtr()
46 void BumpPtrAllocator::StartNewSlab() { in StartNewSlab()
62 void BumpPtrAllocator::DeallocateSlabs(MemSlab *Slab) { in DeallocateSlabs()
78 void BumpPtrAllocator::Reset() { in Reset()
89 void *BumpPtrAllocator::Allocate(size_t Size, size_t Alignment) { in Allocate()
131 unsigned BumpPtrAllocator::GetNumSlabs() const { in GetNumSlabs()
139 size_t BumpPtrAllocator::getTotalMemory() const { in getTotalMemory()
147 void BumpPtrAllocator::PrintStats() const { in PrintStats()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DAllocator.h90 class BumpPtrAllocator {
91 BumpPtrAllocator(const BumpPtrAllocator &); // do not implement
92 void operator=(const BumpPtrAllocator &); // do not implement
140 BumpPtrAllocator(size_t size = 4096, size_t threshold = 4096,
142 ~BumpPtrAllocator();
190 BumpPtrAllocator Allocator;
193 SlabAllocator &allocator = BumpPtrAllocator::DefaultSlabAllocator)
226 inline void *operator new(size_t Size, llvm::BumpPtrAllocator &Allocator) {
240 inline void operator delete(void *, llvm::BumpPtrAllocator &) {}
/external/llvm/unittests/Support/
DAllocatorTest.cpp19 BumpPtrAllocator Alloc; in TEST()
33 BumpPtrAllocator Alloc2 = std::move(Alloc); in TEST()
51 BumpPtrAllocator Alloc; in TEST()
63 BumpPtrAllocator Alloc; in TEST()
85 BumpPtrAllocator Alloc; in TEST()
106 BumpPtrAllocator Alloc; in TEST()
119 BumpPtrAllocator Alloc; in TEST()
127 BumpPtrAllocator Alloc; in TEST()
/external/swiftshader/third_party/LLVM/unittests/Support/
DAllocatorTest.cpp20 BumpPtrAllocator Alloc; in TEST()
37 BumpPtrAllocator Alloc(4096, 4096); in TEST()
49 BumpPtrAllocator Alloc(4096, 4096); in TEST()
64 BumpPtrAllocator Alloc; in TEST()
85 BumpPtrAllocator Alloc(4096, 4096); in TEST()
137 BumpPtrAllocator Alloc(4096, 4096, SlabAlloc); in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DImmutableList.h152 BumpPtrAllocator& getAllocator() const { in getAllocator()
153 return *reinterpret_cast<BumpPtrAllocator*>(Allocator & ~0x1); in getAllocator()
158 : Allocator(reinterpret_cast<uintptr_t>(new BumpPtrAllocator())) {} in ImmutableListFactory()
160 ImmutableListFactory(BumpPtrAllocator& Alloc) in ImmutableListFactory()
178 BumpPtrAllocator& A = getAllocator(); in concat()
/external/llvm/include/llvm/ADT/
DImmutableList.h151 BumpPtrAllocator& getAllocator() const { in getAllocator()
152 return *reinterpret_cast<BumpPtrAllocator*>(Allocator & ~0x1); in getAllocator()
157 : Allocator(reinterpret_cast<uintptr_t>(new BumpPtrAllocator())) {} in ImmutableListFactory()
159 ImmutableListFactory(BumpPtrAllocator& Alloc) in ImmutableListFactory()
177 BumpPtrAllocator& A = getAllocator(); in concat()
/external/llvm/include/llvm/Support/
DStringSaver.h22 BumpPtrAllocator &Alloc;
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} in StringSaver()
DYAMLParser.h138 BumpPtrAllocator &getAllocator();
146 void *operator new(size_t Size, BumpPtrAllocator &Alloc,
151 void operator delete(void *Ptr, BumpPtrAllocator &Alloc, in delete()
534 BumpPtrAllocator NodeAllocator;
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DStringSaver.h22 BumpPtrAllocator &Alloc;
25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} in StringSaver()
DYAMLParser.h141 BumpPtrAllocator &getAllocator();
149 void *operator new(size_t Size, BumpPtrAllocator &Alloc,
154 void operator delete(void *Ptr, BumpPtrAllocator &Alloc, in delete()
537 BumpPtrAllocator NodeAllocator;
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfStringPool.h30 StringMap<EntryTy, BumpPtrAllocator &> Pool;
38 DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, StringRef Prefix);
DDwarfFile.h41 BumpPtrAllocator AbbrevAllocator;
66 DwarfFile(AsmPrinter *AP, StringRef Pref, BumpPtrAllocator &DA);
DDwarfAccelTable.h228 BumpPtrAllocator Allocator;
235 typedef StringMap<DataArray, BumpPtrAllocator &> StringEntries;
/external/clang/include/clang/Analysis/Support/
DBumpVector.h33 llvm::PointerIntPair<llvm::BumpPtrAllocator*, 1> Alloc;
37 BumpVectorContext() : Alloc(new llvm::BumpPtrAllocator(), 1) {} in BumpVectorContext()
47 BumpVectorContext(llvm::BumpPtrAllocator &A) : Alloc(&A, 0) {} in BumpVectorContext()
54 llvm::BumpPtrAllocator &getAllocator() { return *Alloc.getPointer(); } in getAllocator()
/external/clang/include/clang/Basic/
DFileManager.h143 llvm::StringMap<DirectoryEntry*, llvm::BumpPtrAllocator> SeenDirEntries;
149 llvm::StringMap<FileEntry*, llvm::BumpPtrAllocator> SeenFileEntries;
155 llvm::BumpPtrAllocator CanonicalNameStorage;
DFileSystemStatCache.h116 llvm::StringMap<FileData, llvm::BumpPtrAllocator> StatCalls;
118 typedef llvm::StringMap<FileData, llvm::BumpPtrAllocator>::const_iterator
/external/clang/include/clang/AST/
DCommentCommandTraits.h137 CommandTraits(llvm::BumpPtrAllocator &Allocator,
180 llvm::BumpPtrAllocator &Allocator;
DCommentParser.h41 llvm::BumpPtrAllocator &Allocator;
89 Parser(Lexer &L, Sema &S, llvm::BumpPtrAllocator &Allocator,
DCommentSema.h38 llvm::BumpPtrAllocator &Allocator;
73 Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr,
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DMappedBlockStream.h48 llvm::BumpPtrAllocator &getAllocator() { return Pool; } in getAllocator()
61 mutable llvm::BumpPtrAllocator Pool;
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCContext.h44 typedef StringMap<MCSymbol*, BumpPtrAllocator&> SymbolTable;
60 BumpPtrAllocator Allocator;
67 StringMap<bool, BumpPtrAllocator&> UsedNames;
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DProgramStateTrait.h88 static void *CreateContext(llvm::BumpPtrAllocator& Alloc) {
140 static void *CreateContext(llvm::BumpPtrAllocator& Alloc) {
179 static void *CreateContext(llvm::BumpPtrAllocator& Alloc) {
DBlockCounter.h44 Factory(llvm::BumpPtrAllocator& Alloc);
/external/clang/include/clang/Lex/
DHeaderSearch.h200 llvm::StringMap<LookupFileCacheInfo, llvm::BumpPtrAllocator> LookupFileCache;
204 llvm::StringMap<FrameworkCacheEntry, llvm::BumpPtrAllocator> FrameworkMap;
209 typedef llvm::StringMap<std::string, llvm::BumpPtrAllocator>
229 llvm::StringSet<llvm::BumpPtrAllocator> FrameworkNames;
/external/llvm/include/llvm/CodeGen/
DLiveInterval.h48 typedef BumpPtrAllocator Allocator;
228 LiveRange(const LiveRange &Other, BumpPtrAllocator &Allocator) { in LiveRange()
613 BumpPtrAllocator &Allocator) in SubRange()
689 SubRange *createSubRange(BumpPtrAllocator &Allocator, in createSubRange()
698 SubRange *createSubRangeFrom(BumpPtrAllocator &Allocator, in createSubRangeFrom()

1234567