Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SmartDoFile ¶
func SmartDoFile(pkgPath string)
func SmartDoFileAtPhase ¶ added in v1.0.2
SmartDoFileAtPhase writes the package module captured at phase.
Types ¶
type GeneratedIR ¶
GeneratedIR is an LLVM IR snapshot together with its effective target.
func Generate ¶
func Generate(fileOrPkg string) GeneratedIR
Generate returns the historical pre-target-ABI module together with its effective target. GenFrom is the text-only compatibility wrapper.
func GeneratePostABI ¶
func GeneratePostABI(fileOrPkg string) GeneratedIR
GeneratePostABI returns the module after aggregate and target ABI lowering and before LLVM optimization. GenFrom intentionally retains its historical pre-target-ABI behavior.
func GeneratePostABIWithConf ¶
func GeneratePostABIWithConf(fileOrPkg string, input *build.Config) GeneratedIR
GeneratePostABIWithConf is GeneratePostABI with caller-provided target and frontend settings. Any ModuleHook on input is ignored because generation manages phase capture internally.
func GenerateWithConf ¶
func GenerateWithConf(fileOrPkg string, input *build.Config) GeneratedIR
GenerateWithConf is Generate with caller-provided target and frontend settings. Any ModuleHook on input is ignored because generation manages the hook used to capture the requested phase.