wag: github.com/tsavola/wag/internal/gen/regalloc Index | Files

package regalloc

import "github.com/tsavola/wag/internal/gen/regalloc"

Index

Package Files

regalloc.go

type Allocator Uses

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

func Make Uses

func Make() (a Allocator)

func (*Allocator) AllocResult Uses

func (a *Allocator) AllocResult(t wa.Type) (r reg.R)

AllocResult allocates a register, or returns reg.Result.

func (Allocator) CheckNoneAllocated Uses

func (a Allocator) CheckNoneAllocated()

func (Allocator) DebugPrintAllocated Uses

func (a Allocator) DebugPrintAllocated()

func (*Allocator) Free Uses

func (a *Allocator) Free(t wa.Type, r reg.R)

Free can be called also with reg.Result or reg.ScratchISA.

func (*Allocator) Free2 Uses

func (a *Allocator) Free2(t wa.Type, r1, r2 reg.R)

Free2 can be called also with reg.Result or reg.ScratchISA.

Package regalloc imports 5 packages (graph) and is imported by 2 packages. Updated 2019-11-30. Refresh now. Tools for package owners.