HomeSort by relevance Sort by last modified time
    Searched defs:Allocator (Results 251 - 275 of 505) sorted by null

<<11121314151617181920>>

  /prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/ExecutionEngine/Orc/
OrcRemoteTargetServer.h 108 struct Allocator {
109 Allocator() = default;
110 Allocator(Allocator &&Other) : Allocs(std::move(Other.Allocs)) {}
112 Allocator &operator=(Allocator &&Other) {
117 ~Allocator() {
214 DEBUG(dbgs() << " Created allocator " << Id << "\n");
215 Allocators[Id] = Allocator();
243 DEBUG(dbgs() << " Destroyed allocator " << Id << "\n")
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/ExecutionEngine/Orc/
OrcRemoteTargetServer.h 108 struct Allocator {
109 Allocator() = default;
110 Allocator(Allocator &&Other) : Allocs(std::move(Other.Allocs)) {}
112 Allocator &operator=(Allocator &&Other) {
117 ~Allocator() {
214 DEBUG(dbgs() << " Created allocator " << Id << "\n");
215 Allocators[Id] = Allocator();
243 DEBUG(dbgs() << " Destroyed allocator " << Id << "\n")
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/ExecutionEngine/Orc/
OrcRemoteTargetServer.h 108 struct Allocator {
109 Allocator() = default;
110 Allocator(Allocator &&Other) : Allocs(std::move(Other.Allocs)) {}
112 Allocator &operator=(Allocator &&Other) {
117 ~Allocator() {
214 DEBUG(dbgs() << " Created allocator " << Id << "\n");
215 Allocators[Id] = Allocator();
243 DEBUG(dbgs() << " Destroyed allocator " << Id << "\n")
    [all...]
  /hardware/qcom/display/msm8996/libgralloc1/
gr_allocator.cpp 77 Allocator::Allocator() : ion_allocator_(NULL), adreno_helper_(NULL) {
80 bool Allocator::Init() {
94 Allocator::~Allocator() {
104 int Allocator::AllocateMem(AllocData *alloc_data, gralloc1_producer_usage_t prod_usage,
124 int Allocator::MapBuffer(void **base, unsigned int size, unsigned int offset, int fd) {
132 int Allocator::ImportBuffer(int fd) {
139 int Allocator::FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd,
148 int Allocator::CleanBuffer(void *base, unsigned int size, unsigned int offset, int handle, int op)
    [all...]
  /hardware/qcom/display/msm8998/libgralloc1/
gr_allocator.cpp 80 Allocator::Allocator() : ion_allocator_(NULL), adreno_helper_(NULL) {
83 bool Allocator::Init() {
95 Allocator::~Allocator() {
105 int Allocator::AllocateMem(AllocData *alloc_data, gralloc1_producer_usage_t prod_usage,
125 int Allocator::MapBuffer(void **base, unsigned int size, unsigned int offset, int fd) {
133 int Allocator::ImportBuffer(int fd) {
140 int Allocator::FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd,
149 int Allocator::CleanBuffer(void *base, unsigned int size, unsigned int offset, int handle, int op)
    [all...]
  /art/test/130-hprof/src/
Main.java 48 Class<?> allocator = loader.loadClass("Allocator"); local
49 return allocator.getDeclaredMethod("allocObject", null).invoke(null);
135 Allocator allocator = new Allocator(); local
136 Dumper dumper = new Dumper(allocator);
137 allocator.start();
140 allocator.join();
147 private static class Allocator extends Thread
167 Allocator allocator; field in class:Main.Dumper
    [all...]
  /external/clang/include/clang/Basic/
PartialDiagnostic.h 76 /// \brief An allocator for Storage objects, which uses a small cache to
122 /// \brief Allocator used to allocate storage for this diagnostic.
123 StorageAllocator *Allocator;
130 if (Allocator)
131 DiagStorage = Allocator->Allocate();
133 assert(Allocator != reinterpret_cast<StorageAllocator *>(~uintptr_t(0)));
153 if (Allocator)
154 Allocator->Deallocate(DiagStorage);
155 else if (Allocator != reinterpret_cast<StorageAllocator *>(~uintptr_t(0)))
182 : DiagID(0), DiagStorage(nullptr), Allocator(nullptr) {
    [all...]
  /external/clang/unittests/AST/
CommentParser.cpp 21 #include "llvm/Support/Allocator.h"
42 Traits(Allocator, CommentOptions()) {
50 llvm::BumpPtrAllocator Allocator;
61 Lexer L(Allocator, Diags, Traits, Begin, Source, Source + strlen(Source));
63 Sema S(Allocator, SourceMgr, Diags, Traits, /*PP=*/ nullptr);
64 Parser P(L, S, Allocator, SourceMgr, Diags, Traits);
    [all...]
  /external/compiler-rt/lib/lsan/
lsan_allocator.cc 54 SecondaryAllocator> Allocator;
56 static Allocator allocator; member in namespace:__lsan
60 allocator.InitLinkerInitialized(common_flags()->allocator_may_return_null);
64 allocator.SwallowCache(&cache);
68 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p));
96 void *p = allocator.Allocate(&cache, size, alignment, false);
97 // Do not rely on the allocator to clear the memory (it's slow).
98 if (cleared && allocator.FromPrimary(p))
110 allocator.Deallocate(&cache, p)
    [all...]
  /external/compiler-rt/lib/msan/
msan_allocator.cc 12 // MemorySanitizer allocator.
90 SecondaryAllocator> Allocator;
92 static Allocator allocator; member in namespace:__msan
97 allocator.Init(common_flags()->allocator_may_return_null);
107 allocator.SwallowCache(GetAllocatorCache(this));
115 return allocator.ReturnNullOrDie();
121 allocated = allocator.Allocate(cache, size, alignment, false);
125 allocated = allocator.Allocate(cache, size, alignment, false);
128 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated))
    [all...]
  /external/llvm/include/llvm/ADT/
ImmutableList.h 18 #include "llvm/Support/Allocator.h"
145 uintptr_t Allocator;
148 return Allocator & 0x1 ? false : true;
152 return *reinterpret_cast<BumpPtrAllocator*>(Allocator & ~0x1);
157 : Allocator(reinterpret_cast<uintptr_t>(new BumpPtrAllocator())) {}
160 : Allocator(reinterpret_cast<uintptr_t>(&Alloc) | 0x1) {}
IntervalMap.h 43 // typedef RecyclingAllocator<...> Allocator;
47 // explicit IntervalMap(Allocator&);
105 #include "llvm/Support/Allocator.h"
456 /// Allocator - The recycling allocator used for both branch and leaf nodes.
458 /// reasonably sized entries, so the same allocator can be shared among
461 AllocBytes, CacheLineBytes> Allocator;
    [all...]
ScopedHashTable.h 35 #include "llvm/Support/Allocator.h"
64 AllocatorTy &Allocator) {
65 ScopedHashTableVal *New = Allocator.template Allocate<ScopedHashTableVal>();
73 template <typename AllocatorTy> void Destroy(AllocatorTy &Allocator) {
76 Allocator.Deallocate(this);
157 AllocatorTy Allocator;
165 ScopedHashTable(AllocatorTy A) : CurScope(0), Allocator(A) {}
170 /// Access to the allocator.
171 AllocatorTy &getAllocator() { return Allocator; }
172 const AllocatorTy &getAllocator() const { return Allocator; }
    [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) {}
196 void init(LiveIntervalUnion::Allocator&, unsigned Size);
  /external/llvm/include/llvm/Support/
Allocator.h 1 //===--- Allocator.h - Simple memory allocation abstraction -----*- C++ -*-===//
12 /// of these conform to an LLVM "Allocator" concept which consists of an
14 /// a pointer and size. Further, the LLVM "Allocator" concept has overloads of
59 /// allocator.
114 // printing code uses Allocator.h in its implementation.
121 /// This isn't strictly a bump-pointer allocator as it uses backing slabs of
132 /// use a custom allocator.
145 : CurPtr(nullptr), End(nullptr), BytesAllocated(0), Allocator() {}
147 BumpPtrAllocatorImpl(T &&Allocator)
149 Allocator(std::forward<T &&>(Allocator)) {
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
SSAUpdaterImpl.h 22 #include "llvm/Support/Allocator.h"
70 BumpPtrAllocator Allocator;
107 BBInfo *Info = new (Allocator) BBInfo(BB, 0);
124 (Allocator.Allocate(Info->NumPreds * sizeof(BBInfo*),
139 BBInfo *PredInfo = new (Allocator) BBInfo(Pred, PredVal);
154 BBInfo *PseudoEntry = new (Allocator) BBInfo(nullptr, 0);
  /external/llvm/lib/CodeGen/AsmPrinter/
DwarfAccelTable.h 227 // Allocator for HashData and HashDataContents.
228 BumpPtrAllocator Allocator;
  /external/llvm/lib/CodeGen/
RenameIndependentSubregs.cpp 259 BumpPtrAllocator &Allocator = LIS->getVNInfoAllocator();
273 SubRanges[ID-1] = Intervals[ID]->createSubRange(Allocator, SR.LaneMask);
291 BumpPtrAllocator &Allocator = LIS->getVNInfoAllocator();
326 VNInfo *SRVNI = SR.getNextValue(RegDefIdx, Allocator);
SplitKit.h 290 /// Allocator for the interval map. This will eventually be shared with
292 RegAssignMap::Allocator Allocator;
  /external/skia/include/core/
SkBitmap.h 47 class SK_API Allocator;
666 return this->tryAllocPixels((Allocator*)nullptr);
677 this->allocPixels((Allocator*)nullptr);
680 /** Allocates pixel memory with allocator, and replaces existing SkPixelRef.
682 If allocator is nullptr, use HeapAllocator instead.
684 Returns false if Allocator::allocPixelRef return false.
686 @param allocator instance of SkBitmap::Allocator instantiation
687 @return true if custom allocator reports success
689 bool SK_WARN_UNUSED_RESULT tryAllocPixels(Allocator* allocator)
    [all...]
  /external/skqp/include/core/
SkBitmap.h 47 class SK_API Allocator;
676 return this->tryAllocPixels((Allocator*)nullptr);
687 this->allocPixels((Allocator*)nullptr);
690 /** Allocates pixel memory with allocator, and replaces existing SkPixelRef.
692 If allocator is nullptr, use HeapAllocator instead.
694 Returns false if allocator allocPixelRef return false.
696 @param allocator instance of SkBitmap::Allocator instantiation
697 @return true if custom allocator reports success
699 bool SK_WARN_UNUSED_RESULT tryAllocPixels(Allocator* allocator)
    [all...]
  /external/swiftshader/third_party/LLVM/include/llvm/ADT/
ImmutableList.h 17 #include "llvm/Support/Allocator.h"
146 uintptr_t Allocator;
149 return Allocator & 0x1 ? false : true;
153 return *reinterpret_cast<BumpPtrAllocator*>(Allocator & ~0x1);
158 : Allocator(reinterpret_cast<uintptr_t>(new BumpPtrAllocator())) {}
161 : Allocator(reinterpret_cast<uintptr_t>(&Alloc) | 0x1) {}
IntervalMap.h 43 // typedef RecyclingAllocator<...> Allocator;
47 // explicit IntervalMap(Allocator&);
104 #include "llvm/Support/Allocator.h"
435 /// Allocator - The recycling allocator used for both branch and leaf nodes.
437 /// reasonably sized entries, so the same allocator can be shared among
440 AllocBytes, CacheLineBytes> Allocator;
    [all...]
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...]
  /external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
MachineFunction.h 24 #include "llvm/Support/Allocator.h"
103 BumpPtrAllocator Allocator;
212 // This should be just `new (Allocator.Allocate<Ty>()) Ty(*this)', but
214 Ty *Loc = static_cast<Ty*>(Allocator.Allocate(sizeof(Ty),

Completed in 409 milliseconds

<<11121314151617181920>>