aarch64

package
v0.0.0-...-3f1fa26 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 (x *AArch64) EncodeDataSection(stmts []IR, ctx *IR_Context) (*Segments, error)

func (*AArch64) EncodeExpression

func (x *AArch64) EncodeExpression(expr IRExpression, ctx *IR_Context, target lib.Operand) ([]lib.Instruction, error)

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 {
}

Jump to

Keyboard shortcuts

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