Searched refs:Allocate (Results 51 - 75 of 127) sorted by relevance

123456

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DExpr.cpp406 void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>());
423 void *Mem = Context.Allocate(Size, llvm::alignOf<DeclRefExpr>());
833 // Allocate enough space for the StringLiteral plus an array of locations for
835 void *Mem = C.Allocate(sizeof(StringLiteral)+
853 void *Mem = C.Allocate(sizeof(StringLiteral)+
1317 void *Mem = C.Allocate(
1327 C.Allocate(totalSizeToAlloc<OffsetOfNode, Expr *>(numComps, numExprs));
1421 void *Mem = C.Allocate(Size, llvm::alignOf<MemberExpr>());
1764 void *Buffer = C.Allocate(totalSizeToAlloc<CXXBaseSpecifier *>(PathSize));
1775 void *Buffer = C.Allocate(totalSizeToAllo
[all...]
H A DStmt.cpp317 void *Mem = C.Allocate(sizeof(AttributedStmt) + sizeof(Attr *) * Attrs.size(),
325 void *Mem = C.Allocate(sizeof(AttributedStmt) + sizeof(Attr *) * NumAttrs,
1052 void *Mem = Context.Allocate(Size);
1065 void *Mem = Context.Allocate(Size);
H A DCommentParser.cpp178 char *TextPtr = Allocator.Allocate<char>(Length + 1);
223 char *TextPtr = Allocator.Allocate<char>(Length + 1);
298 new (Allocator.Allocate<Argument>(NumArgs)) Argument[NumArgs];
H A DNestedNameSpecifier.cpp681 void *Mem = Context.Allocate(BufferSize, llvm::alignOf<void *>());
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DASTContext.h560 void *Allocate(size_t Size, unsigned Align = 8) const {
561 return BumpAlloc.Allocate(Size, Align);
563 template <typename T> T *Allocate(size_t Num = 1) const {
564 return static_cast<T *>(Allocate(Num * sizeof(T), llvm::alignOf<T>()));
2336 /// \brief Allocate an uninitialized TypeSourceInfo.
2349 /// \brief Allocate a TypeSourceInfo where all locations have been
2616 return C.Allocate(Bytes, Alignment);
2653 return C.Allocate(Bytes, Alignment);
/freebsd-11.0-release/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common.h157 void *Allocate(uptr size);
741 return alloc.Allocate(size);
H A Dsanitizer_mac.cc580 new_env = (char*)allocator_for_env.Allocate(old_env_len + fname_len + 2);
615 // Allocate memory to hold the previous env var name, its value, the '='
617 char *new_env = (char*)allocator_for_env.Allocate(
/freebsd-11.0-release/share/examples/drivers/
H A Dmake_pseudo_driver.sh351 * Allocate storage for this instance .
/freebsd-11.0-release/contrib/llvm/include/llvm/ADT/
H A DArrayRef.h149 // copy - Allocate copy in Allocator and return ArrayRef<T> to it.
151 T *Buff = A.template Allocate<T>(Length);
H A DStringMap.h152 // Allocate a new item with space for the string at the end and a null
159 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
H A DStringRef.h134 // copy - Allocate copy in Allocator and return StringRef to it.
136 char *S = A.template Allocate<char>(Length);
/freebsd-11.0-release/contrib/llvm/lib/Support/
H A DFoldingSet.cpp177 unsigned *New = Allocator.Allocate<unsigned>(Bits.size());
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DMacroInfo.h169 ArgumentList = PPAllocator.Allocate<IdentifierInfo *>(List.size());
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DOverload.h772 .Allocate<ImplicitConversionSequence>(NumConversions);
/freebsd-11.0-release/contrib/llvm/include/llvm/MC/
H A DMCContext.h517 return Allocator.Allocate(Size, Align);
/freebsd-11.0-release/contrib/llvm/include/llvm/Support/
H A DYAMLParser.h149 return Alloc.Allocate(Size, Alignment);
H A DOnDiskHashTable.h130 insert(Buckets, NumBuckets, new (BA.Allocate()) Item(Key, Data, InfoObj));
/freebsd-11.0-release/contrib/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdaterImpl.h123 (Allocator.Allocate(Info->NumPreds * sizeof(BBInfo*),
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessingRecord.cpp35 = (char*)PPRec.Allocate(FileName.size() + 1, llvm::alignOf<char>());
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp694 new (Allocator.Allocate()) StateNode(InitialState, false, nullptr);
754 StateNode *Node = new (Allocator.Allocate())
/freebsd-11.0-release/contrib/llvm/lib/Analysis/
H A DLazyCallGraph.cpp546 return *new (MappedN = BPA.Allocate()) Node(*this, F);
582 // The tail of the stack is the new SCC. Allocate the SCC and pop the stack
584 SCC *NewSCC = new (SCCBPA.Allocate()) SCC(*this);
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Basic/
H A DSourceManager.cpp424 Entry = ContentCacheAlloc.Allocate<ContentCache>();
453 ContentCache *Entry = ContentCacheAlloc.Allocate<ContentCache>();
1275 FI->SourceLineCache = Alloc.Allocate<unsigned>(LineOffsets.size());
H A DIdentifierTable.cpp621 (MultiKeywordSelector*)SelTabImpl.Allocator.Allocate(Size,
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp534 DeclVec *BV = (DeclVec*) A.Allocate<DeclVec>();
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDebugInfo.h516 /// Allocate a copy of \p A using the DebugInfoNames allocator
520 char *Data = DebugInfoNames.Allocate<char>(A.size() + B.size());

Completed in 313 milliseconds

123456