Searched refs:Allocate (Results 1 - 25 of 105) sorted by relevance

12345

/freebsd-10-stable/contrib/llvm/include/llvm/Support/
H A DAllocator.h36 void *Allocate(size_t Size, size_t /*Alignment*/) { return malloc(Size); } function in class:llvm::MallocAllocator
39 T *Allocate() { return static_cast<T*>(malloc(sizeof(T))); } function in class:llvm::MallocAllocator
42 T *Allocate(size_t Num) { function in class:llvm::MallocAllocator
67 virtual MemSlab *Allocate(size_t Size) = 0;
82 virtual MemSlab *Allocate(size_t Size) LLVM_OVERRIDE;
94 /// SlabSize - Allocate data into slabs of this size unless we get an
131 /// StartNewSlab - Allocate a new slab and move the bump pointers over into
149 /// Allocate - Allocate space at the specified alignment.
151 void *Allocate(size_
156 T *Allocate() { function in class:llvm::BumpPtrAllocator
163 T *Allocate(size_t Num) { function in class:llvm::BumpPtrAllocator
170 T *Allocate(size_t Num, size_t Alignment) { function in class:llvm::BumpPtrAllocator
222 T *Allocate(size_t num = 1) { function in class:llvm::SpecificBumpPtrAllocator
[all...]
H A DRecyclingAllocator.h40 /// Allocate - Return a pointer to storage for an object of type
44 SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); } function in class:llvm::RecyclingAllocator
46 T *Allocate() { return Base.Allocate(Allocator); } function in class:llvm::RecyclingAllocator
67 return Allocator.Allocate();
H A DRecycler.h102 SubClass *Allocate(AllocatorType &Allocator) { function in class:llvm::Recycler
109 static_cast<SubClass *>(Allocator.Allocate(Size, Align));
113 T *Allocate(AllocatorType &Allocator) { function in class:llvm::Recycler
114 return Allocate<T>(Allocator);
H A DPredIteratorCache.h51 Entry = Memory.Allocate<BasicBlock*>(PredCache.size());
H A DArrayRecycler.h118 /// Allocate an array of at least the requested capacity.
129 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align));
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
H A DDeclGroup.cpp23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment);
H A DExprCXX.cpp304 void *Mem = C.Allocate(sizeof(UnresolvedLookupExpr) +
320 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedLookupExpr>());
364 C.Allocate(sizeof(DeclAccessPair) * NumResults,
405 C.Allocate(sizeof(DeclAccessPair) * NumResults,
465 void *Mem = C.Allocate(size);
477 void *Mem = C.Allocate(size);
598 void *Buffer = C.Allocate(sizeof(CXXStaticCastExpr)
610 C.Allocate(sizeof(CXXStaticCastExpr) + PathSize * sizeof(CXXBaseSpecifier*));
623 void *Buffer = C.Allocate(sizeof(CXXDynamicCastExpr)
635 C.Allocate(sizeo
[all...]
H A DDeclFriend.cpp51 void *Mem = C.Allocate(Size);
H A DDeclOpenMP.cpp35 void *Mem = C.Allocate(Size, llvm::alignOf<OMPThreadPrivateDecl>());
H A DStmt.cpp288 void *Mem = C.Allocate(sizeof(AttributedStmt) +
297 void *Mem = C.Allocate(sizeof(AttributedStmt) +
742 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>());
752 void *Mem = Context.Allocate(Size, llvm::alignOf<ObjCAtTryStmt>());
769 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>());
778 void *Mem = C.Allocate(Size, llvm::alignOf<CXXTryStmt>());
1080 void *Mem = Context.Allocate(Size);
1093 void *Mem = Context.Allocate(Size);
1133 void *Mem = C.Allocate(sizeof(OMPPrivateClause) + sizeof(Expr *) * VL.size(),
1143 void *Mem = C.Allocate(sizeo
[all...]
H A DCommentCommandTraits.cpp90 char *Name = Allocator.Allocate<char>(CommandName.size() + 1);
/freebsd-10-stable/contrib/llvm/lib/Support/
H A DAllocator.cpp49 /// StartNewSlab - Allocate a new slab and move the bump pointers over into
58 MemSlab *NewSlab = Allocator.Allocate(SlabSize);
93 /// Allocate - Allocate space at the specified alignment.
95 void *BumpPtrAllocator::Allocate(size_t Size, size_t Alignment) { function in class:llvm::BumpPtrAllocator
105 // Allocate the aligned space, going forwards from CurPtr.
121 MemSlab *NewSlab = Allocator.Allocate(PaddedSize);
178 MemSlab *MallocSlabAllocator::Allocate(size_t Size) { function in class:llvm::MallocSlabAllocator
179 MemSlab *Slab = (MemSlab*)Allocator.Allocate(Size, 0);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp81 P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>();
118 D = (CompoundValData*) BPAlloc.Allocate<CompoundValData>();
137 D = (LazyCompoundValData*) BPAlloc.Allocate<LazyCompoundValData>();
253 P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>();
278 P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>();
H A DSymbolManager.cpp157 SD = (SymExpr*) BPAlloc.Allocate<SymbolRegionValue>();
176 SD = (SymExpr*) BPAlloc.Allocate<SymbolConjured>();
194 SD = (SymExpr*) BPAlloc.Allocate<SymbolDerived>();
210 SD = (SymExpr*) BPAlloc.Allocate<SymbolExtent>();
228 SD = (SymExpr*) BPAlloc.Allocate<SymbolMetadata>();
245 data = (SymbolCast*) BPAlloc.Allocate<SymbolCast>();
263 data = (SymIntExpr*) BPAlloc.Allocate<SymIntExpr>();
281 data = (IntSymExpr*) BPAlloc.Allocate<IntSymExpr>();
299 data = (SymSymExpr*) BPAlloc.Allocate<SymSymExpr>();
H A DMemRegion.cpp49 R = (RegionTy*) A.Allocate<RegionTy>();
67 R = (RegionTy*) A.Allocate<RegionTy>();
88 R = (RegionTy*) A.Allocate<RegionTy>();
107 R = (RegionTy*) A.Allocate<RegionTy>();
126 R = (RegionTy*) A.Allocate<RegionTy>();
643 region = (REG*) A.Allocate<REG>();
653 region = (REG*) A.Allocate<REG>();
668 R = A.Allocate<StackLocalsSpaceRegion>();
681 R = A.Allocate<StackArgumentsSpaceRegion>();
703 R = A.Allocate<StaticGlobalSpaceRegio
[all...]
/freebsd-10-stable/contrib/llvm/include/llvm/MC/
H A DMCContext.h410 void *Allocate(unsigned Size, unsigned Align = 8) { function in class:llvm::MCContext
411 return Allocator.Allocate(Size, Align);
450 return C.Allocate(Bytes, Alignment);
484 return C.Allocate(Bytes, Alignment);
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Edit/
H A DEditedSource.h73 char *buf = StrAlloc.Allocate<char>(str.size());
H A DCommit.h140 char *buf = StrAlloc.Allocate<char>(str.size());
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp158 // Allocate common symbols
199 // Allocate memory for the section
294 unsigned Allocate; local
302 Allocate = DataSize + PaddingSize + StubBufSize;
304 ? MemMgr->allocateCodeSection(Allocate, Alignment, SectionID, Name)
305 : MemMgr->allocateDataSection(Allocate, Alignment, SectionID, Name,
333 << " Allocate: " << Allocate local
341 Allocate = 0;
349 << " Allocate local
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Parse/
H A DParsePragma.cpp340 (PragmaPackInfo*) PP.getPreprocessorAllocator().Allocate(
350 (Token*) PP.getPreprocessorAllocator().Allocate(
393 (Token*) PP.getPreprocessorAllocator().Allocate(
462 (Token*) PP.getPreprocessorAllocator().Allocate(
554 (Token*) PP.getPreprocessorAllocator().Allocate(
605 (Token*) PP.getPreprocessorAllocator().Allocate(
617 (Token*) PP.getPreprocessorAllocator().Allocate(
662 (Token*) PP.getPreprocessorAllocator().Allocate(
684 (Token*) PP.getPreprocessorAllocator().Allocate(
742 (Token*) PP.getPreprocessorAllocator().Allocate(
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Sema/
H A DParsedTemplate.h185 Allocate(unsigned NumArgs, SmallVectorImpl<TemplateIdAnnotation*> &List) { function in struct:clang::TemplateIdAnnotation
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
H A DTypeLocBuilder.h123 void *Mem = Context.Allocate(FullDataSize);
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/JIT/
H A DJITMemoryManager.cpp277 virtual MemSlab *Allocate(size_t Size);
325 /// DefaultSlabSize - Allocate data into slabs of this size unless we get
381 // Allocate the entire memory block.
436 /// allocateSpace - Allocate a memory block of the given size. This method
454 /// allocateStub - Allocate memory for a function stub.
457 return (uint8_t*)StubAllocator.Allocate(StubSize, Alignment);
460 /// allocateGlobal - Allocate memory for a global.
462 return (uint8_t*)DataAllocator.Allocate(Size, Alignment);
465 /// allocateCodeSection - Allocate memory for a code section.
503 // Allocate th
569 MemSlab *JITSlabAllocator::Allocate(size_t Size) { function in class:JITSlabAllocator
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessingRecord.h353 /// \brief Allocate space for a new set of loaded preprocessed entities.
366 /// \brief Allocate memory in the preprocessing record.
367 void *Allocate(unsigned Size, unsigned Align = 8) { function in class:clang::PreprocessingRecord
368 return BumpAlloc.Allocate(Size, Align);
601 return PR.Allocate(bytes, alignment);
/freebsd-10-stable/contrib/llvm/lib/CodeGen/
H A DScheduleDAG.cpp491 Allocate(SU->NodeNum, --Id);
589 Allocate(w, i - shift);
594 Allocate(L[j], i - shift);
632 /// Allocate - assign the topological index to the node n.
633 void ScheduleDAGTopologicalSort::Allocate(int n, int index) {

Completed in 254 milliseconds

12345