Struct llvm_kaleidoscope_rs::llvm::Builder[][src]

pub struct Builder<'llvm> { /* fields omitted */ }
Expand description

Wrapper for a LLVM IR Builder.

Implementations

Create a new LLVM IR Builder with the modules context.

Panics

Panics if creating the IR Builder fails.

Position the IR Builder at the end of the given Basic Block.

Emit a fadd instruction.

Panics

Panics if LLVM API returns a null pointer.

Emit a fsub instruction.

Panics

Panics if LLVM API returns a null pointer.

Emit a fmul instruction.

Panics

Panics if LLVM API returns a null pointer.

Emit a fcmult instruction.

Panics

Panics if LLVM API returns a null pointer.

Emit a uitofp instruction.

Panics

Panics if LLVM API returns a null pointer.

Emit a call instruction.

Panics

Panics if LLVM API returns a null pointer.

Emit a ret instruction.

Panics

Panics if LLVM API returns a null pointer.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.