Function sequant::eval::detail::emit_build_cell¶
Defined in File cell_table_builder.hpp
Function Documentation¶
-
inline CellId sequant::eval::detail::emit_build_cell(CellTableInputs const &in, std::size_t vid, container::svector<std::pair<LoopKey, int>> const &path, container::svector<std::wstring> const &path_spaces, container::svector<ScopeBlock const*> const &block_stack, CellBuildState &st)¶
Builds and registers the
Buildcell for valuevidat the current scope (path/path_spaces/block_stack):slicedviaslicing_instancefor each of its own carried positions;partial_over= thelevel.key()of every block onblock_stack(its enclosing blocks, innermost included) that lists(vid, AccumulateSum) among its own outputs — so a value with a genuineBuildStepgets the same treatment as one synthesized for an escape with no in-block form of its own; residency flags viaset_residency_flags. A sliced mode whose position matches no enclosing instance is recorded whole and reported inCellTable::unresolved. Returns the new cell’s id.