Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SmartDoFile ¶
func SmartDoFile(pkgPath string)
func SmartDoFileEx ¶
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. It uses generation mode and does not invoke ModuleHook.
func GenerateWithConf ¶
func GenerateWithConf(fileOrPkg string, input *build.Config) GeneratedIR
GenerateWithConf is Generate with caller-provided target and frontend settings. It uses generation mode and does not invoke ModuleHook.