Package org.ek9lang.compiler.ir.support
package org.ek9lang.compiler.ir.support
IR Support Utilities - Helper classes for IR generation and processing.
This package contains utility classes that support IR generation and analysis.
Key Classes:
DebugInfo- Source location and debug informationCallMetaDataExtractor- Utility for extracting call metadata
These utilities are used during IR generation in Phase 10 and during code generation in the backend phases.
-
ClassDescriptionExtracts call metadata from symbols for use in IR generation.Debug information for IR instructions to enable source mapping and debugging.THE IR rewriter: rebuilds an instruction list bottom-up.THE structured walk of the IR: every instruction, in every nested list, in rendering order, with each nested list's role and
CompositeInstr.Activation(once, or once per loop iteration).What a walk tells its visitor.THE question whether a call hands back an owned (+1) result - whether or not the IR names it.A value's ownership kind (EK9_IR_OWNERSHIP_MODEL.md ยง3), and THE rule for the kind of the value an instruction makes.