reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/ArrayRef.h
  164       T *Buff = A.template Allocate<T>(Length);
include/llvm/ADT/ImmutableList.h
  188       L = (ListTy*) A.Allocate<ListTy>();
include/llvm/ADT/ImmutableSet.h
  471       T = (TreeTy*) A.Allocate<TreeTy>();
include/llvm/ADT/ScopedHashTable.h
   68     ScopedHashTableVal *New = Allocator.template Allocate<ScopedHashTableVal>();
include/llvm/ADT/StringRef.h
  172       char *S = A.template Allocate<char>(Length);
include/llvm/Analysis/LoopInfo.h
  893     LoopT *Storage = LoopAllocator.Allocate<LoopT>();
include/llvm/CodeGen/MachineFunction.h
  103     return new (Allocator.Allocate<Ty>()) Ty(MF);
include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h
   78       uint8_t *Stable = RecordStorage.Allocate<uint8_t>(RecordSize);
include/llvm/ExecutionEngine/JITLink/JITLink.h
  623         reinterpret_cast<Addressable *>(Allocator.Allocate<Addressable>());
  634     Block *B = reinterpret_cast<Block *>(Allocator.Allocate<Block>());
  751         Allocator.Allocate<Symbol>(), createAddressable(0, false), Name, Size);
  759     auto &Sym = Symbol::constructAbsolute(Allocator.Allocate<Symbol>(),
  771         Allocator.Allocate<Symbol>(),
  783     auto &Sym = Symbol::constructAnonDef(Allocator.Allocate<Symbol>(), Content,
  794         Symbol::constructNamedDef(Allocator.Allocate<Symbol>(), Content, Offset,
include/llvm/IR/PredIteratorCache.h
   52     Entry = Memory.Allocate<BasicBlock *>(PredCache.size());
include/llvm/Support/Allocator.h
  496   T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }
include/llvm/Support/YAMLTraits.h
 1348       BufPtr = allocator->Allocate<TNorm>();
include/llvm/Transforms/Scalar/GVN.h
  211     LeaderTableEntry *Node = TableAllocator.Allocate<LeaderTableEntry>();
include/llvm/Transforms/Scalar/GVNExpression.h
  453     IntOperands = Allocator.Allocate<unsigned>(MaxIntOperands);
lib/Analysis/ScalarEvolution.cpp
 2796     const SCEV **O = SCEVAllocator.Allocate<const SCEV *>(Ops.size());
 2819     const SCEV **O = SCEVAllocator.Allocate<const SCEV *>(Ops.size());
 2841     const SCEV **O = SCEVAllocator.Allocate<const SCEV *>(Ops.size());
 3671   const SCEV **O = SCEVAllocator.Allocate<const SCEV *>(Ops.size());
lib/CodeGen/MachineFunction.cpp
  458   char *Dest = Allocator.Allocate<char>(Name.size() + 1);
  467   uint32_t *Mask = Allocator.Allocate<uint32_t>(Size);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 1728   int *MaskAlloc = OperandAllocator.Allocate<int>(NElts);
 7371     EVT *Array = Allocator.Allocate<EVT>(2);
 7390     EVT *Array = Allocator.Allocate<EVT>(3);
 7411     EVT *Array = Allocator.Allocate<EVT>(4);
 7433     EVT *Array = Allocator.Allocate<EVT>(NumVTs);
 7579       Allocator.template Allocate<MachineMemOperand *>(NewMemRefs.size());
lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp
   80   uint8_t *Stable = RecordStorage.Allocate<uint8_t>(Record.size());
lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp
   72     uint8_t *Copy = Storage.Allocate<uint8_t>(Bytes.size());
lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp
   85   uint8_t *Stable = Alloc.Allocate<uint8_t>(Data.size());
lib/DebugInfo/CodeView/SymbolSerializer.cpp
   53   uint8_t *StableStorage = Storage.Allocate<uint8_t>(RecordEnd);
lib/DebugInfo/MSF/MSFBuilder.cpp
  251   SuperBlock *SB = Allocator.Allocate<SuperBlock>();
  286   ulittle32_t *DirBlocks = Allocator.Allocate<ulittle32_t>(NumDirectoryBlocks);
  294     ulittle32_t *Sizes = Allocator.Allocate<ulittle32_t>(StreamData.size());
  300           Allocator.Allocate<ulittle32_t>(StreamData[I].second.size());
lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
  190   auto Data = Allocator.Allocate<uint8_t>(Size);
  264   DbiStreamHeader *H = Allocator.Allocate<DbiStreamHeader>();
lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp
   66   TpiStreamHeader *H = Allocator.Allocate<TpiStreamHeader>();
  129     ulittle32_t *H = Allocator.Allocate<ulittle32_t>(TypeHashes.size());
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
  161         Allocator.Allocate<NormalizedSymbol>());
lib/Object/COFFImportFile.cpp
  468   char *Buf = Alloc.Allocate<char>(Size);
  566   char *Buf = Alloc.Allocate<char>(Buffer.size());
lib/ObjectYAML/COFFEmitter.cpp
  194   uint8_t *Buffer = Allocator.Allocate<uint8_t>(Size);
lib/ObjectYAML/CodeViewYAMLSymbols.cpp
  248     uint8_t *Buffer = Allocator.Allocate<uint8_t>(TotalLen);
lib/ObjectYAML/CodeViewYAMLTypeHashing.cpp
   70   uint8_t *Data = Alloc.Allocate<uint8_t>(Size);
lib/ObjectYAML/CodeViewYAMLTypes.cpp
  806   uint8_t *ResultBuffer = Alloc.Allocate<uint8_t>(Size);
lib/ObjectYAML/MinidumpEmitter.cpp
   67     T *Object = new (Temporaries.Allocate<T>()) T(std::forward<Types>(Args)...);
   87   MutableArrayRef<T> Array(Temporaries.Allocate<T>(Num), Num);
lib/ProfileData/SampleProfReader.cpp
  594   char *Buffer = Allocator.Allocate<char>(DecompressBufSize);
lib/Support/FoldingSet.cpp
  176   unsigned *New = Allocator.Allocate<unsigned>(Bits.size());
lib/Support/StringSaver.cpp
   14   char *P = Alloc.Allocate<char>(S.size() + 1);
tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h
   58     return Allocator->Allocate<T>(NumElems);
tools/clang/include/clang/Analysis/ConstructionContext.h
  267     auto *CC = C.getAllocator().Allocate<T>();
tools/clang/include/clang/Analysis/Support/BumpVector.h
  233   T *NewElts = C.getAllocator().template Allocate<T>(NewCapacity);
tools/clang/include/clang/Basic/IdentifierTable.h
  532     void *Mem = getAllocator().Allocate<IdentifierInfo>();
  563     void *Mem = getAllocator().Allocate<IdentifierInfo>();
tools/clang/include/clang/Lex/MacroInfo.h
  172     ParameterList = PPAllocator.Allocate<IdentifierInfo *>(List.size());
tools/clang/include/clang/Sema/Overload.h
  993         return SlabAllocator.Allocate<T>(N);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
 1163       return Alloc.Allocate<CallEventTemplateTy>();
tools/clang/lib/AST/CommentCommandTraits.cpp
   84   char *Name = Allocator.Allocate<char>(CommandName.size() + 1);
tools/clang/lib/AST/CommentLexer.cpp
   42   char *Resolved = Allocator.Allocate<char>(UNI_MAX_UTF8_BYTES_PER_CODE_POINT);
tools/clang/lib/AST/CommentParser.cpp
  177     char *TextPtr = Allocator.Allocate<char>(Length + 1);
  222     char *TextPtr = Allocator.Allocate<char>(Length + 1);
  297       new (Allocator.Allocate<Argument>(NumArgs)) Argument[NumArgs];
tools/clang/lib/Analysis/AnalysisDeclContext.cpp
  636   DeclVec *BV = (DeclVec*) A.Allocate<DeclVec>();
tools/clang/lib/Analysis/CFG.cpp
 1931   return new (alloc.Allocate<LocalScope>())
 4884   CFGBlock *Mem = getAllocator().Allocate<CFGBlock>();
tools/clang/lib/Analysis/ConstructionContext.cpp
   26       C.getAllocator().Allocate<ConstructionContextLayer>();
tools/clang/lib/Analysis/PathDiagnostic.cpp
  433     Entry = Alloc.Allocate<PDFileEntry>();
tools/clang/lib/Analysis/RetainSummaryManager.cpp
  127       N = (CachedSummaryNode *) BPAlloc.Allocate<CachedSummaryNode>();
  135   RetainSummary *Summ = (RetainSummary *) BPAlloc.Allocate<RetainSummary>();
tools/clang/lib/Basic/SourceManager.cpp
  396     auto *Clone = new (ContentCacheAlloc.Allocate<ContentCache>()) ContentCache;
  432   Entry = ContentCacheAlloc.Allocate<ContentCache>();
  461   ContentCache *Entry = ContentCacheAlloc.Allocate<ContentCache>();
 1274   FI->SourceLineCache = Alloc.Allocate<unsigned>(LineOffsets.size());
tools/clang/lib/CodeGen/CGDebugInfo.h
  700     char *Data = DebugInfoNames.Allocate<char>(A.size() + B.size());
tools/clang/lib/Lex/HeaderSearch.cpp
  649   char *CopyStr = Alloc.Allocate<char>(Str.size()+1);
tools/clang/lib/Lex/ModuleMap.cpp
 1566     char *Saved = StringData.Allocate<char>(Length + 1);
tools/clang/lib/Lex/Pragma.cpp
 1136         PP.getPreprocessorAllocator().Allocate<Token>(1), 1);
