Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IntegralPilot/rustc_codegen_jvm
/ functions
Functions
655 in github.com/IntegralPilot/rustc_codegen_jvm
⨍
Functions
655
◇
Types & classes
91
↓ 4 callers
Function
frame_value_from_field_type
(field_type: &FieldType)
src/lower2/stackmaps.rs:1500
↓ 4 callers
Function
handle_const_value
( constant: Option<&ConstOperand>, const_val: ConstValue, ty: &Ty<'tcx>, tcx: TyCtxt<'tcx>,
src/lower1/operand.rs:159
↓ 4 callers
Function
incoming_branch_sources
(instructions: &[Instruction])
src/lower2/optimise2.rs:207
↓ 4 callers
Function
is_stale
Checks if the target file is older than any source file.
build.py:82
↓ 4 callers
Method
key
(&self, fallback_class: &str)
src/lower1/naming.rs:17
↓ 4 callers
Function
layout_size_bytes
(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>)
src/lower1/types.rs:113
↓ 4 callers
Function
measure_jar_size
Measures the file size of the specified JAR file.
CompareSize.py:66
↓ 4 callers
Function
mir_to_oomir
Converts a MIR Body into an OOMIR Function. This function extracts a function's signature (currently minimal) and builds a control flow graph of basic
src/lower1.rs:35
↓ 4 callers
Function
nested_parent_class
(class_name: &str)
src/lower2/stackmaps.rs:1180
↓ 4 callers
Function
place_to_string
(place: &Place<'tcx>, _tcx: TyCtxt<'tcx>)
src/lower1/place.rs:16
↓ 4 callers
Function
push_local_value
(locals: &mut Vec<FrameValue>, value: FrameValue)
src/lower2/stackmaps.rs:1565
↓ 4 callers
Function
read_from_file
(path: Path)
Instrument.py:40
↓ 4 callers
Function
relative_switch_target
( instruction_index: usize, offset: i32, context: &str, )
src/lower2/stackmaps.rs:1368
↓ 4 callers
Function
thread_switch_target
( instructions: &[Instruction], source_index: usize, target: i32, )
src/lower2/optimise2.rs:1479
↓ 4 callers
Function
unary
( state: &mut FrameState, value: FrameValue, context: &str, instruction_index: usize, )
src/lower2/stackmaps.rs:1047
↓ 3 callers
Method
add_interface_method_ref
( &mut self, class_index: u16, name: N, descriptor: D, )
src/lower2/constant_pool.rs:206
↓ 3 callers
Function
array_load
( state: &mut FrameState, value: FrameValue, context: &str, instruction_index: usize, )
src/lower2/stackmaps.rs:1035
↓ 3 callers
Function
branch_successors
(index: usize, target: u16, state: FrameState)
src/lower2/stackmaps.rs:1002
↓ 3 callers
Function
calculate_block_output_state
Helper specifically for the analysis phase to get output state
src/optimise1/dataflow.rs:1379
↓ 3 callers
Function
cast_constant
--- Updated cast_constant ---
src/oomir/interpret.rs:125
↓ 3 callers
Function
choose_curve
(which: i32)
tests/binary/fn_pointers/src/main.rs:73
↓ 3 callers
Function
collect_operand_uses
(operands: &[Operand], uses: &mut HashSet<String>)
src/optimise1/copyprop.rs:494
↓ 3 callers
Function
conditional_branch_target
(instruction: &Instruction)
src/lower2/optimise2.rs:1680
↓ 3 callers
Function
derivative
(f: fn(f64) -> f64, x: f64, h: f64)
tests/binary/fn_pointers/src/main.rs:65
↓ 3 callers
Function
do_bitwise_op
(op1: Constant, op2: Constant, func: F)
src/oomir/interpret.rs:606
↓ 3 callers
Method
emit_iinc_update
( &mut self, dest: &str, local_operand: &oomir::Operand, amount_operand: &oomi
src/lower2/translator.rs:275
↓ 3 callers
Function
eq_constants
(op1: Constant, op2: Constant)
src/oomir/interpret.rs:584
↓ 3 callers
Method
get_class_name
Gets the name of the class to call methods on, if applicable.
src/oomir.rs:1084
↓ 3 callers
Method
get_or_assign_local
Gets the slot index for a variable, assigning if new.
src/lower2/translator.rs:494
↓ 3 callers
Method
insert_function
(&mut self, function: Function)
src/oomir.rs:35
↓ 3 callers
Function
instruction_defs
(instruction: &Instruction)
src/optimise1/copyprop.rs:506
↓ 3 callers
Function
int_constant
(instruction: &Instruction)
src/lower2/optimise2.rs:1436
↓ 3 callers
Method
into_inner
(self)
src/lower2/constant_pool.rs:136
↓ 3 callers
Function
invert_conditional_branch
(instruction: &Instruction, target: u16)
src/lower2/optimise2.rs:1724
↓ 3 callers
Method
is_jvm_primitive
(&self)
src/oomir.rs:978
↓ 3 callers
Function
is_null_operand
(operand: &oomir::Operand)
src/lower2/translator.rs:3597
↓ 3 callers
Function
is_one
(op: &Operand)
src/optimise1/dataflow.rs:1429
↓ 3 callers
Function
label
(code: u32)
tests/binary/modules/src/main.rs:61
↓ 3 callers
Method
label_instruction_delta_i32
( &self, source_index: usize, target_label: &str, )
src/lower2/translator.rs:380
↓ 3 callers
Method
load_operand_as
( &mut self, operand: &oomir::Operand, expected_ty: &oomir::Type, )
src/lower2/translator.rs:886
↓ 3 callers
Function
make_iinc
(index: u16, amount: i16)
src/lower2/optimise2.rs:1387
↓ 3 callers
Function
patch_branch_target
(instructions: &mut [Instruction], branch_index: usize, target: u16)
src/lower2/jvm_gen.rs:311
↓ 3 callers
Function
readable_oomir_type_name
Produce a compact, human readable token for an OOMIR type to use in tuple class names.
src/lower1/types.rs:1306
↓ 3 callers
Function
resolve_goto_chain
(instructions: &[Instruction], target: usize)
src/lower2/optimise2.rs:1501
↓ 3 callers
Function
rewrite_operands
(operands: &mut [Operand], aliases: &AliasMap)
src/optimise1/copyprop.rs:354
↓ 3 callers
Function
sanitize_name_token
Sanitize token so it contains only ASCII alphanumeric characters and underscores.
src/lower1/types.rs:1336
↓ 3 callers
Function
simple_body
(instructions: Vec<oomir::Instruction>)
src/lower1/types.rs:565
↓ 3 callers
Method
to_jvm_descriptor_or_internal_name
Provides the JVM internal name or descriptor needed for Checkcast/Anewarray.
src/oomir.rs:1039
↓ 3 callers
Function
tracked_string_for_mir_operand
( operand: &MirOperand<'_>, local_string_values: &HashMap<Local, String>, )
src/lower1/control_flow.rs:27
↓ 3 callers
Function
union_from_method_name
(field_name: &str)
src/lower1/types.rs:22
↓ 3 callers
Function
union_getter_method_name
(field_name: &str)
src/lower1/types.rs:26
↓ 3 callers
Function
union_setter_method_name
(field_name: &str)
src/lower1/types.rs:30
↓ 3 callers
Function
unsupported_union_body
(message: String)
src/lower1/types.rs:549
↓ 3 callers
Method
unwrapNonNull
(Object value)
library/src/main/java/org/rustlang/core/Core.java:142
↓ 3 callers
Function
update_state
Takes a mutable trait object reference
tests/binary/traits/src/main.rs:80
↓ 3 callers
Function
verify_no_duplicate_constants
(class_file: &ClassFile)
src/lower2/constant_pool.rs:291
↓ 2 callers
Method
add_long
(&mut self, value: i64)
src/lower2/constant_pool.rs:162
↓ 2 callers
Method
add_string
(&mut self, value: S)
src/lower2/constant_pool.rs:175
↓ 2 callers
Function
append_field_equality_check
( module: &oomir::Module, cp: &mut InternedConstantPool, instructions: &mut Vec<Instruction>,
src/lower2/jvm_gen.rs:334
↓ 2 callers
Function
apply_invoke
( state: &mut FrameState, method: &MethodRefInfo, is_static: bool, is_special: bool, conte
src/lower2/stackmaps.rs:966
↓ 2 callers
Method
assign_local
Assigns a local variable to a JVM slot, returning the index. Ensure assign_local ONLY inserts if vacant, it shouldn't be called directly when we inten
src/lower2/translator.rs:437
↓ 2 callers
Function
bool_zero_compare_target
(instruction: &Instruction)
src/lower2/optimise2.rs:1672
↓ 2 callers
Function
branch_offset_fits_i16
(byte_offsets: &[usize], index: usize, target: usize)
src/lower2/translator.rs:3701
↓ 2 callers
Function
branch_targets
(index: usize, instruction: &Instruction)
src/lower2/optimise2.rs:1821
↓ 2 callers
Function
build_rust_code
Builds the Rust code and returns (success, target_dir_name).
Tester.py:39
↓ 2 callers
Function
build_stack_map_attributes
( instructions: &[Instruction], initial_locals: &[FrameValue], local_hints: &[FrameValue], max
src/lower2/stackmaps.rs:232
↓ 2 callers
Function
byte_array_type
()
src/lower1/types.rs:103
↓ 2 callers
Function
check_class_data_for_main
( data: &[u8], main_method_name: &str, main_method_descriptor: &str, )
java-linker/src/main.rs:315
↓ 2 callers
Function
check_properties
Checks properties via immutable trait object
tests/binary/traits/src/main.rs:85
↓ 2 callers
Function
check_results
(proc, test_dir: Path, release_mode: bool, logs: list[str])
Instrument.py:106
↓ 2 callers
Function
check_results
Checks the return code and output of a completed process.
Tester.py:97
↓ 2 callers
Function
choose_int_op
(addition: bool)
tests/binary/fn_pointers/src/main.rs:99
↓ 2 callers
Function
copy_jar_entries
( input_jar_path: &Path, zip_writer: &mut ZipWriter<W>, seen_entries: &mut HashSet<String>, )
java-linker/src/main.rs:560
↓ 2 callers
Function
create_default_constructor
Creates a default constructor `<init>()V` that just calls `super()`.
src/lower2/jvm_gen.rs:70
↓ 2 callers
Function
discover_tests
(test_type_dir)
Tester.py:276
↓ 2 callers
Function
eliminate_duplicate_basic_blocks
(func: &mut Function)
src/optimise1/reorganisation.rs:137
↓ 2 callers
Function
emit_instructions_to_set_value
Generates OOMIR instructions to store the `source_operand` value into the `dest_place`. This function handles assignments recursively. It first gener
src/lower1/place.rs:609
↓ 2 callers
Function
emit_ty_to_union_bytes
( ty: Ty<'tcx>, source: oomir::Operand, bytes_var: &str, base_offset: usize, tcx: TyCtxt<'
src/lower1/types.rs:284
↓ 2 callers
Method
enable
Enable the counter
tests/binary/impl/src/main.rs:104
↓ 2 callers
Function
ensure_fn_pointer_adapter_class
( data_types: &mut HashMap<String, oomir::DataType>, target_function: Option<&super::super::naming::Fn
src/lower1/control_flow/rvalue.rs:86
↓ 2 callers
Function
ensure_union_data_type
( adt_def: &AdtDef<'tcx>, substs: GenericArgsRef<'tcx>, tcx: TyCtxt<'tcx>, data_types: &mut Ha
src/lower1/types.rs:768
↓ 2 callers
Function
extract_number_from_operand
For when you have an OOMIR Operand but just want the inner number it holds (only works for Consts) I8, I16, I32, I64, Char: Returns inner value F32, F
src/lower1/operand.rs:1484
↓ 2 callers
Function
field_type_for_ref
(constant_pool: &ConstantPool, field_ref: u16)
src/lower2/stackmaps.rs:1536
↓ 2 callers
Method
fillFormatTemplate
(String raw, Object[] args)
library/src/main/java/org/rustlang/core/Core.java:104
↓ 2 callers
Function
final_conversion
Final narrowing for byte/short/char
src/lower2/helpers.rs:593
↓ 2 callers
Function
find_and_prepare_jar
Finds the generated JAR and moves it to a predictable location.
Tester.py:61
↓ 2 callers
Method
fn_ptr_interface_name
(&self)
src/oomir.rs:250
↓ 2 callers
Function
fold_branch_over_goto
(mut instructions: Vec<Instruction>)
src/lower2/optimise2.rs:642
↓ 2 callers
Function
format_result
(result: InstrumentedResult, top_n: int)
Instrument.py:415
↓ 2 callers
Function
frame_value_from_ldc
(constant_pool: &ConstantPool, index: u16)
src/lower2/stackmaps.rs:1511
↓ 2 callers
Function
frame_value_from_oomir_type
(ty: &Type)
src/lower2/stackmaps.rs:1480
↓ 2 callers
Method
fromShortArray
(short[] value)
library/src/main/java/org/rustlang/core/Core.java:18
↓ 2 callers
Method
function_key
(&self, owner_class: Option<&str>, function_name: &str)
src/oomir.rs:27
↓ 2 callers
Function
generate_closure_function_name
Generate a consistent JVM-safe name for a closure function Format: closure_<crate>_<item_path>_<unique_suffix>
src/lower1/closures.rs:143
↓ 2 callers
Function
generate_tuple_jvm_class_name
Generates a JVM class name for a tuple type based on its element types. The name is derived from the hash of the element types to ensure uniqueness. T
src/lower1/types.rs:1431
↓ 2 callers
Method
get_count
(&self)
tests/integration/struct_methods/src/main.rs:43
↓ 2 callers
Function
get_field_name_from_index
Helper to get field name from index using DataType info
src/lower1/types.rs:1519
↓ 2 callers
Method
get_function
( &self, owner_class: Option<&str>, function_name: &str, )
src/oomir.rs:40
↓ 2 callers
Function
get_instruction_successors
Helper to get potential successors from a single instruction
src/optimise1/reachability.rs:6
↓ 2 callers
Method
get_jvm_array_store_instruction
Returns the appropriate JVM array element store instruction.
src/oomir.rs:902
← previous
next →
101–200 of 655, ranked by callers