From 73e25a571f12d3deaa6f4493a5b4792a9dae39eb Mon Sep 17 00:00:00 2001 From: johannst Date: Sat, 24 Sep 2022 22:38:40 +0000 Subject: deploy: 295081130ca1eed6e67dfc035e2df2c9ed49b174 --- llvm_kaleidoscope_rs/llvm/struct.IRBuilder.html | 97 +++++++++++++++---------- 1 file changed, 60 insertions(+), 37 deletions(-) (limited to 'llvm_kaleidoscope_rs/llvm/struct.IRBuilder.html') diff --git a/llvm_kaleidoscope_rs/llvm/struct.IRBuilder.html b/llvm_kaleidoscope_rs/llvm/struct.IRBuilder.html index f8d13a5..7f77a2c 100644 --- a/llvm_kaleidoscope_rs/llvm/struct.IRBuilder.html +++ b/llvm_kaleidoscope_rs/llvm/struct.IRBuilder.html @@ -1,39 +1,62 @@ -IRBuilder in llvm_kaleidoscope_rs::llvm - Rust

Struct llvm_kaleidoscope_rs::llvm::IRBuilder[][src]

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

Wrapper for a LLVM IR Builder.

-

Implementations

Create a new LLVM IR Builder with the modules context.

-

Panics

+IRBuilder in llvm_kaleidoscope_rs::llvm - Rust +
pub struct IRBuilder<'llvm> { /* private fields */ }
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.

-
- +

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

+

Get the BasicBlock the IRBuilder currently inputs into.

+
Panics
+

Panics if LLVM API returns a null pointer.

+

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 fcmpult instruction.

+
Panics
+

Panics if LLVM API returns a null pointer.

+

Emit a fcmpone 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.

+

Emit an unconditional br instruction.

+
Panics
+

Panics if LLVM API returns a null pointer.

+

Emit a conditional br instruction.

+
Panics
+

Panics if LLVM API returns a null pointer.

+

Emit a phi 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

+

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+

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.

+
\ No newline at end of file -- cgit v1.2.3