Struct Cell

Struct Documentation

struct Cell

One value group in a linearized schedule: a single logical value (all its perfect-CSE occurrences folded together) with its home-relative footprint and its inclusive static-point liveness range.

Public Members

std::size_t value_id

stable index of the value group (== its slot in Schedule::cells)

int home_depth

home_depth_of(home_scope, ectx) at any occurrence (-1 == above the whole nest)

std::size_t footprint

home-relative size in bytes

std::size_t first_use

earliest static point the value is live at

std::size_t last_use

latest static point the value is live at (its last consumer), inclusive