MCPcopy Create free account

hub / github.com/IntegralPilot/rustc_codegen_jvm / functions

Functions655 in github.com/IntegralPilot/rustc_codegen_jvm

↓ 2 callersMethodget_limit
(&self)
tests/integration/struct_methods/src/main.rs:39
↓ 2 callersMethodget_local_index
(&self, var_name: &str)
src/lower2/translator.rs:552
↓ 2 callersMethodget_local_type
(&self, var_name: &str)
src/lower2/translator.rs:1111
↓ 2 callersFunctionget_shift_amount
Helper for shift amount conversion (must be usize for BigInt shifts)
src/oomir/interpret.rs:657
↓ 2 callersFunctionget_store_instruction
Gets the appropriate type-specific store instruction.
src/lower2/helpers.rs:97
↓ 2 callersFunctionhas_generated_eq
(module: &oomir::Module, class_name: &str)
src/lower2/jvm_gen.rs:321
↓ 2 callersFunctionidentity
Generic identity function
tests/binary/generics/src/main.rs:2
↓ 2 callersFunctioninstruction_successors
( index: usize, instruction: &Instruction, instruction_count: usize, )
src/lower2/optimise2.rs:1746
↓ 2 callersFunctioninstruction_uses
(instruction: &Instruction)
src/optimise1/copyprop.rs:409
↓ 2 callersFunctionint_constant_for_type
(value: i64, ty: &oomir::Type)
src/lower1/types.rs:128
↓ 2 callersMethodinvokeinterface_count
(&self, args: &[oomir::Operand])
src/lower2/translator.rs:3533
↓ 2 callersFunctionis_direct_union_scalar
(ty: Ty<'tcx>)
src/lower1/types.rs:143
↓ 2 callersFunctionis_even_plus_one
(n: i32)
tests/binary/is_even_plus_one/src/main.rs:1
↓ 2 callersFunctionlocal_reads
(instruction: &Instruction)
src/lower2/optimise2.rs:1518
↓ 2 callersFunctionlocal_writes
(instruction: &Instruction)
src/lower2/optimise2.rs:1537
↓ 2 callersFunctionlocals_for_stack_map
( locals: &[FrameValue], constant_pool: &mut InternedConstantPool, verification_class_cache: &mut
src/lower2/stackmaps.rs:1585
↓ 2 callersFunctionmake_bond
(left: Atom, right: Atom, kind: BondKind)
tests/binary/modules/src/main.rs:88
↓ 2 callersFunctionmake_ret
(index: u16)
src/lower2/optimise2.rs:1395
↓ 2 callersMethodmaterialize_boolean_from_branch
( &mut self, dest: &str, branch_constructor: Box<dyn Fn(u16) -> Instruction + 'branch>
src/lower2/translator.rs:1306
↓ 2 callersFunctionmeet_constants
Meet operator for constant propagation: Merges information from multiple predecessors. A variable is constant only if it has the same constant value c
src/optimise1/dataflow.rs:8
↓ 2 callersFunctionmerge_value
(a: &FrameValue, b: &FrameValue)
src/lower2/stackmaps.rs:1137
↓ 2 callersFunctionmethod_ref_info
( constant_pool: &ConstantPool, method_ref: u16, is_interface: bool, )
src/lower2/stackmaps.rs:1543
↓ 2 callersFunctionmod_exp
Modular exponentiation: (base^exp) % modulus
tests/binary/rsa/src/main.rs:12
↓ 2 callersFunctionnarrow
Final narrowing instr for byte/char/short
src/lower2/helpers.rs:386
↓ 2 callersFunctionneg_constant
(op1: Constant)
src/oomir/interpret.rs:713
↓ 2 callersFunctionnext_successor
(index: usize, state: FrameState)
src/lower2/stackmaps.rs:1008
↓ 2 callersFunctionnormalize
Normalize smaller ints → I32
src/lower2/helpers.rs:379
↓ 2 callersFunctionnormalize_name
(test_name: str)
Tester.py:32
↓ 2 callersFunctionoomir_function_stack_floor
(function: &oomir::Function)
src/lower2/helpers.rs:16
↓ 2 callersFunctionoptimise
( instructions: Vec<Instruction>, max_locals: u16, fixed_prefix_slots: u16, )
src/lower2/optimise2.rs:43
↓ 2 callersMethodowner_class_for_function
(&'a self, function: &'a Function)
src/oomir.rs:54
↓ 2 callersFunctionpad_construct_object_args_in_function
( function: &mut oomir::Function, class_fields: &HashMap<String, Vec<(String, Type)>>, )
src/lib.rs:182
↓ 2 callersFunctionperform_calculation
Takes an immutable trait object reference
tests/binary/traits/src/main.rs:75
↓ 2 callersFunctionplaceholder_operand_for_constructor_field
(ty: &Type)
src/lib.rs:135
↓ 2 callersFunctionpoint
(x: i32, y: i32)
tests/binary/modules/src/main.rs:159
↓ 2 callersFunctionprocess_block_instructions
Helper to simulate block execution for dataflow analysis OR transformation When used for analysis, it just calculates the output state. When used for
src/optimise1/dataflow.rs:140
↓ 2 callersFunctionremove_redundant_instructions
(instructions: Vec<Instruction>)
src/lower2/optimise2.rs:476
↓ 2 callersFunctionremove_unreachable_instructions
( instructions: Vec<Instruction>, )
src/lower2/optimise2.rs:524
↓ 2 callersMethodreplace_class
Recursively replaces all occurrences of `Type::Class(old_name)` with `Type::Class(new_name)`.
src/oomir.rs:1053
↓ 2 callersFunctionresolve_alias
(name: &str, aliases: &AliasMap)
src/optimise1/copyprop.rs:379
↓ 2 callersFunctionrewrite_variable_name
(name: &mut String, aliases: &AliasMap)
src/optimise1/copyprop.rs:369
↓ 2 callersFunctionscalar_bits_type
(rust_size: usize, oomir_ty: &oomir::Type)
src/lower1/types.rs:120
↓ 2 callersFunctionset_conditional_branch_target
(instruction: &Instruction, target: u16)
src/lower2/optimise2.rs:1702
↓ 2 callersMethodset_limit
Set a new limit. Clamps count if necessary.
tests/binary/impl/src/main.rs:114
↓ 2 callersFunctionshape
(electron_domains: u32, molecular_domains: u32)
tests/binary/modules/src/main.rs:43
↓ 2 callersFunctionshift
( state: &mut FrameState, value: FrameValue, context: &str, instruction_index: usize, )
src/lower2/stackmaps.rs:1070
↓ 2 callersFunctionshould_lower_non_local
(tcx: TyCtxt<'_>, def_id: rustc_hir::def_id::DefId)
src/lib.rs:53
↓ 2 callersFunctionthread_jump_targets
(mut instructions: Vec<Instruction>)
src/lower2/optimise2.rs:553
↓ 2 callersMethodto_ident
TODO: Filter results to get exactly what we need, instead of relying on iterating.
src/misc.rs:11
↓ 2 callersMethodto_jvm_internal_name
Returns the JVM internal name for class/interface types used by anewarray. Returns None for primitive types.
src/oomir.rs:873
↓ 2 callersMethodto_jvm_primitive_array_type_code
Returns the 'atype' code used by the `newarray` instruction for primitive types. See https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jv
src/oomir.rs:887
↓ 2 callersFunctionto_verification_type
( value: &FrameValue, constant_pool: &mut InternedConstantPool, verification_class_cache: &mut Has
src/lower2/stackmaps.rs:1620
↓ 2 callersFunctiontransfer_aliases_through_instruction
(instruction: &Instruction, aliases: &mut AliasMap)
src/optimise1/copyprop.rs:127
↓ 2 callersMethodtranslate
Translates the entire function body.
src/lower2/translator.rs:563
↓ 2 callersFunctionunion_field_name
(adt_def: AdtDef<'tcx>, field_index: usize, tcx: TyCtxt<'tcx>)
src/lower1/place.rs:126
↓ 2 callersFunctionunion_parts_from_ty
(ty: Ty<'tcx>)
src/lower1/place.rs:104
↓ 1 callersFunctionadd_constants
(op1: Constant, op2: Constant)
src/oomir/interpret.rs:346
↓ 1 callersMethodadd_double
(&mut self, value: f64)
src/lower2/constant_pool.rs:166
↓ 1 callersMethodadd_float
(&mut self, value: f32)
src/lower2/constant_pool.rs:158
↓ 1 callersMethodadd_integer
(&mut self, value: i32)
src/lower2/constant_pool.rs:154
↓ 1 callersFunctionadd_manifest_to_jar
( input_jar_path: &Path, output_jar_path: &Path, main_class_name: Option<&str>, )
java-linker/src/main.rs:585
↓ 1 callersFunctionadt_base_jvm_name
(adt_def: &AdtDef<'tcx>, tcx: TyCtxt<'tcx>)
src/lower1/types.rs:1342
↓ 1 callersFunctionallocate_local_slots
( instructions: &[Instruction], max_locals: u16, fixed_prefix_slots: u16, )
src/lower2/optimise2.rs:970
↓ 1 callersFunctionanalyze_constant_propagation
( entry_label: &String, cfg: &HashMap<String, BasicBlockInfo>, // Potentially add function signatu
src/optimise1/dataflow.rs:26
↓ 1 callersFunctionanalyze_copy_aliases
(function: &Function)
src/optimise1/copyprop.rs:28
↓ 1 callersMethodapply_switch_fixup
(&mut self, fixup: SwitchFixup)
src/lower2/translator.rs:305
↓ 1 callersFunctionare_types_jvm_compatible
Helper to check if types are compatible enough for JVM assignments (e.g., U8 -> I32)
src/lower2/helpers.rs:611
↓ 1 callersFunctionarray_component_value
(array: &FrameValue)
src/lower2/stackmaps.rs:1648
↓ 1 callersFunctionarray_descriptor_from_type
(array_type: &ArrayType)
src/lower2/stackmaps.rs:1670
↓ 1 callersMethodarraysEqual
(Object a, Object b)
library/src/main/java/org/rustlang/shims/FreeFns.java:82
↓ 1 callersMethodas_i16
(&self)
src/oomir/interpret.rs:775
↓ 1 callersMethodas_i32
(&self)
src/oomir/interpret.rs:782
↓ 1 callersMethodas_i64
(&self)
src/oomir/interpret.rs:789
↓ 1 callersMethodas_i8
(&self)
src/oomir/interpret.rs:768
↓ 1 callersMethodas_math
(self)
tests/binary/modules/src/main.rs:220
↓ 1 callersMethodassertConstantStructUsesDeclarationOrder
()
tests/integration/struct_methods/Main.java:78
↓ 1 callersMethodassertFieldConstructor
()
tests/integration/struct_methods/Main.java:26
↓ 1 callersMethodassertFieldlessNoArgsConstructorRemains
()
tests/integration/struct_methods/Main.java:71
↓ 1 callersMethodassertInstanceAndStaticSelfMethods
()
tests/integration/struct_methods/Main.java:56
↓ 1 callersMethodassertNoFieldedNoArgsConstructor
()
tests/integration/struct_methods/Main.java:17
↓ 1 callersMethodassertStaticAssociatedFunctions
()
tests/integration/struct_methods/Main.java:39
↓ 1 callersFunctionatom_offset
(atom: chemistry::Atom, offset: i32)
tests/binary/modules/src/main.rs:174
↓ 1 callersFunctionbigdec_to_prim
BigDecimal → primitive via intValue/longValue/floatValue/doubleValue(...)
src/lower2/helpers.rs:563
↓ 1 callersFunctionbigint_to_prim
BigInteger → primitive via intValue/longValue/doubleValue(...)
src/lower2/helpers.rs:524
↓ 1 callersFunctionbit_and_constants
(op1: Constant, op2: Constant)
src/oomir/interpret.rs:670
↓ 1 callersFunctionbit_or_constants
(op1: Constant, op2: Constant)
src/oomir/interpret.rs:674
↓ 1 callersFunctionbit_xor_constants
(op1: Constant, op2: Constant)
src/oomir/interpret.rs:678
↓ 1 callersFunctionblock_live_out
(function: &Function)
src/optimise1/copyprop.rs:196
↓ 1 callersFunctionblock_predecessors
(function: &Function)
src/optimise1/copyprop.rs:71
↓ 1 callersFunctionbond_score
(bond: Bond)
tests/binary/modules/src/main.rs:92
↓ 1 callersFunctionbool_branch_target
(instruction: &Instruction)
src/lower2/optimise2.rs:1664
↓ 1 callersFunctionbootstrap_tools
()
Instrument.py:84
↓ 1 callersFunctionbranch_targets
(instructions: &[Instruction])
src/lower2/stackmaps.rs:1388
↓ 1 callersFunctionbuild_cfg
(code_block: &CodeBlock)
src/optimise1.rs:31
↓ 1 callersFunctionbuild_java_linker
Builds the java-linker subproject.
build.py:213
↓ 1 callersFunctionbuild_library
Builds the Java standard library shim.
build.py:130
↓ 1 callersFunctionbuild_rust_backend
Builds the main rustc_codegen_jvm backend.
build.py:198
↓ 1 callersFunctionbuild_rust_code
( test_dir: Path, release_mode: bool, logs: list[str], event_path: Path, )
Instrument.py:153
↓ 1 callersFunctionbump_u16_branch_target
( target: &mut u16, insert_at: usize, context: &str, )
src/lower2/translator.rs:3734
↓ 1 callersMethodcalculate
(&self, a: i32, b: i32)
tests/binary/traits/src/main.rs:21
← previousnext →201–300 of 655, ranked by callers