Contents

struct

SushiAI::Graph::Placement

Where one value's elements live.

Declared in
include/SushiAI/graph/memory_plan.hpp

The buffer field identifies the owning value, allowing aliased chains such as ACCUMULATE to share storage placements and live ranges.

Public attributes

ArenaId arena = NO_ARENA

Which arena holds it, or NO_ARENA for its own allocation.

std::size_t offset = 0

Byte offset from the arena's base; 0 when unpacked.

std::size_t bytes = 0

How many bytes the value occupies.

ValueId buffer = NO_VALUE

The value that owns the bytes; equal to the value unless aliased.