From 4b1a7d8a1d315090fb808ba4695bbacdc91e1aff Mon Sep 17 00:00:00 2001 From: johannst Date: Fri, 24 Sep 2021 22:49:57 +0000 Subject: deploy: 6eb6ad9f574c783d471f6a863299af25b6f5a8c7 --- .../llvm/builder/struct.IRBuilder.html | 11 ++++ .../llvm/fn.initialize_native_taget.html | 4 ++ llvm_kaleidoscope_rs/llvm/fn.shutdown.html | 4 ++ llvm_kaleidoscope_rs/llvm/index.html | 28 ++++++---- llvm_kaleidoscope_rs/llvm/lljit/struct.LLJit.html | 11 ++++ .../llvm/lljit/struct.ResourceTracker.html | 11 ++++ .../llvm/module/struct.Module.html | 11 ++++ .../pass_manager/struct.FunctionPassManager.html | 11 ++++ llvm_kaleidoscope_rs/llvm/sidebar-items.js | 2 +- llvm_kaleidoscope_rs/llvm/struct.BasicBlock.html | 38 ++++++------- llvm_kaleidoscope_rs/llvm/struct.Builder.html | 39 ------------- llvm_kaleidoscope_rs/llvm/struct.FnValue.html | 64 +++++++++++----------- .../llvm/struct.FunctionPassManager.html | 25 +++++++++ llvm_kaleidoscope_rs/llvm/struct.IRBuilder.html | 39 +++++++++++++ llvm_kaleidoscope_rs/llvm/struct.LLJit.html | 25 +++++++++ llvm_kaleidoscope_rs/llvm/struct.Module.html | 42 +++++++------- .../llvm/struct.ResourceTracker.html | 15 +++++ llvm_kaleidoscope_rs/llvm/struct.Type.html | 42 +++++++------- llvm_kaleidoscope_rs/llvm/struct.Value.html | 50 ++++++++--------- llvm_kaleidoscope_rs/llvm/type_/struct.Type.html | 11 ++++ .../llvm/value/struct.FnValue.html | 11 ++++ llvm_kaleidoscope_rs/llvm/value/struct.Value.html | 11 ++++ 22 files changed, 337 insertions(+), 168 deletions(-) create mode 100644 llvm_kaleidoscope_rs/llvm/builder/struct.IRBuilder.html create mode 100644 llvm_kaleidoscope_rs/llvm/fn.initialize_native_taget.html create mode 100644 llvm_kaleidoscope_rs/llvm/fn.shutdown.html create mode 100644 llvm_kaleidoscope_rs/llvm/lljit/struct.LLJit.html create mode 100644 llvm_kaleidoscope_rs/llvm/lljit/struct.ResourceTracker.html create mode 100644 llvm_kaleidoscope_rs/llvm/module/struct.Module.html create mode 100644 llvm_kaleidoscope_rs/llvm/pass_manager/struct.FunctionPassManager.html delete mode 100644 llvm_kaleidoscope_rs/llvm/struct.Builder.html create mode 100644 llvm_kaleidoscope_rs/llvm/struct.FunctionPassManager.html create mode 100644 llvm_kaleidoscope_rs/llvm/struct.IRBuilder.html create mode 100644 llvm_kaleidoscope_rs/llvm/struct.LLJit.html create mode 100644 llvm_kaleidoscope_rs/llvm/struct.ResourceTracker.html create mode 100644 llvm_kaleidoscope_rs/llvm/type_/struct.Type.html create mode 100644 llvm_kaleidoscope_rs/llvm/value/struct.FnValue.html create mode 100644 llvm_kaleidoscope_rs/llvm/value/struct.Value.html (limited to 'llvm_kaleidoscope_rs/llvm') diff --git a/llvm_kaleidoscope_rs/llvm/builder/struct.IRBuilder.html b/llvm_kaleidoscope_rs/llvm/builder/struct.IRBuilder.html new file mode 100644 index 0000000..014612a --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/builder/struct.IRBuilder.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../llvm_kaleidoscope_rs/llvm/struct.IRBuilder.html...

+ + + \ No newline at end of file diff --git a/llvm_kaleidoscope_rs/llvm/fn.initialize_native_taget.html b/llvm_kaleidoscope_rs/llvm/fn.initialize_native_taget.html new file mode 100644 index 0000000..d74774c --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/fn.initialize_native_taget.html @@ -0,0 +1,4 @@ +initialize_native_taget in llvm_kaleidoscope_rs::llvm - Rust

Function llvm_kaleidoscope_rs::llvm::initialize_native_taget[][src]

pub fn initialize_native_taget()
Expand description

Initialize native target for corresponding to host (useful for jitting).

+
+ + \ No newline at end of file diff --git a/llvm_kaleidoscope_rs/llvm/fn.shutdown.html b/llvm_kaleidoscope_rs/llvm/fn.shutdown.html new file mode 100644 index 0000000..a2f6a11 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/fn.shutdown.html @@ -0,0 +1,4 @@ +shutdown in llvm_kaleidoscope_rs::llvm - Rust

