regalloc

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Allocator

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

func Make added in v0.5.0

func Make() (a Allocator)

func (*Allocator) AllocResult added in v0.5.0

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

AllocResult allocates a register, or returns reg.Result.

func (Allocator) CheckNoneAllocated added in v0.5.0

func (a Allocator) CheckNoneAllocated()

func (Allocator) DebugPrintAllocated added in v0.5.0

func (a Allocator) DebugPrintAllocated()

func (*Allocator) Free

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

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

func (*Allocator) Free2 added in v0.25.0

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

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

Jump to

Keyboard shortcuts

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