MCPcopy Create free account

hub / github.com/IntegralPilot/rustc_codegen_jvm / functions

Functions655 in github.com/IntegralPilot/rustc_codegen_jvm

↓ 1 callersMethodclean_duplicates
Remove duplicate methods and fields
src/oomir.rs:191
↓ 1 callersFunctioncode_attribute_with_stack_maps
( cp: &mut InternedConstantPool, max_stack: u16, max_locals: u16, code: Vec<Instruction>,
src/lower2/jvm_gen.rs:19
↓ 1 callersFunctioncollatz
(n: u32)
tests/binary/collatz/src/main.rs:1
↓ 1 callersFunctioncollect_instruction_uses
(instruction: &Instruction, uses: &mut HashSet<String>)
src/optimise1/copyprop.rs:415
↓ 1 callersFunctioncollect_tests
Collects list of test directories based on filters and skip flag.
CompareSize.py:83
↓ 1 callersFunctioncommit_based
Compares HEAD vs HEAD~N, measures JAR sizes and per-test build times.
CompareSize.py:225
↓ 1 callersFunctioncommon_object_class
(a: &str, b: &str)
src/lower2/stackmaps.rs:1155
↓ 1 callersFunctioncompact_stack_frame
( previous_locals: &[VerificationType], locals: &[VerificationType], stack: Vec<VerificationType>,
src/lower2/stackmaps.rs:317
↓ 1 callersFunctioncompute_live_locals
(instructions: &[Instruction], max_locals: usize)
src/lower2/stackmaps.rs:1192
↓ 1 callersFunctioncompute_live_ranges
(instructions: &[Instruction])
src/lower2/optimise2.rs:1005
↓ 1 callersFunctioncompute_max_locals
(instructions: &[Instruction])
src/lower2/optimise2.rs:809
↓ 1 callersFunctionconditional_branch_target
(instruction: &Instruction)
src/lower2/translator.rs:3542
↓ 1 callersMethodconstruct_non_null_wrapper_from_operand
( &mut self, operand: &oomir::Operand, operand_ty: &oomir::Type, class_name: &
src/lower2/translator.rs:910
↓ 1 callersFunctionconvert_basic_block
Convert a single MIR basic block into an OOMIR basic block.
src/lower1/control_flow.rs:65
↓ 1 callersFunctionconvert_labels_to_basic_blocks_in_function
Modifies a Function's CodeBlock in place to eliminate `Instruction::Label` within basic blocks by splitting blocks and adding explicit jumps.
src/optimise1/reorganisation.rs:19
↓ 1 callersFunctionconvert_rvalue_to_operand
Evaluates an Rvalue and returns the resulting OOMIR Operand and any intermediate instructions needed to calculate it. The `original_dest_place` is us
src/lower1/control_flow/rvalue.rs:212
↓ 1 callersFunctioncreate_code_from_method_name_and_constant_return
Creates a code attribute for a method that returns a constant value.
src/lower2/jvm_gen.rs:1027
↓ 1 callersFunctioncreate_data_type_classfile_for_class
Creates a ClassFile (as bytes) for a given OOMIR DataType that's a class
src/lower2/jvm_gen.rs:411
↓ 1 callersFunctioncreate_data_type_classfile_for_interface
Creates a ClassFile (as bytes) for a given OOMIR DataType that's an interface
src/lower2/jvm_gen.rs:936
↓ 1 callersFunctioncreate_field_constructor
( cp: &mut InternedConstantPool, this_class_index: u16, super_class_index: u16, fields: &[(Str
src/lower2/jvm_gen.rs:109
↓ 1 callersFunctioncreate_jar
--- create_jar ---
java-linker/src/main.rs:371
↓ 1 callersFunctioncreate_manifest_content
(main_class_name: Option<&str>)
java-linker/src/main.rs:624
↓ 1 callersFunctioncreate_static_instance_bridge
( cp: &mut InternedConstantPool, class_name_jvm: &str, method_name: &str, function: &oomir::Fu
src/lower2/jvm_gen.rs:196
↓ 1 callersFunctiondecrypt
RSA decryption: m = c^d mod n
tests/binary/rsa/src/main.rs:70
↓ 1 callersMethoddetermine_comparison_type
Determines the common comparison type based on numeric promotion rules, including BigInteger and BigDecimal. Also returns necessary cast targets.
src/lower2/translator.rs:962
↓ 1 callersMethoddisable
Disable the counter
tests/binary/impl/src/main.rs:109
↓ 1 callersFunctiondiscover_tests
(only_run: set[str] | None, dont_run: set[str])
Instrument.py:90
↓ 1 callersFunctiondivide_constants
(op1: Constant, op2: Constant)
src/oomir/interpret.rs:397
↓ 1 callersMethoddoubled
(self)
tests/binary/modules/src/main.rs:214
↓ 1 callersFunctioneliminate_dead_moves
(function: &mut Function)
src/optimise1/copyprop.rs:149
↓ 1 callersFunctionemit_all_needed_intrinsics
Emit all needed checked arithmetic intrinsics Returns the intrinsic class
src/lower1/control_flow/checked_intrinsics.rs:317
↓ 1 callersFunctionemit_checked_arithmetic_intrinsic
Emits a checked arithmetic intrinsic function for the given integer type The function returns a CheckedArithmeticResult struct with result and overflo
src/lower1/control_flow/checked_intrinsics.rs:14
↓ 1 callersFunctionemit_checked_arithmetic_oomir_instructions
( dest_base_name: &str, op1: &Operand, op2: &Operand, op_ty: &Type, operation: &str,
src/lower1/control_flow/checked_ops.rs:4
↓ 1 callersMethodemit_iinc_add
( &mut self, dest: &str, op1: &oomir::Operand, op2: &oomir::Operand, )
src/lower2/translator.rs:254
↓ 1 callersMethodemit_iinc_sub
( &mut self, dest: &str, op1: &oomir::Operand, op2: &oomir::Operand, )
src/lower2/translator.rs:266
↓ 1 callersFunctionemit_instructions_to_get_recursive
Generates the necessary OOMIR instructions to retrieve the value corresponding to a given Place that may have a nested projection chain. This functio
src/lower1/place.rs:148
↓ 1 callersMethodemit_integer_switch
( &mut self, discr: &oomir::Operand, discr_type: &Type, targets: &[(oomir::Con
src/lower2/translator.rs:171
↓ 1 callersFunctionemit_scalar_from_union_bytes
( ty: Ty<'tcx>, bytes_var: &str, base_offset: usize, tcx: TyCtxt<'tcx>, data_types: &mut H
src/lower1/types.rs:359
↓ 1 callersFunctionemit_scalar_to_union_bytes
( ty: Ty<'tcx>, source: oomir::Operand, bytes_var: &str, base_offset: usize, tcx: TyCtxt<'
src/lower1/types.rs:226
↓ 1 callersFunctionemit_ty_from_union_bytes
( ty: Ty<'tcx>, bytes_var: &str, base_offset: usize, tcx: TyCtxt<'tcx>, data_types: &mut H
src/lower1/types.rs:484
↓ 1 callersFunctionencrypt
RSA encryption: c = m^e mod n
tests/binary/rsa/src/main.rs:65
↓ 1 callersFunctioneq_constants_internal
Internal equality check, handling recursion carefully
src/oomir/interpret.rs:575
↓ 1 callersFunctionf128_to_string
Convert an `f128` (binary128) to a decimal `String` with up to 34 significant digits, rounding to nearest, ties-to-even. Special‑cases: - `NaN` → `"N
src/lower1/operand/float.rs:11
↓ 1 callersFunctionfamily
(order: u32)
tests/binary/modules/src/main.rs:100
↓ 1 callersFunctionfind_and_prepare_jar
( test_dir: Path, test_name: str, target_dir: str, logs: list[str], )
Instrument.py:185
↓ 1 callersFunctionfind_main_classes_with_ristretto
(input_files: &[String])
java-linker/src/main.rs:197
↓ 1 callersFunctionfind_primes
(start: u32, count: usize, buffer: &mut [u32])
tests/binary/primes/src/main.rs:22
↓ 1 callersFunctionfind_reachable_blocks
( entry_label: &str, // Provides the successor edges for *all* potential blocks after optimization
src/optimise1/reachability.rs:28
↓ 1 callersMethodflip
(self)
tests/binary/generics/src/main.rs:23
↓ 1 callersMethodfn_ptr_interface_method_signature
(&self)
src/oomir.rs:258
↓ 1 callersFunctionfold_boolean_branch_materialization
( mut instructions: Vec<Instruction>, )
src/lower2/optimise2.rs:122
↓ 1 callersFunctionfold_boolean_zero_comparisons
( mut instructions: Vec<Instruction>, )
src/lower2/optimise2.rs:241
↓ 1 callersFunctionfold_iinc_patterns
(mut instructions: Vec<Instruction>)
src/lower2/optimise2.rs:727
↓ 1 callersFunctionfold_null_branch_comparisons
( mut instructions: Vec<Instruction>, )
src/lower2/optimise2.rs:765
↓ 1 callersFunctionfold_stack_boolean_zero_comparisons
( mut instructions: Vec<Instruction>, )
src/lower2/optimise2.rs:359
↓ 1 callersMethodformatArgArray
(Object value)
library/src/main/java/org/rustlang/core/Core.java:91
↓ 1 callersMethodformatTemplateString
(Object value)
library/src/main/java/org/rustlang/core/Core.java:81
↓ 1 callersFunctionframe_value_from_ldc2
(constant_pool: &ConstantPool, index: u16)
src/lower2/stackmaps.rs:1527
↓ 1 callersFunctionframe_value_width
(value: &FrameValue)
src/lower2/optimise2.rs:1649
↓ 1 callersFunctionge_constants
(op1: Constant, op2: Constant)
src/oomir/interpret.rs:596
↓ 1 callersFunctiongenerate_config_files
Generates config.toml and jvm-unknown-unknown.json from templates.
build.py:225
↓ 1 callersFunctiongenerate_keys
RSA key generation (with hardcoded small primes for simplicity)
tests/binary/rsa/src/main.rs:50
↓ 1 callersFunctiongenerate_metadata
Reads the specified class from the JAR, parses it, and generates the JSON metadata file.
shim-metadata-gen/src/main.rs:48
↓ 1 callersFunctiongenerate_shim_metadata
Generates core.json from the library shim JAR.
build.py:171
↓ 1 callersMethodget_boxing_info
If this is one of the primitive types that Java boxes, returns (wrapper_class_internal_name, "valueOf", valueOf_descriptor). Otherwise returns None.
src/oomir.rs:1009
↓ 1 callersMethodget_count
Get the current count
tests/binary/impl/src/main.rs:32
↓ 1 callersFunctionget_double_const_instr
Helper to get the appropriate double constant loading instruction
src/lower2/consts.rs:75
↓ 1 callersFunctionget_field_constant
(instance: Constant, field_name: String)
src/oomir/interpret.rs:760
↓ 1 callersFunctionget_float_const_instr
Helper to get the appropriate float constant loading instruction
src/lower2/consts.rs:57
↓ 1 callersMethodget_get_field_owner
(&self)
src/optimise1/dataflow.rs:1416
↓ 1 callersMethodget_get_field_ty
(&self)
src/optimise1/dataflow.rs:1409
↓ 1 callersFunctionget_intrinsic_function_name
Generate the intrinsic function name for a checked operation
src/lower1/control_flow/checked_intrinsics.rs:8
↓ 1 callersMethodget_jvm_array_load_instruction
Returns the appropriate JVM array element load instruction.
src/oomir.rs:927
↓ 1 callersMethodget_limit
Get the limit
tests/binary/impl/src/main.rs:42
↓ 1 callersFunctionget_long_const_instr
Helper to get the appropriate long constant loading instruction
src/lower2/consts.rs:41
↓ 1 callersMethodget_set_field_name
(&self)
src/optimise1/dataflow.rs:1388
↓ 1 callersMethodget_set_field_owner
(&self)
src/optimise1/dataflow.rs:1402
↓ 1 callersMethodget_set_field_ty
(&self)
src/optimise1/dataflow.rs:1395
↓ 1 callersFunctionget_shim_metadata
()
src/lower2/shim.rs:22
↓ 1 callersMethodget_value
(&self)
tests/binary/traits/src/main.rs:29
↓ 1 callersFunctionget_x_coord
Function taking a shared borrow of a Point and reading
tests/binary/mutable_borrow/src/main.rs:16
↓ 1 callersFunctiongoto_target
(instruction: &Instruction)
src/lower2/optimise2.rs:1451
↓ 1 callersFunctiongt_constants
(op1: Constant, op2: Constant)
src/oomir/interpret.rs:588
↓ 1 callersFunctionhandle_constant_enum
( tcx: TyCtxt<'tcx>, allocation: &rustc_middle::mir::interpret::Allocation< rustc_middle::mir:
src/lower1/operand/experimental.rs:367
↓ 1 callersFunctionhandle_constant_struct
( tcx: TyCtxt<'tcx>, allocation: &rustc_middle::mir::interpret::Allocation, offset: Size, layo
src/lower1/operand/experimental.rs:315
↓ 1 callersMethodid
(&self)
tests/binary/traits/src/main.rs:33
↓ 1 callersFunctioniinc_amount
(operand: &oomir::Operand, sign: i32)
src/lower2/translator.rs:3601
↓ 1 callersFunctioniinc_pattern
(instructions: &[Instruction], index: usize)
src/lower2/optimise2.rs:1403
↓ 1 callersMethodincrement
(&mut self)
tests/integration/struct_methods/src/main.rs:47
↓ 1 callersFunctioninfer_string_value
( rvalue: &rustc_middle::mir::Rvalue<'_>, source_operand: &oomir::Operand, local_string_values: &H
src/lower1/control_flow.rs:39
↓ 1 callersFunctioninitial_locals_for_descriptor
( descriptor: &str, is_static: bool, this_class_name: Option<&str>, is_constructor: bool, )
src/lower2/stackmaps.rs:192
↓ 1 callersFunctioninitial_locals_for_oomir_function
( function: &oomir::Function, is_static: bool, owner_class_name: Option<&str>, )
src/lower2/stackmaps.rs:166
↓ 1 callersMethodinitialize_object
(&mut self, uninitialized: &FrameValue, class_name: &str)
src/lower2/stackmaps.rs:151
↓ 1 callersFunctioninstall_fmt_argument_shim
(oomir_module: &mut oomir::Module)
src/lib.rs:509
↓ 1 callersFunctioninstall_fmt_arguments_shim
(oomir_module: &mut oomir::Module)
src/lib.rs:253
↓ 1 callersFunctioninstall_rust_components
Installs required Rust nightly components.
build.py:125
↓ 1 callersMethodinstanceFields
(Class<?> type)
library/src/main/java/org/rustlang/shims/FreeFns.java:69
↓ 1 callersFunctioninstruction_byte_offsets
(instructions: &[Instruction])
src/lower2/translator.rs:3651
↓ 1 callersFunctioninstruction_size_at
(instruction: &Instruction, byte_offset: usize)
src/lower2/translator.rs:3662
↓ 1 callersFunctioninstruction_successors
( index: usize, instruction: &Instruction, instruction_count: usize, )
src/lower2/stackmaps.rs:1233
← previousnext →301–400 of 655, ranked by callers