MLIR 23.0.0git
StaticMemoryPlanning.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallVector.h"
#include <cstdint>

Go to the source code of this file.

Classes

struct  mlir::bufferization::MemoryPlannerAlloc
 Descriptor for a single allocation to be placed by the memory planner. More...

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::bufferization

Functions

llvm::SmallVector< int64_tmlir::bufferization::trivialMemoryPlanner (int64_t arenaAlignment, llvm::ArrayRef< MemoryPlannerAlloc > allocs)
 Sequential packing without lifetime overlap.
llvm::SmallVector< int64_tmlir::bufferization::bestFitMemoryPlanner (int64_t arenaAlignment, llvm::ArrayRef< MemoryPlannerAlloc > allocs)
 Best-fit packing with lifetime-aware gap reuse.