Documentation ¶
Index ¶
- type AArch64
- func (x *AArch64) EncodeDataSection(stmts []IR, ctx *IR_Context) (*Segments, error)
- func (x *AArch64) EncodeExpression(expr IRExpression, ctx *IR_Context, target lib.Operand) ([]lib.Instruction, error)
- func (x *AArch64) EncodeStatement(stmt IR, ctx *IR_Context) ([]lib.Instruction, error)
- func (x *AArch64) GetAllocator() Allocator
- type AArch64_Allocator
- type ABI_AArch64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AArch64 ¶
type AArch64 struct { }
func (*AArch64) EncodeDataSection ¶
func (*AArch64) EncodeExpression ¶
func (*AArch64) EncodeStatement ¶
func (x *AArch64) EncodeStatement(stmt IR, ctx *IR_Context) ([]lib.Instruction, error)
func (*AArch64) GetAllocator ¶
func (x *AArch64) GetAllocator() Allocator
type AArch64_Allocator ¶
type AArch64_Allocator struct { Registers []bool RegistersAllocated uint8 FloatRegisters []bool FloatRegistersAllocated uint8 }
func NewAArch64_Allocator ¶
func NewAArch64_Allocator() *AArch64_Allocator
func (*AArch64_Allocator) AllocateRegister ¶
func (i *AArch64_Allocator) AllocateRegister(typ Type) lib.Operand
func (*AArch64_Allocator) Copy ¶
func (i *AArch64_Allocator) Copy() Allocator
func (*AArch64_Allocator) DeallocateRegister ¶
func (i *AArch64_Allocator) DeallocateRegister(op lib.Operand)
type ABI_AArch64 ¶
type ABI_AArch64 struct { }
Click to show internal directories.
Click to hide internal directories.