[][src]Module arcon::weld

Re-exports

pub use future::*;
pub use module::Module;
pub use module::ModuleRun;

Modules

ast

Defines the Weld abstract syntax tree.

data

Structures that can be passed into Weld.

future
module
runtime

Functions called from within the Weld runtime.

Macros

weld_err

A macro for creating a WeldError with a message and an unknown error code.

Structs

Appender

The appender builder type.

Dict

The dictionary type.

DictMerger

The dictmerger builder type.

GroupMerger

The groupmerger builder type.

WeldConf

A struct used to configure compilation and the Weld runtime.

WeldContext

A context for a Weld program.

WeldError

An error when compiling or running a Weld program.

WeldModule

A compiled runnable Weld module.

WeldValue

A wrapper for data passed into and out of Weld.

WeldVec

A dynamically sized constant vector.

Enums

WeldLogLevel

A logging level for the compiler.

Constants

BUILD

A build ID.

CONF_DUMP_CODE_DEFAULT

Default setting for whether to dump code.

CONF_DUMP_CODE_DIR_DEFAULT

Default directory for dumping code.

CONF_DUMP_CODE_DIR_KEY

Specifies the directory to dump code into.

CONF_DUMP_CODE_FILENAME_KEY

Specifies the filename prefix for dumped code.

CONF_DUMP_CODE_FORMATS_KEY

Specifies the formats to dump for dumped code.

CONF_DUMP_CODE_KEY

Enables dumping code during compilation.

CONF_ENABLE_BOUNDS_CHECKS_DEFAULT

Default setting for whether to enable bounds checking.

CONF_ENABLE_BOUNDS_CHECKS_KEY

Enables runtime bounds checking for loops before executing them.

CONF_EXPERIMENTAL_PASSES_DEFAULT

Default setting for whether to enable experimental (unstable) optimizations.

CONF_EXPERIMENTAL_PASSES_KEY

Enables experimental (unstable) optimizations.

CONF_LLVM_FUNC_OPTS_DEFAULT

Default LLVM function passes setting.

CONF_LLVM_FUNC_OPTS_KEY

Toggles per-function optimizations.

CONF_LLVM_MODULE_OPTS_DEFAULT

Default LLVM module passes setting.

CONF_LLVM_MODULE_OPTS_KEY

Toggles full module optimizations.

CONF_LLVM_OPTIMIZATION_LEVEL_DEFAULT

Default LLVM optimization level.

CONF_LLVM_OPTIMIZATION_LEVEL_KEY

Set the LLVM optimization level.

CONF_LLVM_RUN_FUNC_NAME_DEFAULT

Default symbol name for LLVM entry-point function.

CONF_LLVM_RUN_FUNC_NAME_KEY

Sets the symbol name of the entry-point function.

CONF_LLVM_TARGET_PASSES_DEFAULT

Default LLVM target analysis passes.

CONF_LLVM_TARGET_PASSES_KEY

Toggles LLVM target passes.

CONF_LLVM_UNROLLER_DEFAULT

Default LLVM loop unroller setting.

CONF_LLVM_UNROLLER_KEY

Toggles LLVM loop unrolling.

CONF_LLVM_VECTORIZER_DEFAULT

Default LLVM loop vectorizer setting.

CONF_LLVM_VECTORIZER_KEY

Toggles LLVM vectorization.

CONF_MEMORY_LIMIT_DEFAULT

Default memory limit.

CONF_MEMORY_LIMIT_KEY

Bytes a single WeldContext is allowed to allocate.

CONF_OPTIMIZATION_PASSES_DEFAULT

Default set of optimization passes.

CONF_OPTIMIZATION_PASSES_KEY

Specifies an ordered list of the optimizations to apply to a Weld program.

CONF_SIR_OPT_DEFAULT

Default setting for SIR optimization.

CONF_SIR_OPT_KEY

Enables internal Sequential IR (SIR) optimizations.

CONF_THREADS_DEFAULT

Default number of threads.

CONF_THREADS_KEY

Specifies the number of threads to use during execution.

CONF_TRACE_RUN_DEFAULT

Default setting for whether to trace SIR instructions.

CONF_TRACE_RUN_KEY

Specifies whether tracing should be enabled when compiling the program.

VERSION

Weld version.

Functions

load_linked_library

Load a dynamic library that a Weld program can access.

set_log_level

Enables logging to stderr in Weld with the given log level.

Type Definitions

Data

A wrapper for a C pointer.

DataMut

A wrapper for a mutable C pointer.

RunId

An identifier that uniquely identifies a call to WeldModule::run.

WeldBool

A boolean in Weld.

WeldResult

A Result that uses WeldError.