Documentation ¶
Index ¶
- type Allocator
- func (a *Allocator) Alloc(cat gen.RegCategory) (reg regs.R, ok bool)
- func (a *Allocator) AllocSpecific(cat gen.RegCategory, reg regs.R)
- func (a *Allocator) Allocated(cat gen.RegCategory, reg regs.R) bool
- func (a *Allocator) AssertNoneAllocated()
- func (a *Allocator) Free(cat gen.RegCategory, reg regs.R)
- func (a *Allocator) FreeAll()
- func (a *Allocator) Init(avail uint64)
- func (a *Allocator) SetAllocated(cat gen.RegCategory, reg regs.R)
- type Iterator
- type Map
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 (*Allocator) AllocSpecific ¶
func (a *Allocator) AllocSpecific(cat gen.RegCategory, reg regs.R)
func (*Allocator) AssertNoneAllocated ¶
func (a *Allocator) AssertNoneAllocated()
func (*Allocator) SetAllocated ¶
func (a *Allocator) SetAllocated(cat gen.RegCategory, reg regs.R)
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
func (*Iterator) IterBackward ¶
func (iter *Iterator) IterBackward(cat gen.RegCategory) (reg regs.R)
func (*Iterator) IterForward ¶
func (iter *Iterator) IterForward(cat gen.RegCategory) (reg regs.R)
Click to show internal directories.
Click to hide internal directories.