Expand description
Auto-generated module
🤖 Generated with SplitRS
Structs§
- Call
Frequency Analyzer - Call
Graph - Call
Graph Edge - Call
Site - A single call site encountered during the inlining pass.
- Callee
Size Table - Clone
Spec Record - Record of a clone-and-specialize operation.
- Clone
Specializer - Manages clone-and-specialize transformations, where a callee is cloned and specialized for a specific argument value, enabling better downstream optimization (constant folding, dead branch elimination).
- Extended
Inline Pass - Extended
Inline Stats - Fresh
VarGen - Simple monotonic counter for fresh variable IDs used during inlining.
- HotPath
- Inline
Annotation Registry - Inline
Budget - Inline
Config - Top-level configuration for the inlining pass.
- Inline
Context Frame - A single frame in the inline context stack.
- Inline
Context Stack - Context-sensitive inline stack, used to detect context-specific inlining opportunities (e.g., inlining differently depending on call chain).
- Inline
Cost - Cost model for inlining a single call site.
- Inline
Fusion Manager - Tracks and manages inline fusion decisions.
- Inline
Fusion Record - Represents a fusion of two adjacent inlined callees at the same call site.
- Inline
Heuristics - Tunable parameters that govern inlining decisions.
- Inline
History - Tracks (caller, callee) pairs that have already been inlined to prevent redundant work or infinite loops in iterative inline passes.
- Inline
Order Scheduler - Inline
Pass - The main inlining optimization pass.
- Inline
Profile - Profile information collected (or estimated) for inlining decisions.
- Inline
Profitability Estimator - Estimates the profitability of inlining a given call site.
- Inline
Report - Statistics gathered by a completed inlining pass.
- Inline
Trace - Inline
Trace Entry - Inlining
Context - Tracks the current inlining call stack to detect and prevent cycles.
- Interprocedural
Inline Pass - Full interprocedural inlining pass that combines:
- Nesting
Depth Tracker - Partial
Inline Decision - Decision record for partial inlining of a function.
- Post
Inline Cleanup - Recursive
Inline Limiter - SccNode
- A node in the call-graph SCC analysis.
- Speculative
Inline Record - Speculative
Inliner - Tarjan
Scc - Tarjan’s strongly connected components algorithm over the call graph.
Enums§
- Inline
Annotation - Inline
Decision - Decision about whether a function should be inlined at a call site.
- Partial
Inline Region - Describes which portion of a callee body is eligible for partial inlining.