/external/llvm/include/llvm/ADT/ |
ScopedHashTable.h | 35 #include "llvm/Support/Allocator.h" 64 AllocatorTy &Allocator) { 65 ScopedHashTableVal *New = Allocator.template Allocate<ScopedHashTableVal>(); 74 void Destroy(AllocatorTy &Allocator) { 77 Allocator.Deallocate(this); 156 AllocatorTy Allocator; 163 ScopedHashTable(AllocatorTy A) : CurScope(0), Allocator(A) {} 169 /// Access to the allocator. 172 AllocatorRefTy getAllocator() { return Allocator; } 173 AllocatorCRefTy getAllocator() const { return Allocator; } [all...] |
StringMap.h | 18 #include "llvm/Support/Allocator.h" 148 AllocatorTy &Allocator, 161 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment)); 178 AllocatorTy &Allocator) { 179 return Create(KeyStart, KeyEnd, Allocator, 0); 215 /// specified allocator. 217 void Destroy(AllocatorTy &Allocator) { 220 Allocator.Deallocate(this); 223 /// Destroy this object, releasing memory back to the malloc allocator. 237 AllocatorTy Allocator; [all...] |
ImmutableSet.h | 19 #include "llvm/Support/Allocator.h" 373 uintptr_t Allocator; 378 return Allocator & 0x1 ? false : true; 382 return *reinterpret_cast<BumpPtrAllocator*>(Allocator & ~0x1); 391 : Allocator(reinterpret_cast<uintptr_t>(new BumpPtrAllocator())) {} 394 : Allocator(reinterpret_cast<uintptr_t>(&Alloc) | 0x1) {} [all...] |
/external/llvm/include/llvm/CodeGen/ |
LiveIntervalUnion.h | 56 // LiveIntervalUnions share an external allocator. 57 typedef LiveSegments::Allocator Allocator; 66 explicit LiveIntervalUnion(Allocator &a) : Tag(0), Segments(a) {} 190 void init(LiveIntervalUnion::Allocator&, unsigned Size);
|
MachineFunction.h | 23 #include "llvm/Support/Allocator.h" 104 BumpPtrAllocator Allocator; 238 // This should be just `new (Allocator.Allocate<Ty>()) Ty(*this)', but 240 Ty *Loc = static_cast<Ty*>(Allocator.Allocate(sizeof(Ty), 420 return OperandRecycler.allocate(Cap, Allocator);
|
SelectionDAG.h | 163 /// Allocator - Pool allocation for misc. objects that are created once per 165 BumpPtrAllocator Allocator; [all...] |
/external/llvm/include/llvm/Support/ |
Allocator.h | 1 //===--- Allocator.h - Simple memory allocation abstraction -----*- C++ -*-===// 52 /// the bump allocator. 60 /// allocation strategy for the bump allocator. In particular, this is used 62 /// interface uses MemSlab's instead of void *'s so that the allocator 71 /// MallocSlabAllocator - The default slab allocator for the bump allocator 75 /// Allocator - The underlying allocator that we forward to. 77 MallocAllocator Allocator; 80 MallocSlabAllocator() : Allocator() { } [all...] |
TargetRegistry.h | [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
SSAUpdaterImpl.h | 20 #include "llvm/Support/Allocator.h" 67 BumpPtrAllocator Allocator; 104 BBInfo *Info = new (Allocator) BBInfo(BB, 0); 121 (Allocator.Allocate(Info->NumPreds * sizeof(BBInfo*), 136 BBInfo *PredInfo = new (Allocator) BBInfo(Pred, PredVal); 151 BBInfo *PseudoEntry = new (Allocator) BBInfo(0, 0);
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfAccelTable.h | 250 // Allocator for HashData and HashDataContents. 251 BumpPtrAllocator Allocator;
|
/external/llvm/lib/CodeGen/ |
SplitKit.h | 264 /// Allocator for the interval map. This will eventually be shared with 266 RegAssignMap::Allocator Allocator;
|
ExecutionDepsFix.cpp | 28 #include "llvm/Support/Allocator.h" 126 SpecificBumpPtrAllocator<DomainValue> Allocator; 202 new(Allocator.Allocate()) DomainValue : 717 Allocator.DestroyAll();
|
StrongPHIElimination.cpp | 149 BumpPtrAllocator Allocator; 396 Allocator.Reset(); 409 N = new (Allocator) Node(Reg);
|
/external/chromium_org/third_party/skia/include/core/ |
SkBitmap.h | 40 class Allocator; 302 /** Use the specified Allocator to create the pixelref that manages the 310 @param allocator The Allocator to use to create a pixelref that can 312 width/height/config. If allocator is NULL, the standard 321 bool allocPixels(Allocator* allocator, SkColorTable* ctable); 521 * @param allocator Allocator used to allocate the pixelref for the dst 526 bool copyTo(SkBitmap* dst, Config c, Allocator* allocator = NULL) const [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
heap-profile-table.h | 94 // Memory (de)allocator interface we'll use. 95 typedef void* (*Allocator)(size_t size); 100 HeapProfileTable(Allocator alloc, DeAllocator dealloc, bool profile_mmap); 450 // Memory (de)allocator that we use. 451 Allocator alloc_; 504 Snapshot(Allocator alloc, DeAllocator dealloc) : map_(alloc, dealloc) {
|
heap-checker.cc | 285 // HeapLeakChecker's own memory allocator that is 286 // independent of the normal program allocator. 295 class HeapLeakChecker::Allocator { 340 LowLevelAlloc::Arena* HeapLeakChecker::Allocator::arena_ = NULL; 341 int HeapLeakChecker::Allocator::alloc_count_ = 0; 372 HeapLeakChecker::Allocator> 386 STL_Allocator<AllocObject, HeapLeakChecker::Allocator> 390 // A special string type that uses my allocator 392 STL_Allocator<char, HeapLeakChecker::Allocator> 399 HeapLeakChecker::Allocator> [all...] |
/external/clang/include/clang/AST/ |
CommentLexer.h | 22 #include "llvm/Support/Allocator.h" 227 /// Allocator for strings that are semantic values of tokens and have to be 229 llvm::BumpPtrAllocator &Allocator; 356 Lexer(llvm::BumpPtrAllocator &Allocator, DiagnosticsEngine &Diags,
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_allocator_test.cc | 75 template <class Allocator> 77 Allocator *a = new Allocator; 79 SizeClassAllocatorLocalCache<Allocator> cache; 98 uptr class_id0 = Allocator::SizeClassMapT::ClassID(size); 111 CHECK_EQ(class_id, Allocator::SizeClassMapT::ClassID(size)); 156 template <class Allocator> 158 Allocator *a = new Allocator; 160 SizeClassAllocatorLocalCache<Allocator> cache 561 AllocatorCache::Allocator *allocator; member in struct:NewThreadParams 575 AllocatorCache::Allocator allocator; local [all...] |
/external/skia/include/core/ |
SkBitmap.h | 40 class Allocator; 302 /** Use the specified Allocator to create the pixelref that manages the 310 @param allocator The Allocator to use to create a pixelref that can 312 width/height/config. If allocator is NULL, the standard 321 bool allocPixels(Allocator* allocator, SkColorTable* ctable); 521 * @param allocator Allocator used to allocate the pixelref for the dst 526 bool copyTo(SkBitmap* dst, Config c, Allocator* allocator = NULL) const [all...] |
/external/clang/lib/AST/ |
CommentParser.cpp | 23 llvm::BumpPtrAllocator &Allocator; 138 TextTokenRetokenizer(llvm::BumpPtrAllocator &Allocator, Parser &P): 139 Allocator(Allocator), P(P), NoMoreInterestingTokens(false) { 169 char *TextPtr = Allocator.Allocate<char>(Length + 1); 214 char *TextPtr = Allocator.Allocate<char>(Length + 1); 248 Parser::Parser(Lexer &L, Sema &S, llvm::BumpPtrAllocator &Allocator, 251 L(L), S(S), Allocator(Allocator), SourceMgr(SourceMgr), Diags(Diags), 289 new (Allocator.Allocate<Argument>(NumArgs)) Argument[NumArgs] [all...] |
/external/clang/lib/Basic/ |
IdentifierTable.cpp | 491 llvm::BumpPtrAllocator Allocator; 518 return SelTabImpl.Allocator.getTotalMemory(); 540 (MultiKeywordSelector*)SelTabImpl.Allocator.Allocate(Size,
|
/external/llvm/include/llvm/MC/ |
MCContext.h | 19 #include "llvm/Support/Allocator.h" 64 /// Allocator - Allocator object used for creating machine code objects. 66 /// We use a bump pointer allocator to avoid the need to track all allocated 68 BumpPtrAllocator Allocator; 404 return Allocator.Allocate(Size, Align); 419 /// @brief Placement new for using the MCContext's allocator. 421 /// This placement form of operator new uses the MCContext's allocator for 423 /// null on error. (If that is what the allocator does. The current does, so if 437 /// @param C The MCContext that provides the allocator [all...] |
/external/compiler-rt/lib/asan/ |
asan_allocator2.cc | 12 // Implementation of ASan's memory allocator, 2-nd version. 13 // This variant uses the allocator from sanitizer_common, i.e. the one shared 83 SecondaryAllocator> Allocator; 94 static Allocator allocator; member in namespace:__asan 102 // Every chunk of memory allocated by this allocator can be in one of 3 states: 140 // The memory chunk allocated from the underlying allocator looks like this: 192 return *reinterpret_cast<uptr *>(allocator.GetMetaData(AllocBeg())); 196 return allocator.GetBlockBegin(reinterpret_cast<void *>(this)); 283 // Clear the magic value, as allocator internals may overwrite th [all...] |
/external/openfst/src/include/fst/ |
cache.h | 55 // A simple allocator class, can be overridden as needed, 106 typedef C Allocator; 120 explicit CacheBaseImpl(C *allocator = 0) 128 allocator_ = allocator ? allocator : new C(); 131 explicit CacheBaseImpl(const CacheOptions &opts, C *allocator = 0) 138 allocator_ = allocator ? allocator : new C(); 514 // With Default allocator, the Free and Allocate will reuse the same S*.
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
heap-checker.cc | 285 // HeapLeakChecker's own memory allocator that is 286 // independent of the normal program allocator. 295 class HeapLeakChecker::Allocator { 340 LowLevelAlloc::Arena* HeapLeakChecker::Allocator::arena_ = NULL; 341 int HeapLeakChecker::Allocator::alloc_count_ = 0; 372 HeapLeakChecker::Allocator> 386 STL_Allocator<AllocObject, HeapLeakChecker::Allocator> 390 // A special string type that uses my allocator 392 STL_Allocator<char, HeapLeakChecker::Allocator> 399 HeapLeakChecker::Allocator> [all...] |