Skip to main content

Module place

Module place 

Source
Expand description

Place-base shared between AIR and CFG.

Both IRs represent memory locations as a base (a local slot or a parameter slot) plus a list of projections (field access, indexing). The base half is identical in both — extracted here so it isn’t defined twice.

The projection lists differ (AIR’s Index carries an AirRef, CFG’s a CfgValue), so those stay per-IR for now.

Enums§

PlaceBase
Where a memory location starts: a local slot or a parameter slot.