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

References

include/llvm/ADT/StringMap.h
  188       static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
include/llvm/CodeGen/MachineInstr.h
  149       auto *Result = new (Allocator.Allocate(
include/llvm/CodeGen/SlotIndexes.h
  336           static_cast<IndexListEntry *>(ileAllocator.Allocate(
include/llvm/MC/MCContext.h
  675       return Allocator.Allocate(Size, Align);
include/llvm/Support/Allocator.h
   56                           &DerivedT::Allocate),
   60     return static_cast<DerivedT *>(this)->Allocate(Size, Alignment);
  514   return Allocator.Allocate(
include/llvm/Support/ArrayRecycler.h
  130     return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align));
include/llvm/Support/Recycler.h
   89                     : static_cast<SubClass *>(Allocator.Allocate(Size, Align));
include/llvm/Support/YAMLParser.h
  137     return Alloc.Allocate(Size, Alignment);
include/llvm/TextAPI/MachO/InterfaceFile.h
  390     void *Ptr = Allocator.Allocate(String.size(), 1);
include/llvm/Transforms/Utils/SSAUpdaterImpl.h
  135         Info->Preds = static_cast<BBInfo **>(Allocator.Allocate(
lib/DebugInfo/MSF/MappedBlockStream.cpp
  151   uint8_t *WriteBuffer = static_cast<uint8_t *>(Allocator.Allocate(Size, 8));
lib/IR/Type.cpp
  315     FT = (FunctionType *)pImpl->Alloc.Allocate(
lib/Support/ItaniumManglingCanonicalizer.cpp
  115       return {new (RawAlloc.Allocate(sizeof(T), alignof(T)))
  133         RawAlloc.Allocate(sizeof(NodeHeader) + sizeof(T), alignof(NodeHeader));
  146     return RawAlloc.Allocate(sizeof(Node *) * sz, alignof(Node *));
lib/TableGen/Record.cpp
  189   void *Mem = Allocator.Allocate(totalSizeToAlloc<Record *>(Classes.size()),
  352   void *Mem = Allocator.Allocate(totalSizeToAlloc<Init *>(Range.size()),
  583   void *Mem = Allocator.Allocate(totalSizeToAlloc<Init *>(Range.size()),
 1603   void *Mem = Allocator.Allocate(totalSizeToAlloc<Init *>(Args.size()),
 1783   void *Mem = Allocator.Allocate(totalSizeToAlloc<Init *>(2*CondRange.size()),
 1905   void *Mem = Allocator.Allocate(totalSizeToAlloc<Init *, StringInit *>(ArgRange.size(), NameRange.size()), alignof(BitsInit));
lib/Target/Hexagon/RDFGraph.cpp
  345   void *T = MemPool.Allocate(NodesPerBlock*NodeMemSize, NodeMemSize);
lib/TextAPI/MachO/TextStub.cpp
  726       void *Ptr = Allocator.Allocate(String.size(), 1);
lib/Transforms/IPO/LowerTypeTests.cpp
  281     auto *GTM = static_cast<GlobalTypeMember *>(Alloc.Allocate(
  315         Alloc.Allocate(totalSizeToAlloc<GlobalTypeMember *>(Targets.size()),
tools/clang/include/clang/AST/ASTContext.h
  686     return BumpAlloc.Allocate(Size, Align);
tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h
   52     return Allocator->Allocate(Sz, alignof(AlignmentType));
tools/clang/include/clang/Lex/PreprocessingRecord.h
  404       return BumpAlloc.Allocate(Size, Align);
tools/clang/lib/AST/ASTContext.cpp
 2686     (TypeSourceInfo*)BumpAlloc.Allocate(sizeof(TypeSourceInfo) + DataSize, 8);
tools/clang/lib/AST/Interp/Program.h
  160       return Alloc.Allocate(Meta + Data, alignof(void *));
tools/clang/lib/Analysis/PathDiagnostic.cpp
  439   char *FileName_cstr = (char*) Alloc.Allocate(FileName.size(), 1);
tools/clang/lib/Basic/IdentifierTable.cpp
  670       (MultiKeywordSelector *)SelTabImpl.Allocator.Allocate(
tools/clang/lib/Lex/MacroInfo.cpp
  244   void *Mem = PP.getPreprocessorAllocator().Allocate(
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  351   char *Mem = (char *)Allocate(Ref.size() + 1, 1);
  420   void *Mem = getAllocator().Allocate(
tools/clang/lib/Sema/ParsedAttr.cpp
   73   return Alloc.Allocate(size, alignof(AttributeFactory));
tools/clang/lib/Sema/SemaType.cpp
 5835   LocInfoType *LocT = (LocInfoType*)BumpAlloc.Allocate(sizeof(LocInfoType),
tools/lld/COFF/PDB.cpp
  858         alloc.Allocate(totalRealignedSize, alignOf(CodeViewContainer::Pdb));
tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
  278     return new (Alloc.Allocate(sizeof(T), alignof(T)))
  283     return Alloc.Allocate(sizeof(llvm::itanium_demangle::Node *) * sz,
tools/lldb/source/Utility/Environment.cpp
   17       Allocator.Allocate(sizeof(char) * size, alignof(char)));
   30       Allocator.Allocate(sizeof(char *) * (Env.size() + 1), alignof(char *)));
unittests/Demangle/ItaniumDemangleTest.cpp
   27     return new (Alloc.Allocate(sizeof(T), alignof(T)))
   32     return Alloc.Allocate(sizeof(Node *) * sz, alignof(Node *));
unittests/Support/AllocatorTest.cpp
   19   int *a = (int*)Alloc.Allocate(sizeof(int), alignof(int));
   20   int *b = (int*)Alloc.Allocate(sizeof(int) * 10, alignof(int));
   21   int *c = (int*)Alloc.Allocate(sizeof(int), alignof(int));
   51   Alloc.Allocate(3000, 1);
   53   Alloc.Allocate(3000, 1);
   55   Alloc.Allocate(3000, 1);
   65   (void)Alloc.Allocate(5000, 1);
   70   Alloc.Allocate(3000, 1);
   72   Alloc.Allocate(3000, 1);
   76   Alloc.Allocate(3000, 1);
   78   Alloc.Allocate(3000, 1);
   86   a = (uintptr_t)Alloc.Allocate(1, 2);
   88   a = (uintptr_t)Alloc.Allocate(1, 4);
   90   a = (uintptr_t)Alloc.Allocate(1, 8);
   92   a = (uintptr_t)Alloc.Allocate(1, 16);
   94   a = (uintptr_t)Alloc.Allocate(1, 32);
   96   a = (uintptr_t)Alloc.Allocate(1, 64);
   98   a = (uintptr_t)Alloc.Allocate(1, 128);
  108   Alloc.Allocate(4096, 1);
  112   Alloc.Allocate(1, 1);
  120   Alloc.Allocate(8000, 1);
  127   Alloc.Allocate(4095, 1);
  132   Alloc.Allocate(1024, 8192);
  177   (void)Alloc.Allocate(1, 1);
  180   (void)Alloc.Allocate(3000, 2048);
unittests/Support/BinaryStreamTest.cpp
  884     uint8_t *Ptr = static_cast<uint8_t *>(Allocator.Allocate(sizeof(Foo),