Function llvm_kaleidoscope_rs::llvm::shutdown[][src]

pub fn shutdown()
Expand description

Deallocate and destroy all “ManagedStatic” variables.

+
+ + \ No newline at end of file diff --git a/llvm_kaleidoscope_rs/llvm/index.html b/llvm_kaleidoscope_rs/llvm/index.html index acd0ba4..9707eea 100644 --- a/llvm_kaleidoscope_rs/llvm/index.html +++ b/llvm_kaleidoscope_rs/llvm/index.html @@ -1,15 +1,23 @@ -llvm_kaleidoscope_rs::llvm - Rust - -

Module llvm_kaleidoscope_rs::llvm[][src]

Expand description

Safe wrapper around the LLVM C API.

+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.

+

For the scope of this tutorial we mainly use assertions to validate the results from the LLVM +API calls.

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 +

Wrapper for a LLVM Basic Block.

+

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

+

Wrapper for a LLVM Function PassManager (legacy).

+

Wrapper for a LLVM IR Builder.

+

Wrapper for a LLVM Module with its own LLVM Context.

+

A resource handle to code added to an LLJit instance. When a ResourceTracker handle is +dropped, the code corresponding to the handle will be removed from the JIT.

+

Wrapper for a LLVM Type Reference.

+

Wrapper for a LLVM Value Reference.

+

Functions

+

Initialize native target for corresponding to host (useful for jitting).

+

Deallocate and destroy all “ManagedStatic” variables.

+
+ + \ No newline at end of file diff --git a/llvm_kaleidoscope_rs/llvm/lljit/struct.LLJit.html b/llvm_kaleidoscope_rs/llvm/lljit/struct.LLJit.html new file mode 100644 index 0000000..879e101 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/lljit/struct.LLJit.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../llvm_kaleidoscope_rs/llvm/struct.LLJit.html...

+ + + \ No newline at end of file diff --git a/llvm_kaleidoscope_rs/llvm/lljit/struct.ResourceTracker.html b/llvm_kaleidoscope_rs/llvm/lljit/struct.ResourceTracker.html new file mode 100644 index 0000000..4c0fb7a --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/lljit/struct.ResourceTracker.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../llvm_kaleidoscope_rs/llvm/struct.ResourceTracker.html...

+ + + \ No newline at end of file diff --git a/llvm_kaleidoscope_rs/llvm/module/struct.Module.html b/llvm_kaleidoscope_rs/llvm/module/struct.Module.html new file mode 100644 index 0000000..9f476e6 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/module/struct.Module.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../llvm_kaleidoscope_rs/llvm/struct.Module.html...

+ + + \ No newline at end of file diff --git a/llvm_kaleidoscope_rs/llvm/pass_manager/struct.FunctionPassManager.html b/llvm_kaleidoscope_rs/llvm/pass_manager/struct.FunctionPassManager.html new file mode 100644 index 0000000..7824383 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/pass_manager/struct.FunctionPassManager.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../llvm_kaleidoscope_rs/llvm/struct.FunctionPassManager.html...