tools/clang/lib/Parse/ParsePragma.cpp
  113     MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1),
 1733       PP.getPreprocessorAllocator().Allocate<PragmaPackInfo>(1);
 1738   MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1),
 1781   MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1),
 1898   MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1),
 1990       PP.getPreprocessorAllocator().Allocate<Token>(2 * Identifiers.size()),
 2041         PP.getPreprocessorAllocator().Allocate<Token>(3), 3);
 2053         PP.getPreprocessorAllocator().Allocate<Token>(2), 2);
 2097   MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(3),
 2117   MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1),
 2177   auto Info = PP.getPreprocessorAllocator().Allocate<OpenCLExtData>(1);
 2180   MutableArrayRef<Token> Toks(PP.getPreprocessorAllocator().Allocate<Token>(1),
tools/clang/lib/Sema/SemaDeclObjC.cpp
 3370   ObjCMethodList *Mem = BumpAlloc.Allocate<ObjCMethodList>();
tools/clang/lib/Sema/SemaLookup.cpp
 3093   Result = BumpAlloc.Allocate<SpecialMemberOverloadResultEntry>();
tools/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp
   99     P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>();
  134     D = (CompoundValData*) BPAlloc.Allocate<CompoundValData>();
  153     D = (LazyCompoundValData*) BPAlloc.Allocate<LazyCompoundValData>();
  171     D = (PointerToMemberData*) BPAlloc.Allocate<PointerToMemberData>();
  316     P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>();
  341     P = (FoldNodeTy*) BPAlloc.Allocate<FoldNodeTy>();
tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
  238     V = G.getAllocator().Allocate<ExplodedNodeVector>();
  413       V = (NodeTy*) getAllocator().Allocate<NodeTy>();
  437   NodeTy *V = (NodeTy *) getAllocator().Allocate<NodeTy>();
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
   74     R = A.Allocate<RegionTy>();
   91     R = A.Allocate<RegionTy>();
  110     R = A.Allocate<RegionTy>();
  723     region = A.Allocate<REG>();
  748   R = A.Allocate<StackLocalsSpaceRegion>();
  761   R = A.Allocate<StackArgumentsSpaceRegion>();
  783   R = A.Allocate<StaticGlobalSpaceRegion>();
 1002     R = A.Allocate<ElementRegion>();
 1520   auto *BV = A.Allocate<VarVec>();
 1522   auto *BVOriginal = A.Allocate<VarVec>();
tools/clang/lib/StaticAnalyzer/Core/ProgramState.cpp
  418     newState = (ProgramState*) Alloc.Allocate<ProgramState>();
tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
  174     SD = (SymExpr*) BPAlloc.Allocate<SymbolRegionValue>();
  193     SD = (SymExpr*) BPAlloc.Allocate<SymbolConjured>();
  210     SD = (SymExpr*) BPAlloc.Allocate<SymbolDerived>();
  226     SD = (SymExpr*) BPAlloc.Allocate<SymbolExtent>();
  244     SD = (SymExpr*) BPAlloc.Allocate<SymbolMetadata>();
  261     data = (SymbolCast*) BPAlloc.Allocate<SymbolCast>();
  279     data = (SymIntExpr*) BPAlloc.Allocate<SymIntExpr>();
  297     data = (IntSymExpr*) BPAlloc.Allocate<IntSymExpr>();
  315     data = (SymSymExpr*) BPAlloc.Allocate<SymSymExpr>();
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  405   char *buf = IdxCtx.StrScratch.Allocate<char>(Str.size() + 1);
tools/clang/tools/libclang/CXIndexDataConsumer.h
  496   return IdxCtx.StrScratch.Allocate<T>();
tools/clang/tools/libclang/CXLoadedDiagnostic.cpp
   51     char *mem = Alloc.Allocate<char>(Blob.size() + 1);
  293   Start = TopDiags->Alloc.Allocate<CXLoadedDiagnostic::Location>();
  294   End = TopDiags->Alloc.Allocate<CXLoadedDiagnostic::Location>();
tools/lld/COFF/PDB.cpp
  942   uint8_t *buffer = alloc.Allocate<uint8_t>(debugChunk.getSize());
tools/lld/COFF/Writer.cpp
  474           bAlloc.Allocate<coff_relocation>(originalRelocs.size()),
tools/lld/ELF/InputSection.cpp
  150     uncompressedBuf = bAlloc.Allocate<char>(size);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  681       uint8_t *sectContent = file.ownedAllocations.Allocate<uint8_t>(si->size);
  877           file.ownedAllocations.Allocate<char>(newDirPath.size() + 2);
  894         fullPath = file.ownedAllocations.Allocate<char>(pathBuf.size() + 1);
 1516               file.ownedAllocations.Allocate<uint8_t>(sectionContent.size());
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  704   char *strCopy = alloc.Allocate<char>(str.size() + 1);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
  338       uint8_t *bytes = file->ownedAllocations.Allocate<uint8_t>(size);
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
  167     char *s = _storage.Allocate<char>(str.size());
  673       char *s = _storage.Allocate<char>(str.size());
tools/lldb/include/lldb/Symbol/PostfixExpression.h
  210   return new (alloc.Allocate<T>()) T(std::forward<Args>(args)...);
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
  427   uint8_t *saved = m_allocator.Allocate<uint8_t>(dwarf.GetSize());
unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
  183     uint8_t *Buffer = GlobalState->Allocator.Allocate<uint8_t>(Size);
unittests/Support/BinaryStreamTest.cpp
   46     uint8_t *Ptr = Allocator.Allocate<uint8_t>(Size);