MCPcopy Create free account

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

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

↓ 2 callersMethodwrite_word
(&mut self, addr: u64, data: u32)
crates/virtual-machine/src/memory/cache.rs:349
↓ 2 callersFunctionxor
(a: u64, b: u64)
crates/virtual-machine/src/cpu/alu.rs:84
↓ 1 callersMethodadd_bss_symbol
(&mut self, name: &str, size: usize, align: usize, exported: bool)
crates/ir-to-asm/src/compiler/data_section.rs:40
↓ 1 callersMethodadd_data_symbol
( &mut self, name: &str, size: usize, align: usize, init: &[u8],
crates/ir-to-asm/src/compiler/data_section.rs:49
↓ 1 callersMethodadd_global_string
(&mut self, s: &IrGlobalString)
crates/ir-to-asm/src/compiler/data_section.rs:24
↓ 1 callersMethodadd_type_alias
No-op; type aliases are not emitted to assembly.
crates/ir-to-asm/src/compiler/data_section.rs:38
↓ 1 callersFunctionalign_up
Align a value up to the nearest multiple of alignment
crates/virtual-machine/src/elf_parser.rs:134
↓ 1 callersMethodalloc_slot_for_reg
Allocate a stack slot for a virtual register.
crates/ir-to-asm/src/compiler/function_context.rs:73
↓ 1 callersFunctionallocate_registers
Assign physical registers to eligible virtual registers; leftovers go to slot-coloring.
crates/ir-to-asm/src/compiler/register_allocator.rs:15
↓ 1 callersFunctionamo_op
( bus: &mut SystemBus, funct5: u8, funct3: u8, addr: u64, val: u64, )
crates/virtual-machine/src/cpu/pipeline/memory.rs:406
↓ 1 callersFunctionappend_uart_bytes
Append UART output bytes to the console buffer, interpreting the control codes a terminal cares about. Backspace (0x08) erases the previous character
src/machine_window.rs:1016
↓ 1 callersFunctionasm_text_to_tokens
Wrap each line of assembly text in a `Directive` token. The assembler's pass-0 parser recognises labels (`name:`), section directives (`.text`, `.asc
src/cli/main.rs:466
↓ 1 callersFunctionassemble_from_hll_file
Compile an HLL source file with the stdlib and return assembled output.
src/cli/main.rs:369
↓ 1 callersFunctionassemble_from_manifest_file
(path: &str)
src/cli/main.rs:374
↓ 1 callersFunctionassemble_from_s_file
Parse a `.s` text file as assembly tokens, link with stdlib, and assemble.
src/cli/main.rs:388
↓ 1 callersFunctionassert_semantic_error
(source: &str, fragment: &str)
tests/integration/ir_generation.rs:28
↓ 1 callersFunctionassign_colored_slots
Assign stack slots to every value register that still needs one (Alloc destinations excluded).
crates/ir-to-asm/src/compiler/slot_coloring.rs:9
↓ 1 callersMethodassign_phys_reg
Assign a physical register to a virtual register (register allocation).
crates/ir-to-asm/src/compiler/function_context.rs:142
↓ 1 callersMethodassign_target
(&mut self, target: &mut AssignTarget)
crates/hll-to-ir/src/imports.rs:962
↓ 1 callersMethodast_type_to_ir_type_inner
(&self, ty: &Type, active: &mut HashSet<String>)
crates/hll-to-ir/src/compiler/utility/semantic_analyzer.rs:1451
↓ 1 callersFunctionauto_grid_columns_with_min_width
Calculates responsive column count based on minimum column width. Returns a value between `min_cols` and `max_cols` based on available width.
src/view/layout.rs:34
↓ 1 callersFunctionb_imm
B-type immediate: [31]<<12 | [7]<<11 | [30:25]<<5 | [11:8]<<1, sign-extended to 13 bits.
crates/virtual-machine/src/cpu/decoder.rs:914
↓ 1 callersMethodbadge
Runnability classification for the catalog badge + grouping.
src/view/program_catalog.rs:191
↓ 1 callersMethodbegin_function
(&mut self, name: &str)
crates/hll-to-ir/src/compiler/utility/lowering_context.rs:44
↓ 1 callersMethodbind_scalar_value
Bind a scalar catch-all name to a fresh slot holding the scrutinee value, following the normal pointer-to-slot local convention.
crates/hll-to-ir/src/compiler/compiler/enums.rs:618
↓ 1 callersMethodbind_variant_payload
Load each payload slot into a fresh local named after its pattern binding (`_` discards). The binding's slot follows the normal local convention.
crates/hll-to-ir/src/compiler/compiler/enums.rs:724
↓ 1 callersFunctionblank_custom_program_source
()
src/view/mod.rs:35
↓ 1 callersFunctionblank_custom_program_source
()
src/view/program_catalog.rs:500
↓ 1 callersFunctionbne
bne rs1, rs2, imm
crates/virtual-machine/tests/vm_pipeline.rs:87
↓ 1 callersMethodbss_bytes
(&self)
crates/asm-to-binary/src/assembler/output.rs:66
↓ 1 callersMethodbuild_boot_fs_image
Build the filesystem image the shell boots with: a `/home` directory and, if a program is selected for injection, that program stored there as a runna
src/app/mod.rs:931
↓ 1 callersFunctionbuild_log_job
(text: &str, cursor: bool)
src/machine_window.rs:1167
↓ 1 callersMethodcache_snapshots
Full cache snapshots (params + per-line state + stats) for the cache view. Only call this from the render path - it allocates ~1.3MB for L3.
src/view/debug/mod.rs:360
↓ 1 callersFunctioncached_stdlib_objs
Compile the hosted stdlib once (per module, no concatenation) and link every user program against the objects.
tests/integration/hll_conformance.rs:18
↓ 1 callersFunctioncapture
Walk the scheduler from guest memory and decode every live PCB. Read-only: uses `peek_bytes_raw`, so it never perturbs cache state or the run loop.
src/view/debug/os_view.rs:151
↓ 1 callersMethodcatalog_build_resolver
(&self)
src/app/mod.rs:658
↓ 1 callersMethodcatalog_ui
(&mut self, ui: &mut egui::Ui)
src/app/catalog.rs:17
↓ 1 callersFunctionchar_index_of_line_start
Char index of the first character on `line` (1-based) within `text`, clamped to the text length. Used to place the editor cursor when a diagnostic is
src/view/ide/source_view.rs:11
↓ 1 callersFunctioncheck_asm_in_stmt
(stmt: &Statement, diags: &mut Vec<Diagnostic>)
crates/hll-to-ir/src/hll_compiler.rs:280
↓ 1 callersFunctioncheck_asm_lines
(lines: &[String], diags: &mut Vec<Diagnostic>)
crates/hll-to-ir/src/hll_compiler.rs:299
↓ 1 callersMethodcheck_binary_op
Type check a binary operation and return the result type or error
crates/hll-to-ir/src/compiler/utility/type_context.rs:75
↓ 1 callersMethodcheck_contextual_array_literal
Check an array literal against a declared array type. Bare struct literal elements are checked contextually; other elements must match the element typ
crates/hll-to-ir/src/compiler/utility/semantic_analyzer.rs:1405
↓ 1 callersMethodcheck_declaration
(&mut self, decl: &Declaration)
crates/hll-to-ir/src/compiler/utility/semantic_analyzer.rs:196
↓ 1 callersFunctioncheck_freestanding_asm
(program: &Program)
crates/hll-to-ir/src/hll_compiler.rs:237
↓ 1 callersMethodcheck_if
(&self)
crates/hll-to-ir/src/parser.rs:1733
↓ 1 callersMethodcheck_literal_pattern
A literal `match` pattern must fold to an integer (char and bool included).
crates/hll-to-ir/src/compiler/utility/semantic_analyzer.rs:1195
↓ 1 callersMethodcheck_match
Type-check a `match`: the scrutinee must be an enum, every arm pattern must be a valid variant of it (payload arity respected), and the arms must be e
crates/hll-to-ir/src/compiler/utility/semantic_analyzer.rs:1013
↓ 1 callersMethodcheck_pending_interrupt
Check whether a pending interrupt should be taken right now. Returns `Some((cause, tval, pc))` when an interrupt is ready to fire. Priority order per
crates/virtual-machine/src/cpu/pipeline.rs:809
↓ 1 callersMethodcheck_scalar_match
Type-check a scalar `match`: integer scrutinee, integer/char literal arms plus a required catch-all (the domain cannot be enumerated).
crates/hll-to-ir/src/compiler/utility/semantic_analyzer.rs:1102
↓ 1 callersMethodcheck_statement
(&mut self, stmt: &Statement)
crates/hll-to-ir/src/compiler/utility/semantic_analyzer.rs:244
↓ 1 callersMethodcheck_try
(&mut self, expr: &Expression)
crates/hll-to-ir/src/compiler/utility/semantic_analyzer.rs:942
↓ 1 callersMethodcheck_unary_op
Type check a unary operation
crates/hll-to-ir/src/compiler/utility/type_context.rs:249
↓ 1 callersMethodcheck_variant_pattern
Validate one `Variant(bindings)` arm and bind its payload slots as locals.
crates/hll-to-ir/src/compiler/utility/semantic_analyzer.rs:1206
↓ 1 callersFunctionclassify
(real: &RealInstruction)
crates/ir-to-asm/src/compiler/peephole.rs:203
↓ 1 callersMethodclear_irq
(&mut self, source: u32)
crates/virtual-machine/src/devices/plic.rs:44
↓ 1 callersMethodclone_box
(&self)
src/view/ide/cfg_view.rs:98
↓ 1 callersFunctioncmd_hll_to_asm
(args: &Args)
src/cli/main.rs:300
↓ 1 callersFunctioncmd_hll_to_ir
(args: &Args)
src/cli/main.rs:274
↓ 1 callersFunctioncmd_link
(args: &Args)
src/cli/main.rs:202
↓ 1 callersFunctioncmd_run
(args: &Args)
src/cli/main.rs:337
↓ 1 callersFunctioncollect_assign_target_refs
(target: &AssignTarget, refs: &mut HashSet<String>)
crates/hll-to-ir/src/imports.rs:306
↓ 1 callersFunctioncollect_bare_references
Every bare identifier and unqualified call name in `source` (qualified `alias.member` and inline `asm` surface no member name); intersect with a modul
crates/hll-to-ir/src/imports.rs:144
↓ 1 callersFunctioncollect_build_files
(dir: &Path, out: &mut Vec<PathBuf>)
build.rs:134
↓ 1 callersFunctioncollect_build_files
(dir: &std::path::Path, out: &mut Vec<std::path::PathBuf>)
src/build.rs:572
↓ 1 callersFunctioncollect_console_input
Translate this frame's keyboard events into bytes for the VM's UART receive buffer. Printable ASCII comes through `Text` events; Enter/Backspace/Tab a
src/machine_window.rs:1034
↓ 1 callersFunctioncollect_ctrl_bytes
Collect this frame's Ctrl+letter presses as control-character bytes (`0x01`-`0x1A`). Used by the framebuffer view to forward Ctrl-C to the UART (where
src/machine_window.rs:1080
↓ 1 callersFunctioncollect_hll_files
Recursively collect all .hll files from a directory tree
tests/integration/compiler_suite.rs:13
↓ 1 callersFunctioncollect_hll_files
Recursively collect all .hll files from a directory tree
tests/integration/assembly_golden_suite.rs:13
↓ 1 callersFunctioncollect_hll_fixtures
(root: &Path)
tests/integration/integration_fixtures.rs:7
↓ 1 callersFunctioncollect_hll_fixtures
(root: &Path)
crates/hll-to-ir/src/hll_compiler.rs:359
↓ 1 callersMethodcollect_import_closure
Post-order DFS of the qualified-import graph; each module's `(name, source)` is pushed after its dependencies, and a revisit of an in-progress module
src/compilation_pipeline.rs:1112
↓ 1 callersFunctioncollect_inst_uses
(inst: &IrInstruction, used: &mut HashSet<IrRegister>)
crates/hll-to-ir/src/compiler/opt/dce.rs:75
↓ 1 callersFunctioncollect_key_events
Collect this frame's key press/release events as `(scancode, pressed)` pairs for the VM keyboard device. Only keys with a known scancode are forwarded
src/machine_window.rs:1151
↓ 1 callersFunctioncollect_ordered_kinds
Collect all distinct section kinds present across all modules, in canonical ELF load order: Text, `RoData`, Data, Custom(k), Bss.
crates/asm-to-binary/src/object_linker.rs:298
↓ 1 callersFunctioncollect_primary_refs
(primary: &PrimaryExpr, refs: &mut HashSet<String>)
crates/hll-to-ir/src/imports.rs:244
↓ 1 callersFunctioncollect_rs_files
(dir: &Path, files: &mut Vec<PathBuf>)
build.rs:38
↓ 1 callersFunctioncollect_sections
(assembled: &AssembledOutput, load_base: u64)
src/view/ide/memory_map_view.rs:42
↓ 1 callersMethodcollect_signatures
(&mut self, program: &Program)
crates/hll-to-ir/src/monomorphize.rs:1303
↓ 1 callersFunctioncollect_source_files
Walk `programs/` and record every `.hll` keyed by its forward-slash, repo-relative path. These back WASM-safe relative-import resolution where the fil
build.rs:86
↓ 1 callersFunctioncollect_term_uses
(term: &IrTerminator, used: &mut HashSet<IrRegister>)
crates/hll-to-ir/src/compiler/opt/dce.rs:127
↓ 1 callersFunctioncollect_used_registers
(func: &IrFunction)
crates/hll-to-ir/src/compiler/opt/dce.rs:56
↓ 1 callersFunctioncollect_vregs_from_instruction
Record the destination register (and its type) of every value-producing instruction so the coloring pass can size and share its slot.
crates/ir-to-asm/src/compiler/stack_slots.rs:83
↓ 1 callersFunctioncollect_vregs_from_terminator
Record registers a terminator reads so they are guaranteed a slot.
crates/ir-to-asm/src/compiler/stack_slots.rs:183
↓ 1 callersFunctioncompile_and_link
Compile HLL source -> IR -> tokens, then link with stdlib and assemble.
src/cli/main.rs:411
↓ 1 callersMethodcompile_function
(&mut self, func: &hll_to_ir::IrFunction)
crates/ir-to-asm/src/compiler/compiler_rv64.rs:135
↓ 1 callersMethodcompile_inner
(&mut self, program: &IrProgram)
crates/ir-to-asm/src/compiler/compiler_rv64.rs:97
↓ 1 callersMethodcompile_kernel_with_modules
(&mut self)
src/app/mod.rs:531
↓ 1 callersFunctioncompile_omit_fp
(program: &IrProgram)
tests/integration/rv64_codegen.rs:19
↓ 1 callersFunctioncompile_to_asm
Compile HLL source -> assembly text, stripping inline comments so the assembly can be passed safely through a shell heredoc. Uses two-stage compilatio
tests/integration/qemu_execution.rs:32
↓ 1 callersFunctioncompile_to_elf
Compile HLL source to the final assembled output and export it as an ELF image ready for qemu-riscv64. Uses two-stage compilation: compile stdlib and
tests/integration/qemu_execution.rs:159
↓ 1 callersFunctioncompiled_stdlib
Compile the kernel stdlib + modules as independent per-module objects (no concatenation).
crates/os-runtime/tests/boot.rs:151
↓ 1 callersFunctioncompute_forwarding
Compute the actual rs1/rs2/frs1/frs2 values for the EX stage, applying forwarding from EX/MEM and MEM/WB registers where appropriate. Priority: EX/ME
crates/virtual-machine/src/cpu/hazard_unit.rs:131
↓ 1 callersMethodconstructor_call_target
A payload-variant constructor call (`Some(x)`). Returns the mangled variant name and the concrete payload types to use as expected types for arguments
crates/hll-to-ir/src/monomorphize.rs:1749
↓ 1 callersMethodcontains
Quick check whether an address falls inside this ROM.
crates/virtual-machine/src/memory/rom.rs:23
↓ 1 callersMethodcopy_bytes_from_addr_to_addr
( &mut self, dst_addr: Reg, dst_offset: i32, src_addr: Reg, src_offset
crates/ir-to-asm/src/compiler/assembly_emitter.rs:782
↓ 1 callersFunctioncount_uses
Static use+def occurrence count per register; the allocation priority.
crates/ir-to-asm/src/compiler/register_allocator.rs:112
↓ 1 callersMethodcreate_blank_program
(&mut self)
src/view/program_catalog.rs:694
↓ 1 callersFunctioncsr_table
(ui: &mut Ui, cpu: &CpuSnapshot, num_cols: usize)
src/view/debug/cpu_state_view.rs:231
↓ 1 callersMethodcycle_for_row
Display cycle number for waterfall row `row`.
src/view/debug/snapshot.rs:84
↓ 1 callersMethoddata_bytes
(&self)
crates/asm-to-binary/src/assembler/output.rs:58
← previousnext →801–900 of 2,899, ranked by callers