#include "DynamicAllocator.h"
#include "InterpBlock.h"
#include "InterpState.h"
usingnamespaceclang;
usingnamespaceclang::interp;
DynamicAllocator::~DynamicAllocator() { … }
void DynamicAllocator::cleanup() { … }
Block *DynamicAllocator::allocate(const Expr *Source, PrimType T,
size_t NumElements, unsigned EvalID,
Form AllocForm) { … }
Block *DynamicAllocator::allocate(const Descriptor *ElementDesc,
size_t NumElements, unsigned EvalID,
Form AllocForm) { … }
Block *DynamicAllocator::allocate(const Descriptor *D, unsigned EvalID,
Form AllocForm) { … }
bool DynamicAllocator::deallocate(const Expr *Source,
const Block *BlockToDelete, InterpState &S) { … }