Module llvm_kaleidoscope_rs::llvm[][src]

Expand description

Safe wrapper around the LLVM C API.

References returned from the LLVM API are tied to the 'llvm lifetime which is bound to the context where the objects are created in. We do not offer wrappers to remove or delete any objects in the context and therefore all the references will be valid for the liftime of the context.

Structs

BasicBlock

Wrapper for a LLVM Basic Block.

Builder

Wrapper for a LLVM IR Builder.

FnValue

Wrapper for a LLVM Value Reference specialized for contexts where function values are needed.

Module

Wrapper for a LLVM Module with its own LLVM Context.

Type

Wrapper for a LLVM Type Reference.

Value

Wrapper for a LLVM Value Reference.