MCPcopy Create free account

hub / github.com/LPC4/Full-Stack / functions

Functions2,899 in github.com/LPC4/Full-Stack

↓ 15 callersMethodencode
(&self)
crates/asm-to-binary/src/riscv/rv64i.rs:180
↓ 15 callersMethodeval_const_expr_with_env_and_context
( &self, expr: &Expression, env: &std::collections::HashMap<String, Literal>,
crates/hll-to-ir/src/compiler/compiler/declarations.rs:368
↓ 15 callersFunctionfunct3
(word: u32)
crates/virtual-machine/src/cpu/decoder.rs:881
↓ 15 callersMethodparse_statement
(&mut self)
crates/hll-to-ir/src/parser.rs:217
↓ 15 callersMethodpeek_bytes_raw
Read bytes without updating cache stats or LRU state. Checks dirty cache lines for the latest data. Use this from render paths.
src/view/debug/mod.rs:354
↓ 15 callersMethodreset_temp_counter
(&mut self)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:58
↓ 15 callersFunctionri
(i: RealInstruction)
tests/integration/vm_execution.rs:720
↓ 15 callersFunctionrun_tool_session
Boot the shell with a set of `tools` installed (each named by its catalog key; source, aux modules, and install path come from the user catalog) plus
tests/integration/kernel_integration.rs:183
↓ 15 callersMethodset_type_prelude
(&mut self, types: Vec<(String, IrType)>)
src/compilation_pipeline.rs:311
↓ 14 callersFunctionassert_compile_fails
Assert a program fails to compile (used for rejected diagnostics).
tests/integration/hll_conformance.rs:58
↓ 14 callersMethodast_type_to_ir_type
(&self, ty: &Type)
crates/hll-to-ir/src/compiler/utility/semantic_analyzer.rs:1447
↓ 14 callersFunctionbox_f64
(v: f64)
crates/virtual-machine/src/cpu/alu.rs:49
↓ 14 callersMethodcompile
(&mut self)
src/app/mod.rs:715
↓ 14 callersFunctiondecode
(word: u32)
crates/virtual-machine/src/cpu/decoder.rs:698
↓ 14 callersMethodemit_slli
(&mut self, rd: Reg, rs1: Reg, shamt: u8)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:255
↓ 14 callersMethodlower_type
(&mut self, ty: &Type)
crates/hll-to-ir/src/compiler/compiler/types.rs:14
↓ 14 callersFunctionmemory_stage
Backwards-compatible wrapper for existing callers/tests that don't provide PMP CSRs. Uses a throwaway TLB, so it never benefits from caching (test/dia
crates/virtual-machine/src/cpu/pipeline/memory.rs:215
↓ 14 callersFunctionoptimize
Apply the peephole transforms to a freshly lowered token stream.
crates/ir-to-asm/src/compiler/peephole.rs:92
↓ 14 callersFunctionparse_module
Parse `source` into an AST, surfacing lex/parse failures as a message.
crates/hll-to-ir/src/imports.rs:33
↓ 14 callersMethodpeek_n
(&self, n: usize)
crates/hll-to-ir/src/parser.rs:2297
↓ 14 callersFunctionreg
(name: &str)
crates/ir-to-asm/src/compiler/register_allocator.rs:143
↓ 14 callersMethodresolve_ir_type
(&self, ty: &IrType)
crates/ir-to-asm/src/compiler/compiler_rv64.rs:1724
↓ 14 callersFunctionrs1
(word: u32)
crates/virtual-machine/src/cpu/decoder.rs:873
↓ 13 callersMethodall
Every available pass.
crates/hll-to-ir/src/compiler/opt/mod.rs:22
↓ 13 callersMethodassembled
(&self)
src/view/compilation_state.rs:76
↓ 13 callersMethodclear
(&mut self)
crates/hll-to-ir/src/compiler/utility/diagnostics.rs:67
↓ 13 callersMethodclear
(&mut self)
crates/ir-to-asm/src/compiler/peephole.rs:65
↓ 13 callersMethodenter_scope
(&mut self)
crates/hll-to-ir/src/compiler/utility/symbol_table.rs:29
↓ 13 callersMethodexit_scope
(&mut self)
crates/hll-to-ir/src/compiler/utility/symbol_table.rs:33
↓ 13 callersMethodlookup
(&self, name: &str)
crates/hll-to-ir/src/compiler/utility/symbol_table.rs:46
↓ 13 callersFunctionminimal_output
Build a minimal assembled program: _start calls main, main returns 42.
crates/asm-to-binary/tests/elf_output.rs:37
↓ 13 callersFunctionnote
(used: &mut HashSet<IrRegister>, value: &IrValue)
crates/hll-to-ir/src/compiler/opt/dce.rs:69
↓ 13 callersMethodpeek_is
(&mut self, expected: char)
crates/hll-to-ir/src/lexer.rs:385
↓ 13 callersMethodphys_reg_for
The physical register holding this virtual register, if allocated.
crates/ir-to-asm/src/compiler/function_context.rs:147
↓ 13 callersMethodpush_u32_le
(&mut self, word: u32)
crates/asm-to-binary/src/assembler/section.rs:68
↓ 13 callersMethodset_module_resolver
Set the resolver mapping `import("name")` to that module's source (default: the `PROGRAMS`-backed lookup). Pass `None` to disable import resolution en
src/compilation_pipeline.rs:330
↓ 13 callersFunctionsubstitute_type
(ty: &Type, substitutions: &Substitutions)
crates/hll-to-ir/src/monomorphize.rs:1037
↓ 13 callersMethodsymbol_address
Look up a symbol by name; returns its section-relative address if present.
crates/asm-to-binary/src/assembler/output.rs:103
↓ 13 callersFunctionterm_dim
()
src/machine_window.rs:35
↓ 13 callersFunctionvalue_reg
(value: &IrValue)
crates/ir-to-asm/src/compiler/slot_coloring.rs:251
↓ 12 callersFunctionassert_kernel_module_compiles
Compile one kernel HLL source as a standalone module and assert it succeeds.
tests/integration/kernel_modules.rs:16
↓ 12 callersMethodemit_li
--- Convenience compound operations ---
crates/ir-to-asm/src/compiler/assembly_emitter.rs:272
↓ 12 callersMethodlink_assembled_objects_named
( &self, stem: &str, modules: &[(&str, &AssembledOutput)], )
src/compilation_pipeline.rs:1009
↓ 12 callersMethodlower_expression
Evaluate expression in Value mode (rvalue context).
crates/hll-to-ir/src/compiler/compiler/expressions.rs:13
↓ 12 callersFunctionmake_cache
(size: usize, block_size: usize, ways: usize, write_back: bool)
crates/virtual-machine/tests/vm_cache.rs:10
↓ 12 callersFunctionreals
(tokens: &[RvInstruction])
crates/ir-to-asm/src/compiler/peephole.rs:283
↓ 12 callersMethodset_error
(&mut self, full: String)
src/view/compilation_state.rs:83
↓ 12 callersMethodset_string_prefix
(&mut self, prefix: Option<String>)
src/compilation_pipeline.rs:307
↓ 12 callersMethodwrite_ram
Write raw bytes into physical RAM at `addr`. Used to inject pre-compiled user binaries alongside a loaded kernel image. Flushes the L1/L2/L3 cache hi
crates/virtual-machine/src/virtual_machine.rs:257
↓ 12 callersMethodwrite_x
(&mut self, reg: usize, val: u64)
crates/virtual-machine/src/cpu/registers.rs:43
↓ 11 callersFunctioncanon_nan_d
()
crates/virtual-machine/src/cpu/alu.rs:37
↓ 11 callersMethodcompile_ir_to_assembly
(&self, ir: &IrProgram)
src/compilation_pipeline.rs:924
↓ 11 callersFunctioncompile_ok
(source: &str)
tests/integration/struct_destructuring.rs:10
↓ 11 callersFunctioncompute_layout
Walk tokens, assign addresses to labels, return the symbol table.
crates/asm-to-binary/src/assembler/layout.rs:16
↓ 11 callersMethodemit_addi
--- Base integer instructions ---
crates/ir-to-asm/src/compiler/assembly_emitter.rs:187
↓ 11 callersMethodemit_ld
(&mut self, rd: Reg, base: Reg, offset: i32)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:194
↓ 11 callersFunctionf64_to_f32_with_rm
Round a finite-or-infinite f64 to f32 using the specified rounding mode.
crates/virtual-machine/src/cpu/alu.rs:309
↓ 11 callersMethodload_float_value_to_temp
Load a float value into an FP temp. `float_ty` is the operand's float width, used to materialize constants with the correct bit pattern and move instr
crates/ir-to-asm/src/compiler/compiler_rv64.rs:1577
↓ 11 callersMethodlower_block
(&mut self, ir_program: &mut IrProgram, block: &Block)
crates/hll-to-ir/src/compiler/compiler/control_flow.rs:41
↓ 11 callersMethodlower_value_for_type
Lower an expression, folding a bare or negated integer literal to a typed immediate of the target width so `x: i64 = -1` works without a cast.
crates/hll-to-ir/src/compiler/compiler/literals.rs:528
↓ 11 callersMethodname
(&self)
crates/asm-to-binary/src/assembler/section.rs:22
↓ 11 callersMethodpath
(name: impl Into<String>, path: impl Into<PathBuf>)
src/build.rs:191
↓ 11 callersFunctionread_u64
(bytes: &[u8], offset: usize)
tests/integration/linker.rs:52
↓ 11 callersFunctionreject
(src: &str, fragment: &str)
tests/integration/compiler_undefined_var.rs:8
↓ 11 callersMethodresult_reg_for
The register an instruction result is computed into: the dest's assigned physical register, or a fresh scratch temp for slot-based dests.
crates/ir-to-asm/src/compiler/compiler_rv64.rs:1429
↓ 11 callersMethodrewrite_expr_uses
( &mut self, expression: &mut Expression, expected: Option<&Type>, env: &mut H
crates/hll-to-ir/src/monomorphize.rs:1644
↓ 11 callersFunctionrewrite_expression_calls
( expression: &mut Expression, substitutions: &Substitutions, definitions: &HashMap<String, Declar
crates/hll-to-ir/src/monomorphize.rs:744
↓ 11 callersFunctionrewrite_type
(ty: &mut Type, aliases: &HashMap<String, ModuleAlias>)
crates/hll-to-ir/src/imports.rs:378
↓ 11 callersMethodset_entry_point
(&mut self, entry: Option<String>)
src/compilation_pipeline.rs:295
↓ 11 callersMethodset_target_mode
(&mut self, mode: TargetMode)
src/compilation_pipeline.rs:291
↓ 11 callersFunctionu64_le
(buf: &[u8], off: usize)
crates/asm-to-binary/tests/elf_output.rs:32
↓ 10 callersMethodall_programs
(&self)
src/view/program_catalog.rs:727
↓ 10 callersFunctionassemble_and_run
Assemble instructions, run in VM, return the VM (for peeking) and the outcome.
tests/integration/vm_execution.rs:725
↓ 10 callersMethodcheck_rparen
(&self)
crates/hll-to-ir/src/parser.rs:1745
↓ 10 callersFunctionecall
ecall -> syscall
crates/virtual-machine/tests/vm_pipeline.rs:104
↓ 10 callersMethodencode
(&self)
crates/asm-to-binary/src/real.rs:396
↓ 10 callersFunctionfp_flags_from_exact_s
Derive fflags for an f32 operation given the exact result (`exact`, computed in f64) and the rounded f32 result. Handles OF, UF, NX. NV must be dete
crates/virtual-machine/src/cpu/alu.rs:355
↓ 10 callersFunctioninfer_expression_calls
( expression: &mut Expression, environment: &HashMap<String, Type>, generic_signatures: &HashMap<S
crates/hll-to-ir/src/monomorphize.rs:329
↓ 10 callersFunctionload_program
Write a sequence of 32-bit little-endian instruction words into the bus starting at `base`, then return a Pipeline ready to run them.
crates/virtual-machine/tests/vm_pipeline.rs:18
↓ 10 callersMethodmark_entry_global
Mark `entry_symbol` as a global export if it is present in the symbol table but not yet in `global_symbols`. This ensures the ELF symtab advertises t
crates/asm-to-binary/src/assembler/output.rs:1007
↓ 10 callersMethodop_or_compound
Return the compound-assign token if the operator is followed by `=`, otherwise the plain operator token.
crates/hll-to-ir/src/lexer.rs:391
↓ 10 callersMethodpush_uart_rx
(&mut self, byte: u8)
crates/virtual-machine/src/virtual_machine.rs:265
↓ 10 callersMethodread_f_bits
(&self, reg: usize)
crates/virtual-machine/src/cpu/registers.rs:50
↓ 10 callersFunctionreg
(name: &str)
crates/ir-to-asm/src/compiler/slot_coloring.rs:355
↓ 10 callersFunctionreg_for_arg
(i: usize)
crates/ir-to-asm/src/compiler/compiler_rv64.rs:1762
↓ 10 callersMethodregister_type
(&mut self, name: impl Into<String>, ty: IrType)
crates/hll-to-ir/src/compiler/utility/type_context.rs:57
↓ 10 callersMethodresolve
(&self, name: &str)
crates/asm-to-binary/src/assembler/symbol_table.rs:27
↓ 10 callersMethodresolve_named_ir_type
(&self, ty: &IrType)
crates/hll-to-ir/src/compiler/utility/semantic_analyzer.rs:1895
↓ 10 callersMethodrestore_env
(&mut self, snapshot: HashMap<String, IrValue>)
crates/hll-to-ir/src/compiler/utility/lowering_context.rs:84
↓ 10 callersMethodrewrite_expr_types
(&mut self, expression: &mut Expression)
crates/hll-to-ir/src/monomorphize.rs:1446
↓ 10 callersMethodrewrite_type
Rewrite a type in place: a generic-enum instantiation becomes its mangled name.
crates/hll-to-ir/src/monomorphize.rs:1266
↓ 10 callersFunctionrun_n
Run at most `max` cycles, returning the tick outcome.
crates/virtual-machine/tests/vm_pipeline.rs:27
↓ 10 callersMethodset_link_layout
(&mut self, layout: Option<LinkLayout>)
src/compilation_pipeline.rs:299
↓ 10 callersFunctionsubstitute_expression_types
(expression: &mut Expression, substitutions: &Substitutions)
crates/hll-to-ir/src/monomorphize.rs:927
↓ 10 callersFunctionterm_text
()
src/machine_window.rs:23
↓ 10 callersFunctiontranslate
Backwards-compatible wrapper keeping the original `translate()` signature. Calls the extended translator with PMP disabled (pmpcfg0=0, pmpaddr0=0).
crates/virtual-machine/src/cpu/mmu.rs:337
↓ 10 callersMethodtype_size
(&self, ty: &IrType)
crates/ir-to-asm/src/compiler/compiler_rv64.rs:1752
↓ 10 callersMethodtype_size_in_bytes
(&self, ty: &IrType)
crates/hll-to-ir/src/compiler/compiler/utils.rs:108
↓ 9 callersMethodeffective_entry_point
The effective entry-point symbol given the current configuration.
src/compilation_pipeline.rs:275
↓ 9 callersMethodemit_sd
(&mut self, base: Reg, src: Reg, offset: i32)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:190
← previousnext →101–200 of 2,899, ranked by callers