Builder class for ExecutionEngines. Use this by stack‐allocating a builder, chaining the various set* methods, and terminating it with a .create() call.

Synopsis

Declared in <llvm/ExecutionEngine/ExecutionEngine.h>

class EngineBuilder;

Member Functions

Name

Description

EngineBuilder [constructor]

Constructors

~EngineBuilder [destructor]

Destroy the builder and release any unconsumed owned state.

create

create overloads

selectTarget

selectTarget overloads

setCodeModel

Set the code model used by the ExecutionEngine target.

setEmulatedTLS

Enable or disable emulated TLS for the constructed engine.

setEngineKind

Select whether to build an interpreter, JIT, or either.

setErrorStr

Set the error string to write to on error.

setMArch

Override the architecture set by the Module's triple.

setMAttrs

Set cpu‐specific attributes.

setMCJITMemoryManager

Set the MCJIT memory manager used for allocation policy.

setMCPU

Target a specific cpu type.

setMemoryManager

Set the MCJIT memory manager without taking an RTDyld wrapper.

setOptLevel

Set the optimization level for the JIT.

setRelocationModel

Set the relocation model used by the ExecutionEngine target.

setSymbolResolver

Set the symbol resolver used when linking generated code.

setTargetOptions

Set the target options used by the ExecutionEngine target.

setVerifyModules

Set whether the JIT implementation should verify IR modules.

Created with MrDocs