Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TomBebbington/jit.rs
/ functions
Functions
244 in github.com/TomBebbington/jit.rs
⨍
Functions
244
◇
Types & classes
41
Method
get_opcode
Get the opcode of the instruction
src/insn.rs:19
Method
get_ref
Get the type that is referred to by this pointer type.
src/types.rs:424
Method
get_signature
Get the signature of this value
src/insn.rs:55
Method
get_signature
Get the signature of the given function
src/function.rs:65
Method
get_size
Get the size of this type in bytes.
src/types.rs:402
Method
get_symbol
Get a symbol in the ELF binary
src/elf.rs:136
Method
get_tagged_data
Get the data this is tagged to
src/types.rs:630
Method
get_tagged_type
Get the type this is tagged to
src/types.rs:636
Method
get_type
Get the type of the field
src/types.rs:190
Method
get_type
()
src/compile.rs:26
Method
get_value1
Get the left value
src/insn.rs:37
Method
get_value2
Get the right value
src/insn.rs:43
Method
index
Get the value that corresponds to a specified function parameter.
src/function.rs:231
Method
index
(&self, index: i32)
src/context.rs:40
Method
index_mut
(&mut self, index: i32)
src/context.rs:51
Function
init
()
src/jit.rs:81
Method
insn_abs
Make an instruction that gets the absolute value of a number
src/function.rs:712
Method
insn_acos
Make an instruction that gets the inverse cosine of the number given
src/function.rs:589
Method
insn_add
Make an instruction that adds the values You can also just use `v1 + v2` in your code instead of running this method, `&Val` has the `Add` trait impl
src/function.rs:362
Method
insn_add_ovf
Make an instruction that adds the values and throws upon overflow
src/function.rs:367
Method
insn_address_of
Make an instruction that gets the address of a value
src/function.rs:892
Method
insn_alloca
Make an instruction that allocates `size` bytes of memory from the stack
src/function.rs:884
Method
insn_and
Make an instruction that performs a bitwise and on the two values You can also just use `v1 & v2` in your code instead of running this method, `&Val`
src/function.rs:437
Method
insn_asin
Make an instruction that gets the inverse sine of the number given
src/function.rs:594
Method
insn_atan
Make an instruction that gets the inverse tangent of the number given
src/function.rs:599
Method
insn_atan2
Make an instruction that gets the inverse tangent of the numbers given
src/function.rs:604
Method
insn_call
Call the function, which may or may not be translated yet
src/function.rs:736
Method
insn_call_indirect
Make an instruction that calls a function that has the signature given with some arguments through a pointer to the fucntion
src/function.rs:754
Method
insn_call_native2
Make an instruction that calls a Rust function that has the signature given with two arguments and expects a return value
src/function.rs:827
Method
insn_call_native3
Make an instruction that calls a Rust function that has the signature given with three arguments and expects a return value
src/function.rs:838
Method
insn_call_native4
Make an instruction that calls a Rust function that has the signature given with four arguments and expects a return value
src/function.rs:849
Method
insn_ceil
Make an instruction that finds the nearest integer above a number
src/function.rs:609
Method
insn_cos
Make an instruction that gets the consine of the number given
src/function.rs:614
Method
insn_cosh
Make an instruction that gets the hyperbolic consine of the number given
src/function.rs:619
Method
insn_div
Make an instruction that divides the first number by the second You can also just use `v1 / v2` in your code instead of running this method, `&Val` h
src/function.rs:388
Method
insn_dup
Make an instruction that duplicates the value given This is the same as load
src/function.rs:499
Method
insn_eq
Make an instruction that checks if the values are equal
src/function.rs:424
Method
insn_exp
Make an instruction that gets the natural logarithm rased to the power of the number
src/function.rs:625
Method
insn_floor
Make an instruction that finds the nearest integer below a number
src/function.rs:630
Method
insn_geq
Make an instruction that checks if the first value is greater than or equal to the second
src/function.rs:409
Method
insn_gt
Make an instruction that checks if the first value is greater than the second
src/function.rs:419
Method
insn_if
Make instructions to run the block if the condition is met
src/function.rs:922
Method
insn_if_else
Make instructions to run the block if the condition is met
src/function.rs:938
Method
insn_if_not
Make instructions to run the block if the condition is not met
src/function.rs:930
Method
insn_is_finite
Make an instruction that checks if the number is finite
src/function.rs:700
Method
insn_is_inf
Make an instruction that checks if the number is infinite
src/function.rs:706
Method
insn_is_nan
Make an instruction that checks if the number is NaN
src/function.rs:694
Method
insn_jump_table
Make an instruction that branches to a label in the table
src/function.rs:575
Method
insn_leq
Make an instruction that checks if the first value is lower than or equal to the second
src/function.rs:403
Method
insn_load
Make an instruction that loads the contents of `src` into a temporary
src/function.rs:507
Method
insn_log
Make an instruction that gets the natural logarithm of the number
src/function.rs:635
Method
insn_log10
Make an instruction that gets the base 10 logarithm of the number
src/function.rs:640
Method
insn_loop
Make instructions to run the block forever
src/function.rs:949
Method
insn_lt
Make an instruction that checks if the first value is lower than the second
src/function.rs:414
Method
insn_max
Make an instruction that gets the biggest of two numbers
src/function.rs:724
Method
insn_memcpy
Make an instruction that copies `size` bytes from the `source` address to the `dest` address
src/function.rs:860
Method
insn_memmove
Make an instruction that moves memory from a source address to a destination address
src/function.rs:868
Method
insn_memset
Make an instruction that sets memory at the destination address
src/function.rs:876
Method
insn_min
Make an instruction that gets the smallest of two numbers
src/function.rs:718
Method
insn_mul
Make an instruction that multiplies the values
src/function.rs:349
Method
insn_mul_ovf
Make an instruction that multiplies the values and throws upon overflow
src/function.rs:354
Method
insn_neg
Make an instruction that performs a negation on the value You can also just use `-value` in your code instead of running this method. `&Val` has the
src/function.rs:492
Method
insn_neq
Make an instruction that checks if the values are not equal
src/function.rs:429
Method
insn_not
Make an instruction that performs a bitwise not on the two values You can also just use `!value` in your code instead of running this method. `&Val`
src/function.rs:461
Method
insn_or
Make an instruction that performs a bitwise or on the two values You can also just use `v1 | v2` in your code instead of running this method, `&Val`
src/function.rs:445
Method
insn_pow
Make an instruction the gets the result of raising the first value to the power of the second value
src/function.rs:646
Method
insn_rem
Make an instruction that finds the remainder when the first number is divided by the second You can also just use `v1 % v2` in your code instead of r
src/function.rs:397
Method
insn_return
Make an instruction that will return from the function with the value given
src/function.rs:335
Method
insn_rint
Make an instruction the gets the result of rounding the value to the nearest integer
src/function.rs:652
Method
insn_round
Make an instruction the gets the result of rounding the value to the nearest integer
src/function.rs:658
Method
insn_shl
Make an instruction that performs a left bitwise shift on the first value by the second value You can also just use `v1 << v2` in your code instead o
src/function.rs:470
Method
insn_shr
Make an instruction that performs a right bitwise shift on the first value by the second value You can also just use `v1 >> v2` in your code instead
src/function.rs:479
Method
insn_sign
Make an instruction that gets the sign of a number
src/function.rs:730
Method
insn_sin
Make an instruction the gets the sine of the number
src/function.rs:663
Method
insn_sinh
Make an instruction the gets the hyperbolic sine of the number
src/function.rs:668
Method
insn_sqrt
Make an instruction the gets the square root of a number
src/function.rs:673
Method
insn_sub
Make an instruction that subtracts the second value from the first You can also just use `v1 - v2` in your code instead of running this method, `&Val
src/function.rs:375
Method
insn_sub_ovf
Make an instruction that subtracts the second value from the first and throws upon overflow
src/function.rs:380
Method
insn_tan
Make an instruction the gets the tangent of a number
src/function.rs:679
Method
insn_tanh
Make an instruction the gets the hyperbolic tangent of a number
src/function.rs:684
Method
insn_throw
Make an instruction to throw an exception from the function with the value given
src/function.rs:328
Method
insn_trunc
Make an instruction that truncates the value
src/function.rs:689
Method
insn_uses_catcher
Notify the function building process that this function has a catch block in it. This must be called before any code that is part of a try block
src/function.rs:321
Method
insn_ushr
Make an instruction that performs a right bitwise shift on the first value by the second value
src/function.rs:484
Method
insn_while
Make instructions to run the block and continue running it so long as the condition is met
src/function.rs:957
Method
insn_xor
Make an instruction that performs a bitwise xor on the two values You can also just use `v1 ^ v2` in your code instead of running this method, `&Val`
src/function.rs:453
Method
int_value
(&mut self)
sys/lib.rs:221
Method
into_iter
(self)
src/types.rs:594
Method
into_iter
(self)
src/context.rs:90
Method
is_addressable
(&self)
src/value.rs:55
Method
is_compiled
Check if the given function has been compiled
src/function.rs:61
Method
is_int
Check if this is an integer ```rust use jit::*; assert!(get::<i16>().is_int()); assert!(!get::<f32>().is_int()); ```
src/types.rs:537
Method
is_reachable
Check if the block is reachable
src/insn.rs:108
Method
is_struct
Check if this is a struct ```rust use jit::*; assert!(get::<(i16, i16)>().is_struct()); ```
src/types.rs:547
Method
is_tagged
Check if this is tagged
src/types.rs:585
Method
is_temp
(&self)
src/value.rs:48
Method
is_union
Check if this is a union
src/types.rs:554
Function
jit_add
This is a simplified version of a libjit [example][]. [example]: http://www.gnu.org/software/libjit/doc/libjit_3.html#Tutorials
sys/tests/double.rs:8
Method
long_value
(&mut self)
sys/lib.rs:233
Function
main
()
sys/build.rs:33
← previous
next →
101–200 of 244, ranked by callers