codegen_ir

package
v0.0.0-...-ab8d200 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CodegenIr

func CodegenIr(target llvm.Target, path stlos.FilePath) (llvm.Module, error)

CodegenIr 中间代码生成

Types

type CodeGenerator

type CodeGenerator struct {
	// contains filtered or unexported fields
}

CodeGenerator 代码生成器

func New

func New(target llvm.Target, pkg *hir.Package) *CodeGenerator

func (*CodeGenerator) Codegen

func (self *CodeGenerator) Codegen() llvm.Module

Codegen 代码生成

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL