/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Allocator.cpp | 23 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/ |
D | Allocator.h | 90 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/ |
D | AllocatorTest.cpp | 19 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/ |
D | AllocatorTest.cpp | 20 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/ |
D | ImmutableList.h | 152 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/ |
D | ImmutableList.h | 151 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/ |
D | StringSaver.h | 22 BumpPtrAllocator &Alloc; 25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} in StringSaver()
|
D | YAMLParser.h | 138 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/ |
D | StringSaver.h | 22 BumpPtrAllocator &Alloc; 25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} in StringSaver()
|
D | YAMLParser.h | 141 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/ |
D | DwarfStringPool.h | 30 StringMap<EntryTy, BumpPtrAllocator &> Pool; 38 DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, StringRef Prefix);
|
D | DwarfFile.h | 41 BumpPtrAllocator AbbrevAllocator; 66 DwarfFile(AsmPrinter *AP, StringRef Pref, BumpPtrAllocator &DA);
|
D | DwarfAccelTable.h | 228 BumpPtrAllocator Allocator; 235 typedef StringMap<DataArray, BumpPtrAllocator &> StringEntries;
|
/external/clang/include/clang/Analysis/Support/ |
D | BumpVector.h | 33 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/ |
D | FileManager.h | 143 llvm::StringMap<DirectoryEntry*, llvm::BumpPtrAllocator> SeenDirEntries; 149 llvm::StringMap<FileEntry*, llvm::BumpPtrAllocator> SeenFileEntries; 155 llvm::BumpPtrAllocator CanonicalNameStorage;
|
D | FileSystemStatCache.h | 116 llvm::StringMap<FileData, llvm::BumpPtrAllocator> StatCalls; 118 typedef llvm::StringMap<FileData, llvm::BumpPtrAllocator>::const_iterator
|
/external/clang/include/clang/AST/ |
D | CommentCommandTraits.h | 137 CommandTraits(llvm::BumpPtrAllocator &Allocator, 180 llvm::BumpPtrAllocator &Allocator;
|
D | CommentParser.h | 41 llvm::BumpPtrAllocator &Allocator; 89 Parser(Lexer &L, Sema &S, llvm::BumpPtrAllocator &Allocator,
|
D | CommentSema.h | 38 llvm::BumpPtrAllocator &Allocator; 73 Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr,
|
/external/llvm/include/llvm/DebugInfo/PDB/Raw/ |
D | MappedBlockStream.h | 48 llvm::BumpPtrAllocator &getAllocator() { return Pool; } in getAllocator() 61 mutable llvm::BumpPtrAllocator Pool;
|
/external/swiftshader/third_party/LLVM/include/llvm/MC/ |
D | MCContext.h | 44 typedef StringMap<MCSymbol*, BumpPtrAllocator&> SymbolTable; 60 BumpPtrAllocator Allocator; 67 StringMap<bool, BumpPtrAllocator&> UsedNames;
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | ProgramStateTrait.h | 88 static void *CreateContext(llvm::BumpPtrAllocator& Alloc) { 140 static void *CreateContext(llvm::BumpPtrAllocator& Alloc) { 179 static void *CreateContext(llvm::BumpPtrAllocator& Alloc) {
|
D | BlockCounter.h | 44 Factory(llvm::BumpPtrAllocator& Alloc);
|
/external/clang/include/clang/Lex/ |
D | HeaderSearch.h | 200 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/ |
D | LiveInterval.h | 48 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()
|