Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TomBebbington/llvm-rs
/ functions
Functions
162 in github.com/TomBebbington/llvm-rs
⨍
Functions
162
◇
Types & classes
39
Method
index
(&self, index: usize)
src/value.rs:211
Method
into_iter
Iterate through the functions in the module
src/module.rs:223
Method
into_iter
(self)
src/block.rs:84
Method
is
(value: &Value)
src/value.rs:222
Method
is
(mut ty: &Type)
src/types.rs:125
Method
is
(value: &Value)
src/block.rs:16
Method
is_big_endian
Returns true if the target is big endian.
src/target.rs:24
Method
is_declaration
Returns true if this global is a declaration (as opposed to a definition).
src/value.rs:155
Method
is_function
Returns true if this type is a function. This is equivalent to `FunctionType::is`.
src/types.rs:47
Method
is_pointer
Returns true if this type is a pointer. This is equivalent to `PointerType::is`.
src/types.rs:66
Method
is_sized
Returns true if the size of the type is known at compile-time. This is equivalent to the type implementing `Sized` in Rust
src/types.rs:41
Method
is_struct
Returns true if this type is a struct. This is equivalent to `StructType::is`.
src/types.rs:54
Method
is_void
Returns true if this type is void.
src/types.rs:59
Method
link
Link a module into this module, returning an error string if an error occurs. This *does not* destroy the source module.
src/module.rs:190
Method
link_destroy
Link a module into this module, returning an error string if an error occurs. This *does* destroy the source module.
src/module.rs:206
Function
main
()
build.rs:1
Function
main
()
examples/demo_3f.rs:5
Function
main
()
examples/add.rs:4
Function
main
()
examples/tan.rs:4
Function
main
()
examples/fib.rs:4
Method
move_after
Move this basic block after the `other` basic block in its function.
src/block.rs:47
Method
move_before
Move this basic block before the `other` basic block in its function.
src/block.rs:51
Method
new
Create a new module in the context given with the name given. The lifetime of the module will match the lifetime of the context you instance it in be
src/module.rs:41
Method
new
Make a new struct with the given fields and packed representation.
src/types.rs:96
Method
new
(module: &'a Module, options: JitOptions)
src/engine.rs:135
Method
new
Create a target data from a target layout string.
src/target.rs:17
Method
new
Create a new context, which is owned by the callee block.
src/context.rs:22
Method
new
(function: &'a Function)
src/block.rs:73
Method
new
Create a new builder in the context given.
src/builder.rs:46
Method
new_from_file
(path: &str)
src/buffer.rs:14
Method
new_named
Make a new named struct with the given fields and packed representation.
src/types.rs:100
Method
new_string
Create a new constant C string from the text given.
src/value.rs:52
Method
new_struct
Create a new constant struct from the values given.
src/value.rs:44
Method
new_undef
Create a new constant undefined value of the given type.
src/value.rs:60
Method
new_vector
Create a new constant vector from the values given.
src/value.rs:48
Method
next
(&mut self)
src/module.rs:241
Method
next
(&mut self)
src/object.rs:43
Method
next
(&mut self)
src/block.rs:90
Method
next_back
(&mut self)
src/block.rs:103
Method
num_params
Returns the number of parameters this signature takes.
src/types.rs:141
Method
offset_of
Compute the byte offset of an element in the struct type given.
src/target.rs:49
Method
optimize
Optimize this module with the given optimization level and size level. This runs passes depending on the levels given.
src/module.rs:128
Method
parse_bitcode
Parse this bitcode file into a module, or return an error string.
src/module.rs:77
Method
read
Parse the object file at the path given, or return an error string if an error occurs.
src/object.rs:18
Method
remove
Unlink from the containing function, but do not delete it.
src/block.rs:55
Method
remove_module
Remove a module from the list of modules to interpret or compile.
src/engine.rs:31
Method
run_function
Run `function` with the arguments given as ``GenericValue`s, then return the result as one. Note that if this engine is a `JitEngine`, it only suppor
src/engine.rs:62
Method
run_static_constructors
Execute all of the static constructors for this program.
src/engine.rs:39
Method
run_static_destructors
Execute all of the static destructors for this program.
src/engine.rs:43
Method
set_constant
Set whether this global is a constant.
src/value.rs:182
Method
set_linkage
Set the linkage type for this global
src/value.rs:143
Method
set_name
Sets the name of this value
src/value.rs:71
Method
set_target
Set the target data of this module to the target data string given.
src/module.rs:149
Method
size_of
Returns the size of the type given in bytes.
src/target.rs:37
Method
size_of_in_bits
Returns the size of the type given in bits.
src/target.rs:33
Method
symbols
Iterate through the symbols in this object file.
src/object.rs:30
Function
test_argument_attributes
()
tests/attributes.rs:18
Function
test_function_attributes
()
tests/attributes.rs:5
Method
to_generic
(self, ctx: &Context)
src/engine.rs:200
Method
to_super
Cast this value to a super value.
src/util.rs:18
Method
to_super
(&self)
src/block.rs:24
Method
with_function_unchecked
Run the closure `cb` with the machine code for the function `function`.
src/engine.rs:121
← previous
101–162 of 162, ranked by callers