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
↓ 2 callers
Method
get_limit
(&self)
tests/integration/struct_methods/src/main.rs:39
↓ 2 callers
Method
get_local_index
(&self, var_name: &str)
src/lower2/translator.rs:552
↓ 2 callers
Method
get_local_type
(&self, var_name: &str)
src/lower2/translator.rs:1111
↓ 2 callers
Function
get_shift_amount
Helper for shift amount conversion (must be usize for BigInt shifts)
src/oomir/interpret.rs:657
↓ 2 callers
Function
get_store_instruction
Gets the appropriate type-specific store instruction.
src/lower2/helpers.rs:97
↓ 2 callers
Function
has_generated_eq
(module: &oomir::Module, class_name: &str)
src/lower2/jvm_gen.rs:321
↓ 2 callers
Function
identity
Generic identity function
tests/binary/generics/src/main.rs:2
↓ 2 callers
Function
instruction_successors
( index: usize, instruction: &Instruction, instruction_count: usize, )
src/lower2/optimise2.rs:1746
↓ 2 callers
Function
instruction_uses
(instruction: &Instruction)
src/optimise1/copyprop.rs:409
↓ 2 callers
Function
int_constant_for_type
(value: i64, ty: &oomir::Type)
src/lower1/types.rs:128
↓ 2 callers
Method
invokeinterface_count
(&self, args: &[oomir::Operand])
src/lower2/translator.rs:3533
↓ 2 callers
Function
is_direct_union_scalar
(ty: Ty<'tcx>)
src/lower1/types.rs:143
↓ 2 callers
Function
is_even_plus_one
(n: i32)
tests/binary/is_even_plus_one/src/main.rs:1
↓ 2 callers
Function
local_reads
(instruction: &Instruction)
src/lower2/optimise2.rs:1518
↓ 2 callers
Function
local_writes
(instruction: &Instruction)
src/lower2/optimise2.rs:1537
↓ 2 callers
Function
locals_for_stack_map
( locals: &[FrameValue], constant_pool: &mut InternedConstantPool, verification_class_cache: &mut
src/lower2/stackmaps.rs:1585
↓ 2 callers
Function
make_bond
(left: Atom, right: Atom, kind: BondKind)
tests/binary/modules/src/main.rs:88
↓ 2 callers
Function
make_ret
(index: u16)
src/lower2/optimise2.rs:1395
↓ 2 callers
Method
materialize_boolean_from_branch
( &mut self, dest: &str, branch_constructor: Box<dyn Fn(u16) -> Instruction + 'branch>
src/lower2/translator.rs:1306
↓ 2 callers
Function
meet_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 callers
Function
merge_value
(a: &FrameValue, b: &FrameValue)
src/lower2/stackmaps.rs:1137
↓ 2 callers
Function
method_ref_info
( constant_pool: &ConstantPool, method_ref: u16, is_interface: bool, )
src/lower2/stackmaps.rs:1543
↓ 2 callers
Function
mod_exp
Modular exponentiation: (base^exp) % modulus
tests/binary/rsa/src/main.rs:12
↓ 2 callers
Function
narrow
Final narrowing instr for byte/char/short
src/lower2/helpers.rs:386
↓ 2 callers
Function
neg_constant
(op1: Constant)
src/oomir/interpret.rs:713
↓ 2 callers
Function
next_successor
(index: usize, state: FrameState)
src/lower2/stackmaps.rs:1008
↓ 2 callers
Function
normalize
Normalize smaller ints → I32
src/lower2/helpers.rs:379
↓ 2 callers
Function
normalize_name
(test_name: str)
Tester.py:32
↓ 2 callers
Function
oomir_function_stack_floor
(function: &oomir::Function)
src/lower2/helpers.rs:16
↓ 2 callers
Function
optimise
( instructions: Vec<Instruction>, max_locals: u16, fixed_prefix_slots: u16, )
src/lower2/optimise2.rs:43
↓ 2 callers
Method
owner_class_for_function
(&'a self, function: &'a Function)
src/oomir.rs:54
↓ 2 callers
Function
pad_construct_object_args_in_function
( function: &mut oomir::Function, class_fields: &HashMap<String, Vec<(String, Type)>>, )
src/lib.rs:182
↓ 2 callers
Function
perform_calculation
Takes an immutable trait object reference
tests/binary/traits/src/main.rs:75
↓ 2 callers
Function
placeholder_operand_for_constructor_field
(ty: &Type)
src/lib.rs:135
↓ 2 callers
Function
point
(x: i32, y: i32)
tests/binary/modules/src/main.rs:159
↓ 2 callers
Function
process_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 callers
Function
remove_redundant_instructions
(instructions: Vec<Instruction>)
src/lower2/optimise2.rs:476
↓ 2 callers
Function
remove_unreachable_instructions
( instructions: Vec<Instruction>, )
src/lower2/optimise2.rs:524
↓ 2 callers
Method
replace_class
Recursively replaces all occurrences of `Type::Class(old_name)` with `Type::Class(new_name)`.
src/oomir.rs:1053
↓ 2 callers
Function
resolve_alias
(name: &str, aliases: &AliasMap)
src/optimise1/copyprop.rs:379
↓ 2 callers
Function
rewrite_variable_name
(name: &mut String, aliases: &AliasMap)
src/optimise1/copyprop.rs:369
↓ 2 callers
Function
scalar_bits_type
(rust_size: usize, oomir_ty: &oomir::Type)
src/lower1/types.rs:120
↓ 2 callers
Function
set_conditional_branch_target
(instruction: &Instruction, target: u16)
src/lower2/optimise2.rs:1702
↓ 2 callers
Method
set_limit
Set a new limit. Clamps count if necessary.
tests/binary/impl/src/main.rs:114
↓ 2 callers
Function
shape
(electron_domains: u32, molecular_domains: u32)
tests/binary/modules/src/main.rs:43
↓ 2 callers
Function
shift
( state: &mut FrameState, value: FrameValue, context: &str, instruction_index: usize, )
src/lower2/stackmaps.rs:1070
↓ 2 callers
Function
should_lower_non_local
(tcx: TyCtxt<'_>, def_id: rustc_hir::def_id::DefId)
src/lib.rs:53
↓ 2 callers
Function
thread_jump_targets
(mut instructions: Vec<Instruction>)
src/lower2/optimise2.rs:553
↓ 2 callers
Method
to_ident
TODO: Filter results to get exactly what we need, instead of relying on iterating.
src/misc.rs:11
↓ 2 callers
Method
to_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 callers
Method
to_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 callers
Function
to_verification_type
( value: &FrameValue, constant_pool: &mut InternedConstantPool, verification_class_cache: &mut Has
src/lower2/stackmaps.rs:1620
↓ 2 callers
Function
transfer_aliases_through_instruction
(instruction: &Instruction, aliases: &mut AliasMap)
src/optimise1/copyprop.rs:127
↓ 2 callers
Method
translate
Translates the entire function body.
src/lower2/translator.rs:563
↓ 2 callers
Function
union_field_name
(adt_def: AdtDef<'tcx>, field_index: usize, tcx: TyCtxt<'tcx>)
src/lower1/place.rs:126
↓ 2 callers
Function
union_parts_from_ty
(ty: Ty<'tcx>)
src/lower1/place.rs:104
↓ 1 callers
Function
add_constants
(op1: Constant, op2: Constant)
src/oomir/interpret.rs:346
↓ 1 callers
Method
add_double
(&mut self, value: f64)
src/lower2/constant_pool.rs:166
↓ 1 callers
Method
add_float
(&mut self, value: f32)
src/lower2/constant_pool.rs:158
↓ 1 callers
Method
add_integer
(&mut self, value: i32)
src/lower2/constant_pool.rs:154
↓ 1 callers
Function
add_manifest_to_jar
( input_jar_path: &Path, output_jar_path: &Path, main_class_name: Option<&str>, )
java-linker/src/main.rs:585
↓ 1 callers
Function
adt_base_jvm_name
(adt_def: &AdtDef<'tcx>, tcx: TyCtxt<'tcx>)
src/lower1/types.rs:1342
↓ 1 callers
Function
allocate_local_slots
( instructions: &[Instruction], max_locals: u16, fixed_prefix_slots: u16, )
src/lower2/optimise2.rs:970
↓ 1 callers
Function
analyze_constant_propagation
( entry_label: &String, cfg: &HashMap<String, BasicBlockInfo>, // Potentially add function signatu
src/optimise1/dataflow.rs:26
↓ 1 callers
Function
analyze_copy_aliases
(function: &Function)
src/optimise1/copyprop.rs:28
↓ 1 callers
Method
apply_switch_fixup
(&mut self, fixup: SwitchFixup)
src/lower2/translator.rs:305
↓ 1 callers
Function
are_types_jvm_compatible
Helper to check if types are compatible enough for JVM assignments (e.g., U8 -> I32)
src/lower2/helpers.rs:611
↓ 1 callers
Function
array_component_value
(array: &FrameValue)
src/lower2/stackmaps.rs:1648
↓ 1 callers
Function
array_descriptor_from_type
(array_type: &ArrayType)
src/lower2/stackmaps.rs:1670
↓ 1 callers
Method
arraysEqual
(Object a, Object b)
library/src/main/java/org/rustlang/shims/FreeFns.java:82
↓ 1 callers
Method
as_i16
(&self)
src/oomir/interpret.rs:775
↓ 1 callers
Method
as_i32
(&self)
src/oomir/interpret.rs:782
↓ 1 callers
Method
as_i64
(&self)
src/oomir/interpret.rs:789
↓ 1 callers
Method
as_i8
(&self)
src/oomir/interpret.rs:768
↓ 1 callers
Method
as_math
(self)
tests/binary/modules/src/main.rs:220
↓ 1 callers
Method
assertConstantStructUsesDeclarationOrder
()
tests/integration/struct_methods/Main.java:78
↓ 1 callers
Method
assertFieldConstructor
()
tests/integration/struct_methods/Main.java:26
↓ 1 callers
Method
assertFieldlessNoArgsConstructorRemains
()
tests/integration/struct_methods/Main.java:71
↓ 1 callers
Method
assertInstanceAndStaticSelfMethods
()
tests/integration/struct_methods/Main.java:56
↓ 1 callers
Method
assertNoFieldedNoArgsConstructor
()
tests/integration/struct_methods/Main.java:17
↓ 1 callers
Method
assertStaticAssociatedFunctions
()
tests/integration/struct_methods/Main.java:39
↓ 1 callers
Function
atom_offset
(atom: chemistry::Atom, offset: i32)
tests/binary/modules/src/main.rs:174
↓ 1 callers
Function
bigdec_to_prim
BigDecimal → primitive via intValue/longValue/floatValue/doubleValue(...)
src/lower2/helpers.rs:563
↓ 1 callers
Function
bigint_to_prim
BigInteger → primitive via intValue/longValue/doubleValue(...)
src/lower2/helpers.rs:524
↓ 1 callers
Function
bit_and_constants
(op1: Constant, op2: Constant)
src/oomir/interpret.rs:670
↓ 1 callers
Function
bit_or_constants
(op1: Constant, op2: Constant)
src/oomir/interpret.rs:674
↓ 1 callers
Function
bit_xor_constants
(op1: Constant, op2: Constant)
src/oomir/interpret.rs:678
↓ 1 callers
Function
block_live_out
(function: &Function)
src/optimise1/copyprop.rs:196
↓ 1 callers
Function
block_predecessors
(function: &Function)
src/optimise1/copyprop.rs:71
↓ 1 callers
Function
bond_score
(bond: Bond)
tests/binary/modules/src/main.rs:92
↓ 1 callers
Function
bool_branch_target
(instruction: &Instruction)
src/lower2/optimise2.rs:1664
↓ 1 callers
Function
bootstrap_tools
()
Instrument.py:84
↓ 1 callers
Function
branch_targets
(instructions: &[Instruction])
src/lower2/stackmaps.rs:1388
↓ 1 callers
Function
build_cfg
(code_block: &CodeBlock)
src/optimise1.rs:31
↓ 1 callers
Function
build_java_linker
Builds the java-linker subproject.
build.py:213
↓ 1 callers
Function
build_library
Builds the Java standard library shim.
build.py:130
↓ 1 callers
Function
build_rust_backend
Builds the main rustc_codegen_jvm backend.
build.py:198
↓ 1 callers
Function
build_rust_code
( test_dir: Path, release_mode: bool, logs: list[str], event_path: Path, )
Instrument.py:153
↓ 1 callers
Function
bump_u16_branch_target
( target: &mut u16, insert_at: usize, context: &str, )
src/lower2/translator.rs:3734
↓ 1 callers
Method
calculate
(&self, a: i32, b: i32)
tests/binary/traits/src/main.rs:21
← previous
next →
201–300 of 655, ranked by callers