Crate binaryen[][src]

Re-exports

pub extern crate binaryen_sys;

Modules

ffi
tools

Structs

Expr
FnRef

A function reference.

FnType

A function type.

Module

Modules contain lists of functions, imports, exports, function types.

PlainBlock

Block that ends with nothing or with simple branching.

Relooper

Relooper transforms arbitrary control-flow graph into a structured control-flow that used by Binaryen IR.

Segment

A Segment provides a way to specify, initial contents of the memory. It consists of a data slice and an offset at which this data should be placed in memory. Offset is represented by initializer expression.

SwitchBlock

Block that ends with a switch.

Enums

BinaryOp

Operation that takes two input operands and returns result.

HostOp
Literal
Ty

See 'ValueTy'.

UnaryOp

Operation that takes a single input operand and returns result.

ValueTy

Type of the values. For example, these can be found on a stack and in local vars.

Traits

Block

Represents Relooper's block.

ToCStr

This trait provides a means for converting various types of strings into a pointer that can be passed into C code.