+ + + \ No newline at end of file diff --git a/llvm_kaleidoscope_rs/llvm/sidebar-items.js b/llvm_kaleidoscope_rs/llvm/sidebar-items.js index 71ace87..8a16a0d 100644 --- a/llvm_kaleidoscope_rs/llvm/sidebar-items.js +++ b/llvm_kaleidoscope_rs/llvm/sidebar-items.js @@ -1 +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 +initSidebarItems({"fn":[["initialize_native_taget","Initialize native target for corresponding to host (useful for jitting)."],["shutdown","Deallocate and destroy all “ManagedStatic” variables."]],"struct":[["BasicBlock","Wrapper for a LLVM Basic Block."],["FnValue","Wrapper for a LLVM Value Reference specialized for contexts where function values are needed."],["FunctionPassManager","Wrapper for a LLVM Function PassManager (legacy)."],["IRBuilder","Wrapper for a LLVM IR Builder."],["LLJit",""],["Module","Wrapper for a LLVM Module with its own LLVM Context."],["ResourceTracker","A resource handle to code added to an [`LLJit`] instance. When a `ResourceTracker` handle is dropped, the code corresponding to the handle will be removed from the JIT."],["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 index 2b943b1..7379b3f 100644 --- a/llvm_kaleidoscope_rs/llvm/struct.BasicBlock.html +++ b/llvm_kaleidoscope_rs/llvm/struct.BasicBlock.html @@ -1,19 +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 +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 deleted file mode 100644 index dd33e3e..0000000 --- a/llvm_kaleidoscope_rs/llvm/struct.Builder.html +++ /dev/null @@ -1,39 +0,0 @@ -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 index 64ff22c..ec8f1e6 100644 --- a/llvm_kaleidoscope_rs/llvm/struct.FnValue.html +++ b/llvm_kaleidoscope_rs/llvm/struct.FnValue.html @@ -1,42 +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.

+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.

+

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.

+

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.

+

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.

+

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 +

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.FunctionPassManager.html b/llvm_kaleidoscope_rs/llvm/struct.FunctionPassManager.html new file mode 100644 index 0000000..b31d7f3 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/struct.FunctionPassManager.html @@ -0,0 +1,25 @@ +FunctionPassManager in llvm_kaleidoscope_rs::llvm - Rust

Struct llvm_kaleidoscope_rs::llvm::FunctionPassManager[][src]

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

Wrapper for a LLVM Function PassManager (legacy).

+

Implementations

Create a new Function PassManager with the following optimization passes

+
    +
  • InstructionCombiningPass
  • +
  • ReassociatePass
  • +
  • NewGVNPass
  • +
  • CFGSimplificationPass
  • +
+

The list of selected optimization passes is taken from the tutorial chapter LLVM +Optimization Passes.

+

Run the optimization passes registered with the Function PassManager on the function +referenced by fn_value.

+

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.IRBuilder.html b/llvm_kaleidoscope_rs/llvm/struct.IRBuilder.html new file mode 100644 index 0000000..f8d13a5 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/struct.IRBuilder.html @@ -0,0 +1,39 @@ +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

+

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.LLJit.html b/llvm_kaleidoscope_rs/llvm/struct.LLJit.html new file mode 100644 index 0000000..9ba3405 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/struct.LLJit.html @@ -0,0 +1,25 @@ +LLJit in llvm_kaleidoscope_rs::llvm - Rust

Struct llvm_kaleidoscope_rs::llvm::LLJit[][src]

pub struct LLJit { /* fields omitted */ }

Implementations

Create a new LLJit instance.

+

Panics

+

Panics if LLVM API returns a null pointer or an error.

+

Add an LLVM IR module to the JIT. Return a ResourceTracker, which when dropped, will +remove the code of the LLVM IR module from the JIT.

+

Panics

+

Panics if LLVM API returns a null pointer or an error.

+

Find the symbol with the name sym in the JIT.

+

Panics

+

Panics if the symbol is not found in the JIT.

+

Enable lookup of dynamic symbols available in the current process from the JIT.

+

Panics

+

Panics if LLVM API returns an error.

+

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.Module.html b/llvm_kaleidoscope_rs/llvm/struct.Module.html index 6d9cb60..71f28fd 100644 --- a/llvm_kaleidoscope_rs/llvm/struct.Module.html +++ b/llvm_kaleidoscope_rs/llvm/struct.Module.html @@ -1,37 +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.

+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.

+

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.

+

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 +

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 +

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 +

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 +

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.ResourceTracker.html b/llvm_kaleidoscope_rs/llvm/struct.ResourceTracker.html new file mode 100644 index 0000000..6914c3a --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/struct.ResourceTracker.html @@ -0,0 +1,15 @@ +ResourceTracker in llvm_kaleidoscope_rs::llvm - Rust

Struct llvm_kaleidoscope_rs::llvm::ResourceTracker[][src]

pub struct ResourceTracker<'jit>(_, _);
Expand description

A resource handle to code added to an LLJit instance. When a ResourceTracker handle is +dropped, the code corresponding to the handle will be removed from the JIT.

+

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 index 51fcaf8..516589d 100644 --- a/llvm_kaleidoscope_rs/llvm/struct.Type.html +++ b/llvm_kaleidoscope_rs/llvm/struct.Type.html @@ -1,23 +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.

+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 +

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 index 7f6e117..14d0e81 100644 --- a/llvm_kaleidoscope_rs/llvm/struct.Value.html +++ b/llvm_kaleidoscope_rs/llvm/struct.Value.html @@ -1,31 +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.

+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.

+

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.

+

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 +

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 diff --git a/llvm_kaleidoscope_rs/llvm/type_/struct.Type.html b/llvm_kaleidoscope_rs/llvm/type_/struct.Type.html new file mode 100644 index 0000000..fb8f339 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/type_/struct.Type.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../llvm_kaleidoscope_rs/llvm/struct.Type.html...

+ + + \ No newline at end of file diff --git a/llvm_kaleidoscope_rs/llvm/value/struct.FnValue.html b/llvm_kaleidoscope_rs/llvm/value/struct.FnValue.html new file mode 100644 index 0000000..8107d06 --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/value/struct.FnValue.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../llvm_kaleidoscope_rs/llvm/struct.FnValue.html...

+ + + \ No newline at end of file diff --git a/llvm_kaleidoscope_rs/llvm/value/struct.Value.html b/llvm_kaleidoscope_rs/llvm/value/struct.Value.html new file mode 100644 index 0000000..b3cc2ca --- /dev/null +++ b/llvm_kaleidoscope_rs/llvm/value/struct.Value.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

Redirecting to ../../../llvm_kaleidoscope_rs/llvm/struct.Value.html...

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