Documentation ¶
Index ¶
- type Context
- func (ctx *Context) ADD(x, y, ci, s, co ir.Operand)
- func (ctx *Context) CMOV(src, dst, f ir.Operand, eq ir.Flag)
- func (ctx *Context) Int(namespace string, k int) ir.Registers
- func (ctx *Context) MOV(src, dst ir.Operand)
- func (ctx *Context) MUL(x, y, hi, lo ir.Operand)
- func (ctx *Context) Program() (*ir.Program, error)
- func (ctx *Context) Register(namespace string) ir.Register
- func (ctx *Context) RegisterFromSequence(s name.Sequence) ir.Register
- func (ctx *Context) SHL(x ir.Operand, s ir.Constant, r ir.Operand)
- func (ctx *Context) SHR(x ir.Operand, s ir.Constant, r ir.Operand)
- func (ctx *Context) SUB(x, y, bi, d, bo ir.Operand)
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) RegisterFromSequence ¶
RegisterFromSequence returns a unique register from the sequence s.
Click to show internal directories.
Click to hide internal directories.