/freebsd-10-stable/contrib/llvm/include/llvm/Support/ |
H A D | Allocator.h | 36 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 D | RecyclingAllocator.h | 40 /// 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 D | Recycler.h | 102 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 D | PredIteratorCache.h | 51 Entry = Memory.Allocate<BasicBlock*>(PredCache.size());
|
H A D | ArrayRecycler.h | 118 /// 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 D | DeclGroup.cpp | 23 void* Mem = C.Allocate(Size, llvm::AlignOf<DeclGroup>::Alignment);
|
H A D | ExprCXX.cpp | 304 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 D | DeclFriend.cpp | 51 void *Mem = C.Allocate(Size);
|
H A D | DeclOpenMP.cpp | 35 void *Mem = C.Allocate(Size, llvm::alignOf<OMPThreadPrivateDecl>());
|
H A D | Stmt.cpp | 288 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 D | CommentCommandTraits.cpp | 90 char *Name = Allocator.Allocate<char>(CommandName.size() + 1);
|
/freebsd-10-stable/contrib/llvm/lib/Support/ |
H A D | Allocator.cpp | 49 /// 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 D | BasicValueFactory.cpp | 81 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 D | SymbolManager.cpp | 157 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 D | MemRegion.cpp | 49 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 D | MCContext.h | 410 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 D | EditedSource.h | 73 char *buf = StrAlloc.Allocate<char>(str.size());
|
H A D | Commit.h | 140 char *buf = StrAlloc.Allocate<char>(str.size());
|
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyld.cpp | 158 // 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 D | ParsePragma.cpp | 340 (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 D | ParsedTemplate.h | 185 Allocate(unsigned NumArgs, SmallVectorImpl<TemplateIdAnnotation*> &List) { function in struct:clang::TemplateIdAnnotation
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/ |
H A D | TypeLocBuilder.h | 123 void *Mem = Context.Allocate(FullDataSize);
|
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/JIT/ |
H A D | JITMemoryManager.cpp | 277 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 D | PreprocessingRecord.h | 353 /// \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 D | ScheduleDAG.cpp | 491 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) {
|