Home
last modified time | relevance | path

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

12345

/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()
78 BumpPtrAllocator Alloc; in TEST()
99 BumpPtrAllocator Alloc; in TEST()
112 BumpPtrAllocator Alloc; in TEST()
120 BumpPtrAllocator Alloc; in TEST()
/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()
DImmutableSet.h381 BumpPtrAllocator& getAllocator() const { in getAllocator()
382 return *reinterpret_cast<BumpPtrAllocator*>(Allocator & ~0x1); in getAllocator()
391 : Allocator(reinterpret_cast<uintptr_t>(new BumpPtrAllocator())) {} in ImutAVLFactory()
393 ImutAVLFactory(BumpPtrAllocator& Alloc) in ImutAVLFactory()
462 BumpPtrAllocator& A = getAllocator(); in createNode()
998 Factory(BumpPtrAllocator& Alloc, bool canonicalize = true)
1030 BumpPtrAllocator& getAllocator() { return F.getAllocator(); }
/external/clang/include/clang/Analysis/Support/
DBumpVector.h33 llvm::PointerIntPair<llvm::BumpPtrAllocator*, 1> Alloc;
37 BumpVectorContext() : Alloc(new llvm::BumpPtrAllocator(), 1) {} in BumpVectorContext()
42 BumpVectorContext(llvm::BumpPtrAllocator &A) : Alloc(&A, 0) {} in BumpVectorContext()
49 llvm::BumpPtrAllocator &getAllocator() { return *Alloc.getPointer(); } in getAllocator()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfStringPool.h28 StringMap<std::pair<MCSymbol *, unsigned>, BumpPtrAllocator &> Pool;
32 DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, StringRef Prefix) in DwarfStringPool()
DDwarfAccelTable.h229 BumpPtrAllocator Allocator;
236 typedef StringMap<DataArray, BumpPtrAllocator &> StringEntries;
DDwarfStringPool.cpp17 StringMap<std::pair<MCSymbol *, unsigned>, BumpPtrAllocator &> &Pool, in getEntry()
DDwarfFile.h63 DwarfFile(AsmPrinter *AP, StringRef Pref, BumpPtrAllocator &DA);
/external/clang/include/clang/Basic/
DFileManager.h149 llvm::StringMap<DirectoryEntry*, llvm::BumpPtrAllocator> SeenDirEntries;
155 llvm::StringMap<FileEntry*, llvm::BumpPtrAllocator> SeenFileEntries;
161 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;
93 Parser(Lexer &L, Sema &S, llvm::BumpPtrAllocator &Allocator,
DCommentSema.h38 llvm::BumpPtrAllocator &Allocator;
73 Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr,
DCommentLexer.h229 llvm::BumpPtrAllocator &Allocator;
346 Lexer(llvm::BumpPtrAllocator &Allocator, DiagnosticsEngine &Diags,
/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);
DBasicValueFactory.h67 llvm::BumpPtrAllocator& BPAlloc;
82 BasicValueFactory(ASTContext &ctx, llvm::BumpPtrAllocator &Alloc) in BasicValueFactory()
/external/clang/include/clang/Lex/
DHeaderSearch.h212 llvm::StringMap<LookupFileCacheInfo, llvm::BumpPtrAllocator> LookupFileCache;
216 llvm::StringMap<FrameworkCacheEntry, llvm::BumpPtrAllocator> FrameworkMap;
221 typedef llvm::StringMap<std::string, llvm::BumpPtrAllocator>
241 llvm::StringSet<llvm::BumpPtrAllocator> FrameworkNames;
/external/llvm/include/llvm/Support/
DYAMLParser.h138 BumpPtrAllocator &getAllocator();
146 void *operator new(size_t Size, BumpPtrAllocator &Alloc,
151 void operator delete(void *Ptr, BumpPtrAllocator &Alloc, size_t Size) throw() { in delete()
489 BumpPtrAllocator NodeAllocator;
DAllocator.h355 typedef BumpPtrAllocatorImpl<> BumpPtrAllocator; typedef
363 BumpPtrAllocator Allocator;
388 size_t AllocatedSlabSize = BumpPtrAllocator::computeSlabSize( in DestroyAll()
/external/llvm/include/llvm/CodeGen/
DLiveInterval.h47 typedef BumpPtrAllocator Allocator;
227 LiveRange(const LiveRange &Other, BumpPtrAllocator &Allocator) { in LiveRange()
607 BumpPtrAllocator &Allocator) in SubRange()
680 SubRange *createSubRange(BumpPtrAllocator &Allocator, unsigned LaneMask) { in createSubRange()
688 SubRange *createSubRangeFrom(BumpPtrAllocator &Allocator, unsigned LaneMask, in createSubRangeFrom()
/external/llvm/include/llvm/IR/
DPredIteratorCache.h33 BumpPtrAllocator Memory;
/external/llvm/include/llvm/MC/
DMCContext.h51 typedef StringMap<MCSymbol*, BumpPtrAllocator&> SymbolTable;
69 BumpPtrAllocator Allocator;
88 StringMap<bool, BumpPtrAllocator&> UsedNames;
/external/clang/lib/AST/
DRawCommentList.cpp125 llvm::BumpPtrAllocator Allocator; in extractBriefText()
214 llvm::BumpPtrAllocator &Allocator) { in addComment()
/external/clang/lib/StaticAnalyzer/Core/
DBlockCounter.cpp65 BlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) { in Factory()

12345