Expand description
Shared, bounded execution-cost analysis for regular and structured compilation.
Structs§
- Cost
Estimate - Bounded construction and memory estimate for one execution strategy.
- Node
Route - One immutable route-table entry.
- Route
Table - The immutable per-node route analysis computed once for a frozen IR.
Enums§
- Bound
- A bounded estimate that never wraps attacker-controlled arithmetic.
- Execution
Kind - Runtime shape selected for one IR node.
- Route
Reason - Stable primary reason for a node’s selected route.
Constants§
- ROUTE_
POLICY_ VERSION - Increment when a routing rule or cost model changes executable selection.
Functions§
- add_
bound - Adds two bounded values, short-circuiting on overflow or cap violation.
- mul_
bound - Multiplies two bounded values, short-circuiting on overflow or cap violation.
- pow2_
bound - Computes
2^nunder a cap without an overflowing shift.