LLVM API Documentation
#include <Allocator.h>
Public Member Functions | |
| BumpPtrAllocator () | |
| ~BumpPtrAllocator () | |
| void | Reset () |
| void * | Allocate (size_t Size, size_t Alignment) |
| template<typename T> | |
| T * | Allocate () |
| template<typename T> | |
| T * | Allocate (size_t Num) |
| void | Deallocate (void *) |
| void | PrintStats () const |
Definition at line 48 of file Allocator.h.
| BumpPtrAllocator::BumpPtrAllocator | ( | ) |
Definition at line 101 of file Allocator.cpp.
| BumpPtrAllocator::~BumpPtrAllocator | ( | ) |
Definition at line 106 of file Allocator.cpp.
| void BumpPtrAllocator::Reset | ( | ) |
Definition at line 110 of file Allocator.cpp.
Referenced by llvm::SelectionDAG::clear(), llvm::LiveStacks::releaseMemory(), and llvm::LiveIntervals::releaseMemory().
| void * BumpPtrAllocator::Allocate | ( | size_t | Size, | |
| size_t | Alignment | |||
| ) |
Definition at line 117 of file Allocator.cpp.
Referenced by llvm::ImmutableListFactory< T >::Concat(), llvm::MachineFunction::getInfo(), llvm::LiveInterval::getNextValue(), llvm::SelectionDAG::getVTList(), llvm::MachineFunction::MachineFunction(), llvm::SelectionDAG::MorphNodeTo(), and llvm::Deserializer::ReadUIntPtr().
| T* llvm::BumpPtrAllocator::Allocate | ( | ) | [inline] |
| T* llvm::BumpPtrAllocator::Allocate | ( | size_t | Num | ) | [inline] |
| void llvm::BumpPtrAllocator::Deallocate | ( | void * | ) | [inline] |
| void BumpPtrAllocator::PrintStats | ( | ) | const |