From a47dfd3d1417412f4d55ffa964d9fc98d8d53a9d Mon Sep 17 00:00:00 2001 From: johannst Date: Mon, 13 Sep 2021 22:26:20 +0000 Subject: deploy: 743f301eef632a41bd870529a9e838ce4974f9eb --- llvm_kaleidoscope_rs/llvm/index.html | 15 +++++++++ llvm_kaleidoscope_rs/llvm/sidebar-items.js | 1 + llvm_kaleidoscope_rs/llvm/struct.BasicBlock.html | 19 +++++++++++ llvm_kaleidoscope_rs/llvm/struct.Builder.html | 39 ++++++++++++++++++++++ llvm_kaleidoscope_rs/llvm/struct.FnValue.html | 42 ++++++++++++++++++++++++ llvm_kaleidoscope_rs/llvm/struct.Module.html | 37 +++++++++++++++++++++ llvm_kaleidoscope_rs/llvm/struct.Type.html | 23 +++++++++++++ llvm_kaleidoscope_rs/llvm/struct.Value.html | 31 +++++++++++++++++ 8 files changed, 207 insertions(+) create mode 100644 llvm_kaleidoscope_rs/llvm/index.html create mode 100644 llvm_kaleidoscope_rs/llvm/sidebar-items.js create mode 100644 llvm_kaleidoscope_rs/llvm/struct.BasicBlock.html create mode 100644 llvm_kaleidoscope_rs/llvm/struct.Builder.html create mode 100644 llvm_kaleidoscope_rs/llvm/struct.FnValue.html create mode 100644 llvm_kaleidoscope_rs/llvm/struct.Module.html create mode 100644 llvm_kaleidoscope_rs/llvm/struct.Type.html create mode 100644 llvm_kaleidoscope_rs/llvm/struct.Value.html (limited to 'llvm_kaleidoscope_rs/llvm') diff --git a/llvm_kaleidoscope_rs/llvm/index.html b/llvm_kaleidoscope_rs/llvm/index.html new file mode 100644 index 0000000..acd0ba4 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/index.html @@ -0,0 +1,15 @@ +llvm_kaleidoscope_rs::llvm - Rust + +

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.

+
\ No newline at end of file diff --git a/llvm_kaleidoscope_rs/llvm/sidebar-items.js b/llvm_kaleidoscope_rs/llvm/sidebar-items.js new file mode 100644 index 0000000..71ace87 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/sidebar-items.js @@ -0,0 +1 @@ +initSidebarItems({"struct":[["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."]]}); \ No newline at end of file diff --git a/llvm_kaleidoscope_rs/llvm/struct.BasicBlock.html b/llvm_kaleidoscope_rs/llvm/struct.BasicBlock.html new file mode 100644 index 0000000..2b943b1 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/struct.BasicBlock.html @@ -0,0 +1,19 @@ +BasicBlock in llvm_kaleidoscope_rs::llvm - Rust + +

Struct llvm_kaleidoscope_rs::llvm::BasicBlock[][src]

pub struct BasicBlock<'llvm>(_, _);
Expand description

Wrapper for a LLVM Basic Block.

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. 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 resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

+
🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

Uses borrowed data to replace owned data, usually by cloning. Read more

+

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 diff --git a/llvm_kaleidoscope_rs/llvm/struct.Builder.html b/llvm_kaleidoscope_rs/llvm/struct.Builder.html new file mode 100644 index 0000000..dd33e3e --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/struct.Builder.html @@ -0,0 +1,39 @@ +Builder in llvm_kaleidoscope_rs::llvm - Rust + +

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.

+
\ No newline at end of file diff --git a/llvm_kaleidoscope_rs/llvm/struct.FnValue.html b/llvm_kaleidoscope_rs/llvm/struct.FnValue.html new file mode 100644 index 0000000..64ff22c --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/struct.FnValue.html @@ -0,0 +1,42 @@ +FnValue in llvm_kaleidoscope_rs::llvm - Rust + +

Struct llvm_kaleidoscope_rs::llvm::FnValue[][src]

#[repr(transparent)]
pub struct FnValue<'llvm>(_);
Expand description

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

+

Implementations

Get a type reference representing the return value of the given function value.

+

Panics

+

Panics if LLVM API returns a null pointer.

+

Get the number of function arguments for the given function value.

+

Get a value reference for the function argument at index idx.

