Documentation
¶
Overview ¶
Package heap2stack applies LLGo's storage-placement policy around LLVM's heap-to-stack analysis. Attributor remains responsible for escape analysis.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(mod llvm.Module, tm llvm.TargetMachine) error
Run preserves heap storage in oversized functions, for tail-call inputs, and for repeated allocations whose instances cannot be proven disjoint, then moves new fixed slots to entry. Initialization stays at the original allocation site. No lifetime markers are needed for this placement, and pre-existing allocas are left alone.
Types ¶
This section is empty.