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/struct.Module.html | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 llvm_kaleidoscope_rs/llvm/struct.Module.html (limited to 'llvm_kaleidoscope_rs/llvm/struct.Module.html') 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 -- cgit v1.2.3