+

Panics

+

Panics if LLVM API returns a null pointer or indexed out of bounds.

+

Get the number of Basic Blocks for the given function value.

+

Verify that the given function is valid.

+

Methods from Deref<Target = Value<'llvm>>

Dump the LLVM Value to stdout.

+

Get a type reference representing for the given value reference.

+

Panics

+

Panics if LLVM API returns a null pointer.

+

Set the name for the given value reference.

+

Panics

+

Panics if LLVM API returns a null pointer.

+

Get the name for the given value reference.

+

Panics

+

Panics if LLVM API returns a null pointer.

+

Check if value is of f64 type.

+

Check if value is of integer type.

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. Read more

+

The resulting type after dereferencing.

+

Dereferences the value.

+

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 resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

+
🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

Uses borrowed data to replace owned data, usually by cloning. Read more

+

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 diff --git a/llvm_kaleidoscope_rs/llvm/struct.Module.html b/llvm_kaleidoscope_rs/llvm/struct.Module.html new file mode 100644 index 0000000..6d9cb60 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/struct.Module.html @@ -0,0 +1,37 @@ +Module in llvm_kaleidoscope_rs::llvm - Rust + +

Struct llvm_kaleidoscope_rs::llvm::Module[][src]

pub struct Module { /* fields omitted */ }
Expand description

Wrapper for a LLVM Module with its own LLVM Context.

+

Implementations

Create a new Module instance.

+

Panics

+

Panics if creating the context or the module fails.

+

Dump LLVM IR emitted into the Module to stdout.

+

Get a type reference representing a f64 float.

+

Panics

+

Panics if LLVM API returns a null pointer.

+

Get a type reference representing a fn(args) -> ret function.

+

Panics

+

Panics if LLVM API returns a null pointer.

+

Add a function with the given name and fn_type to the module and return a value +reference representing the function.

+

Panics

+

Panics if LLVM API returns a null pointer or name could not be converted to a +SmallCStr.

+

Get a function value reference to the function with the given name if it was previously +added to the module with add_fn.

+

Panics

+

Panics if name could not be converted to a SmallCStr.

+

Append a Basic Block to the end of the function referenced by the value reference +fn_value.

+

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.

+
\ No newline at end of file diff --git a/llvm_kaleidoscope_rs/llvm/struct.Type.html b/llvm_kaleidoscope_rs/llvm/struct.Type.html new file mode 100644 index 0000000..51fcaf8 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/struct.Type.html @@ -0,0 +1,23 @@ +Type in llvm_kaleidoscope_rs::llvm - Rust + +

Struct llvm_kaleidoscope_rs::llvm::Type[][src]

#[repr(transparent)]
pub struct Type<'llvm>(_, _);
Expand description

Wrapper for a LLVM Type Reference.

+

Implementations

Dump the LLVM Type to stdout.

+

Get a value reference representing the const f64 value.

+

Panics

+

Panics if LLVM API returns a null pointer.

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. 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 resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

+
🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

Uses borrowed data to replace owned data, usually by cloning. Read more

+

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 diff --git a/llvm_kaleidoscope_rs/llvm/struct.Value.html b/llvm_kaleidoscope_rs/llvm/struct.Value.html new file mode 100644 index 0000000..7f6e117 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/struct.Value.html @@ -0,0 +1,31 @@ +Value in llvm_kaleidoscope_rs::llvm - Rust + +

Struct llvm_kaleidoscope_rs::llvm::Value[][src]

#[repr(transparent)]
pub struct Value<'llvm>(_, _);
Expand description

Wrapper for a LLVM Value Reference.

+

Implementations

Dump the LLVM Value to stdout.

+

Get a type reference representing for the given value reference.

+

Panics

+

Panics if LLVM API returns a null pointer.

+

Set the name for the given value reference.

+

Panics

+

Panics if LLVM API returns a null pointer.

+

Get the name for the given value reference.

+

Panics

+

Panics if LLVM API returns a null pointer.

+

Check if value is of f64 type.

+

Check if value is of integer type.

+

Trait Implementations

Returns a copy of the value. Read more

+

Performs copy-assignment from source. 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 resulting type after obtaining ownership.

+

Creates owned data from borrowed data, usually by cloning. Read more

+
🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

+

Uses borrowed data to replace owned data, usually by cloning. Read more

+

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