Lines Matching defs:NodeAllocator
334 struct NodeAllocator { struct
337 NodeAllocator(uint32_t NPB = 4096) argument
338 : NodesPerBlock(NPB), BitsPerIndex(Log2_32(NPB)), in NodesPerBlock()
342 NodeBase *ptr(NodeId N) const { in ptr()
355 uint32_t makeId(uint32_t Block, uint32_t Index) const { in makeId()
360 const uint32_t NodesPerBlock;
361 const uint32_t BitsPerIndex;
362 const uint32_t IndexMask;
363 char *ActiveEnd;
364 std::vector<char*> Blocks;
365 typedef BumpPtrAllocatorImpl<MallocAllocator, 65536> AllocatorTy;
366 AllocatorTy MemPool;