build

package
v0.0.0-...-3948e75 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

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

func NewContext

func NewContext() *Context

func (*Context) ADD

func (ctx *Context) ADD(x, y, ci, s, co ir.Operand)

func (*Context) CMOV

func (ctx *Context) CMOV(src, dst, f ir.Operand, eq ir.Flag)

func (*Context) Int

func (ctx *Context) Int(namespace string, k int) ir.Registers

func (*Context) MOV

func (ctx *Context) MOV(src, dst ir.Operand)

func (*Context) MUL

func (ctx *Context) MUL(x, y, hi, lo ir.Operand)

func (*Context) Program

func (ctx *Context) Program() (*ir.Program, error)

func (*Context) Register

func (ctx *Context) Register(namespace string) ir.Register

Register returns a unique register in the given namespace.

func (*Context) RegisterFromSequence

func (ctx *Context) RegisterFromSequence(s name.Sequence) ir.Register

RegisterFromSequence returns a unique register from the sequence s.

func (*Context) SHL

func (ctx *Context) SHL(x ir.Operand, s ir.Constant, r ir.Operand)

func (*Context) SHR

func (ctx *Context) SHR(x ir.Operand, s ir.Constant, r ir.Operand)

func (*Context) SUB

func (ctx *Context) SUB(x, y, bi, d, bo ir.Operand)

Jump to

Keyboard shortcuts

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