Documentation ¶
Index ¶
- Constants
- type Context
- type Function
- func (f *Function) Add(a, b *Value) *Value
- func (f *Function) BranchIfNot(v *Value, label *Label)
- func (f *Function) Call(target *Function, values ...*Value) *Value
- func (f *Function) Call0(name string, target *Function, values ...*Value) *Value
- func (f *Function) CallNative(name string, target unsafe.Pointer, sig *Signature, values ...*Value) *Value
- func (f *Function) Compile()
- func (f *Function) Dump(name string)
- func (f *Function) Eq(a, b *Value) *Value
- func (f *Function) GetOnDemandCompiler() func(*Function) bool
- func (f *Function) Label(label *Label)
- func (f *Function) LessThan(a, b *Value) *Value
- func (f *Function) Mul(a, b *Value) *Value
- func (f *Function) Param(i int) *Value
- func (f *Function) Param2() (*Value, *Value)
- func (f *Function) Param3() (*Value, *Value, *Value)
- func (f *Function) Return(ret *Value)
- func (f *Function) Run(values ...interface{}) interface{}
- func (f *Function) SetOnDemandCompiler(function func(f *Function) bool)
- func (f *Function) SetRecompilable()
- func (f *Function) Store(x, y *Value)
- func (f *Function) StoreRelative(x *Value, offset int, y *Value)
- func (f *Function) Sub(a, b *Value) *Value
- func (f *Function) TailCall(target *Function, values ...*Value) *Value
- type Label
- type Signature
- type Type
- type Value
Constants ¶
View Source
const CDECL = C.jit_abi_cdecl
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
C C.jit_context_t
}
func NewContext ¶
func NewContext() *Context
func (*Context) BuildStart ¶
func (c *Context) BuildStart()
type Function ¶
type Function struct { C C.jit_function_t // contains filtered or unexported fields }
func (*Function) BranchIfNot ¶
func (*Function) CallNative ¶
func (*Function) GetOnDemandCompiler ¶
func (*Function) SetOnDemandCompiler ¶
func (*Function) SetRecompilable ¶
func (f *Function) SetRecompilable()
type Type ¶
type Type struct {
C C.jit_type_t
}
type Value ¶
type Value struct {
C C.jit_value_t
}
Click to show internal directories.
Click to hide internal directories.