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

References

include/llvm/Support/Memory.h
  147     size_t allocatedSize() const { return M.allocatedSize(); }
lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp
   31               SegBlocks[Seg].allocatedSize()};
   48                                         KV.second.allocatedSize());
   68                                                   Block.allocatedSize());
lib/ExecutionEngine/SectionMemoryManager.cpp
   67     if (FreeMB.Free.allocatedSize() >= RequiredSize) {
   69       uintptr_t EndOfBlock = Addr + FreeMB.Free.allocatedSize();
  118   uintptr_t EndOfBlock = Addr + MB.allocatedSize();
  180   size_t TrimmedSize = M.allocatedSize();
  188   assert((Trimmed.allocatedSize() % PageSize) == 0);
  190          Trimmed.allocatedSize() <= M.allocatedSize());
  190          Trimmed.allocatedSize() <= M.allocatedSize());
  215                                      return FreeMB.Free.allocatedSize() == 0;
  225                                             Block.allocatedSize());
lib/Support/Memory.cpp
   46             << (void *)((char *)MB.base() + MB.allocatedSize()) << " ] ("
   47             << MB.allocatedSize() << " bytes)";
lib/Support/Unix/Memory.inc
  119                                       NearBlock->allocatedSize() : 0;
tools/llvm-jitlink/llvm-jitlink.cpp
  253                 SegBlocks[Seg].allocatedSize()};
  278                                                     Block.allocatedSize());
  309       uint64_t SlabRemainingSize = SlabRemaining.allocatedSize();
tools/llvm-rtdyld/llvm-rtdyld.cpp
  672         AlreadyAllocated[LoadAddr] = (*Tmp)->MB.allocatedSize();
  696       if (NextSectionAddr + CurEntry->MB.allocatedSize() + TargetSectionSep <=
  703     AlreadyAllocated[NextSectionAddr] = CurEntry->MB.allocatedSize();
unittests/Support/MemoryTest.cpp
   79       return (unsigned char *)M2.base() + M2.allocatedSize() > M1.base();
   81     return (unsigned char *)M1.base() + M1.allocatedSize() > M2.base();
  103   EXPECT_LE(sizeof(int), M1.allocatedSize());
  119   EXPECT_LE(sizeof(int), M1.allocatedSize());
  135   EXPECT_LE(16U, M1.allocatedSize());
  137   EXPECT_LE(64U, M2.allocatedSize());
  139   EXPECT_LE(32U, M3.allocatedSize());
  150   EXPECT_LE(16U, M4.allocatedSize());
  167   EXPECT_LE(sizeof(int), M1.allocatedSize());
  199   EXPECT_LE(1U * sizeof(int), M1.allocatedSize());
  201   EXPECT_LE(8U * sizeof(int), M2.allocatedSize());
  203   EXPECT_LE(4U * sizeof(int), M3.allocatedSize());
  227   EXPECT_LE(64U * sizeof(int), M4.allocatedSize());
  258   EXPECT_LE(2U * sizeof(int), M1.allocatedSize());
  260   EXPECT_LE(8U * sizeof(int), M2.allocatedSize());
  262   EXPECT_LE(4U * sizeof(int), M3.allocatedSize());
  292   EXPECT_LE(16U, M4.allocatedSize());
  313   EXPECT_LE(16U, M1.allocatedSize());
  315   EXPECT_LE(64U, M2.allocatedSize());
  317   EXPECT_LE(32U, M3.allocatedSize());
  340   EXPECT_LE(16U, M1.allocatedSize());
  342   EXPECT_LE(64U, M2.allocatedSize());
  344   EXPECT_LE(32U, M3.allocatedSize());
  363   EXPECT_LE(16U, M1.allocatedSize());
  365   EXPECT_LE(64U, M2.allocatedSize());
  367   EXPECT_LE(32U, M3.allocatedSize());
  390   EXPECT_LE(16U, M1.allocatedSize());
  392   EXPECT_LE(64U, M2.allocatedSize());
  394   EXPECT_LE(32U, M3.allocatedSize());
  413   EXPECT_LE(sizeof(int), M1.allocatedSize());