MCPcopy Create free account

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

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

↓ 6 callersMethodrewrite_block_types
(&mut self, block: &mut Block)
crates/hll-to-ir/src/monomorphize.rs:1393
↓ 6 callersMethodrewrite_block_uses
(&mut self, block: &mut Block, env: &mut HashMap<String, Type>)
crates/hll-to-ir/src/monomorphize.rs:1571
↓ 6 callersMethodstats
(&self)
crates/virtual-machine/src/cpu.rs:43
↓ 6 callersFunctionstyle
()
tests/integration/highlighter.rs:3
↓ 6 callersFunctionsubstitute_block_types
(block: &mut Block, substitutions: &Substitutions)
crates/hll-to-ir/src/monomorphize.rs:871
↓ 6 callersMethodsymbols_iter
Iterate all symbols as `(name, section-relative address)` pairs.
crates/asm-to-binary/src/assembler/output.rs:118
↓ 6 callersMethodto_flat_binary
Produce a raw flat binary: all sections packed in load order (non-BSS first, then BSS as zeros). No ELF headers are included. Suitable for bootloade
crates/asm-to-binary/src/assembler/output.rs:898
↓ 6 callersFunctiontokens_of
(src: &str)
crates/hll-to-ir/src/parser.rs:3064
↓ 6 callersMethodtype_alignment_in_bytes
(&self, ty: &IrType)
crates/hll-to-ir/src/compiler/compiler/utils.rs:142
↓ 6 callersFunctionu16_le
(buf: &[u8], off: usize)
crates/asm-to-binary/tests/elf_output.rs:26
↓ 6 callersMethodwarn
(&mut self, message: impl Into<String>)
crates/hll-to-ir/src/compiler/utility/diagnostics.rs:71
↓ 6 callersMethodwrite_reg
Record that `rd` is being overwritten, invalidating stale knowledge. Writing `sp` shifts every slot, so it clears everything.
crates/ir-to-asm/src/compiler/peephole.rs:72
↓ 5 callersFunctionaccept
(src: &str)
tests/integration/compiler_undefined_var.rs:23
↓ 5 callersMethodaccumulate_fflags
ORs `flags` into the accrued floating-point flags (fflags).
crates/virtual-machine/src/cpu/csr.rs:293
↓ 5 callersFunctionalign_up_to
(v: u64, align: u64)
crates/asm-to-binary/src/assembler/output.rs:197
↓ 5 callersFunctionalloc_for
(func: &IrFunction)
crates/ir-to-asm/src/compiler/register_allocator.rs:157
↓ 5 callersFunctionappend_hll_code_part
(job: &mut LayoutJob, theme: &egui::Style, code_part: &str)
src/view/common/highlighter/hll.rs:41
↓ 5 callersFunctionas_const_int
Read an operand as an integer constant. Bool and Null are integer-valued.
crates/hll-to-ir/src/compiler/opt/const_fold.rs:173
↓ 5 callersFunctionassert_user_exit_ok
A hosted user program injected as pid 1 must spawn and exit with code 0.
tests/integration/kernel_integration.rs:136
↓ 5 callersMethodblock
(&mut self, block: &mut Block)
crates/hll-to-ir/src/imports.rs:817
↓ 5 callersFunctionbuilt_in_programs
()
src/view/program_catalog.rs:202
↓ 5 callersFunctioncollect_module_imports
The qualified module bindings a unit declares, as `(alias, path)` in source order (its `alias := import("path")` / `const alias = import("path")` decl
crates/hll-to-ir/src/imports.rs:48
↓ 5 callersMethodcommit_canonical_result
Like `commit_int_result`, but skips width normalization for results already in canonical sign-extended form (e.g. comparison results, always 0 or 1).
crates/ir-to-asm/src/compiler/compiler_rv64.rs:1456
↓ 5 callersMethodcompile_program
(&mut self, program: &Program)
crates/hll-to-ir/src/compiler/compiler.rs:151
↓ 5 callersMethodcurrent_program_mut
(&mut self)
src/view/program_catalog.rs:596
↓ 5 callersMethodemit_load_typed
Typed load from `offset(addr_reg)` directly into an integer register.
crates/ir-to-asm/src/compiler/assembly_emitter.rs:533
↓ 5 callersMethodemit_seqz
(&mut self, rd: Reg, rs: Reg)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:388
↓ 5 callersMethodemit_sltu
(&mut self, rd: Reg, rs1: Reg, rs2: Reg)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:243
↓ 5 callersFunctionerror_to_trap_cause
Map a `VmError` to a trap cause/tval pair. Returns `Some((cause, tval))` if the error should trigger a trap, or `None` if it is a fatal error that can
crates/virtual-machine/src/cpu/traps.rs:128
↓ 5 callersFunctionextract_interface
Render `source`'s exported interface as HLL suitable for prepending to an importer: `type`/`const`/`struct`/`enum` verbatim, `fn`/global as `external`
crates/hll-to-ir/src/imports.rs:991
↓ 5 callersFunctionfetch
Backwards-compatible wrapper: old callers without PMP info should use this. Uses a throwaway TLB, so it never benefits from caching (test/diagnostic u
crates/virtual-machine/src/cpu/pipeline/fetch.rs:36
↓ 5 callersMethodflush_and_trap
(&mut self, e: VmError, pc: u64)
crates/virtual-machine/src/cpu/pipeline.rs:751
↓ 5 callersMethodgroup_ids
Catalog entry ids (top-level, in display order) matching `pred`.
src/app/catalog.rs:193
↓ 5 callersFunctioni32_ty
()
crates/hll-to-ir/src/compiler/opt/mod.rs:73
↓ 5 callersFunctioni_imm
I-type immediate: bits[31:20], sign-extended to 64 bits.
crates/virtual-machine/src/cpu/decoder.rs:896
↓ 5 callersMethodis_custom
(&self)
src/view/program_catalog.rs:174
↓ 5 callersMethodis_numeric
(&self, ty: &str)
crates/hll-to-ir/src/compiler/utility/type_context.rs:334
↓ 5 callersFunctionlit_math
(dest: &str, lhs: i64, rhs: i64)
crates/ir-to-asm/src/compiler/register_allocator.rs:147
↓ 5 callersFunctionlit_math
(dest: &str, lhs: i64, rhs: i64)
crates/ir-to-asm/src/compiler/slot_coloring.rs:359
↓ 5 callersFunctionload32
Helper to produce the lui+addi sequence for a 32-bit constant
crates/asm-to-binary/src/pseudo.rs:421
↓ 5 callersMethodmatch_gt
(&mut self)
crates/hll-to-ir/src/parser.rs:2193
↓ 5 callersMethodmnemonic
(&self)
crates/virtual-machine/src/cpu/decoder.rs:143
↓ 5 callersMethodparse
Parse an ELF-64 image from raw bytes # Returns Parsed ELF structure or error if the format is invalid
crates/virtual-machine/src/elf_parser.rs:29
↓ 5 callersFunctionparse_fixture
(file_name: &str)
crates/hll-to-ir/src/hll_compiler.rs:408
↓ 5 callersFunctionpass_fail_ir
Build a minimal pass/fail IR program around an entry block. `entry` must not yet have a terminator; this adds the branch, a pass block (return 0), and
tests/integration/vm_execution.rs:83
↓ 5 callersMethodpeek_pc
(&self)
crates/virtual-machine/src/cpu.rs:71
↓ 5 callersMethodpreserve_param_registers
(&self)
crates/ir-to-asm/src/compiler/function_context.rs:164
↓ 5 callersFunctionrd_u64
(vm: &VirtualMachine, pa: u64)
src/view/debug/fs_view.rs:78
↓ 5 callersMethodread
(&self, addr: u16)
crates/virtual-machine/src/cpu/csr.rs:132
↓ 5 callersMethodread_byte
(&mut self, addr: u64)
crates/virtual-machine/src/bus.rs:281
↓ 5 callersMethodread_doubleword
(&mut self, addr: u64)
crates/virtual-machine/src/memory/ram.rs:74
↓ 5 callersFunctionread_u32_at
(buf: &[u8], off: usize)
crates/asm-to-binary/src/object_linker.rs:398
↓ 5 callersFunctionreg
(name: &str)
crates/ir-to-asm/src/compiler/stack_slots.rs:235
↓ 5 callersMethodrender_catalog_group
Render one collapsible intent group. For a program with child modules, left-click selects it and right-click reveals or hides the modules.
src/app/catalog.rs:204
↓ 5 callersFunctionrewrite_continue_with_step
Rewrite each `continue` in `stmts` (but not inside nested loops) to run the loop `step` first, so a `for`-loop desugared to `while` still advances its
crates/hll-to-ir/src/compiler/compiler/control_flow.rs:10
↓ 5 callersFunctionrewrite_qualified_access
Rewrite `alias.member` / `alias.member(args)` to the flat export reference, validating each member against `aliases` (alias -> exported names). See `_
crates/hll-to-ir/src/imports.rs:326
↓ 5 callersFunctionrun
Eliminate dead instructions in `func`. Returns true if anything changed.
crates/hll-to-ir/src/compiler/opt/dce.rs:17
↓ 5 callersFunctionrun_block
(instructions: Vec<IrInstruction>)
crates/hll-to-ir/src/compiler/opt/const_fold.rs:291
↓ 5 callersFunctionrun_hll_file
(path: &str)
tests/integration/vm_execution.rs:107
↓ 5 callersFunctionrun_hll_via_qemu
Compile HLL and run through QEMU in one step.
tests/integration/qemu_execution.rs:322
↓ 5 callersFunctionsanitize_artifact_component
(value: &str)
src/compilation_pipeline.rs:1390
↓ 5 callersMethodset_register_allocation
Enable or disable physical register allocation in the RV64 backend: hot scalar values are kept in callee-saved registers (s2-s11) instead of stack slo
src/compilation_pipeline.rs:609
↓ 5 callersMethodswitch_section
--- Section, label, and comment utilities ---
crates/ir-to-asm/src/compiler/assembly_emitter.rs:63
↓ 5 callersMethodtake_trap
(&mut self, cause: u64, tval: u64, pc: u64)
crates/virtual-machine/src/cpu/pipeline.rs:758
↓ 5 callersMethodtype_for_reg
(&self, reg: &IrRegister)
crates/ir-to-asm/src/compiler/function_context.rs:176
↓ 5 callersMethodvariant_payload_layout
Absolute byte offset + IR type of each payload slot, relative to the enum base.
crates/hll-to-ir/src/compiler/compiler/enums.rs:239
↓ 5 callersMethodwrite_doubleword
(&mut self, addr: u64, data: u64)
crates/virtual-machine/src/memory/ram.rs:104
↓ 5 callersFunctionwrite_u32_at
(buf: &mut [u8], off: usize, word: u32)
crates/asm-to-binary/src/object_linker.rs:412
↓ 5 callersMethodwrite_word
(&mut self, addr: u64, value: u32)
crates/virtual-machine/tests/vm_mmu.rs:73
↓ 4 callersFunctionadd
add rd, rs1, rs2 -> opcode=0x33, funct3=0, funct7=0
crates/virtual-machine/tests/vm_pipeline.rs:51
↓ 4 callersMethodaggregate_field_offset_and_type
( &self, fields: &[(String, IrType)], field: &str, )
crates/hll-to-ir/src/compiler/compiler/utils.rs:53
↓ 4 callersFunctionappend_inline_asm_code_part
(job: &mut LayoutJob, theme: &egui::Style, code_part: &str)
src/view/common/highlighter/hll.rs:191
↓ 4 callersFunctionarg_reg
Return the argument register for the given index (a0-a7).
crates/ir-to-asm/src/compiler/function_context.rs:426
↓ 4 callersMethodasm
(&self)
src/view/compilation_state.rs:51
↓ 4 callersFunctionassign_stack_slots
Reserve stack slots for every virtual register. See _IR_SPECIFICATIONS.md for layout details. Alloc dests get dedicated full-size slots; hot scalar r
crates/ir-to-asm/src/compiler/stack_slots.rs:15
↓ 4 callersMethodbool
Decode a boolean-valued key, if present.
crates/build-manifest/src/lib.rs:64
↓ 4 callersFunctioncached_stdlib_objs
The hosted stdlib is identical for every VM-execution test, so compile and assemble it exactly once for the whole suite and link each user program aga
tests/integration/vm_execution.rs:22
↓ 4 callersFunctioncapture
Walk the FS image from the root directory (inode 0). Returns `None` if the FS is not mounted yet or the superblock magic does not match.
src/view/debug/fs_view.rs:166
↓ 4 callersFunctioncheck_asm_in_block
(block: &Block, diags: &mut Vec<Diagnostic>)
crates/hll-to-ir/src/hll_compiler.rs:274
↓ 4 callersMethodcheck_contextual_struct_literal
( &mut self, fields: &[FieldInit], expected: &IrType, )
crates/hll-to-ir/src/compiler/utility/semantic_analyzer.rs:1348
↓ 4 callersMethodcheck_gt_or_shr
(&self)
crates/hll-to-ir/src/parser.rs:1753
↓ 4 callersMethodcompile
Lex, parse, (optionally) analyse, and lower `source` to IR. Returns `Err` only on hard failures (lex errors, parse errors, IR lowering errors). Warn
crates/hll-to-ir/src/hll_compiler.rs:85
↓ 4 callersFunctioncompile_object
(source: &str)
tests/integration/linker.rs:21
↓ 4 callersMethodcompile_with_tokens
Compile and return both the text assembly and the structured token stream.
crates/ir-to-asm/src/compiler/compiler_rv64.rs:76
↓ 4 callersMethodcreate_specialized_name
(&self, name: &str, type_args: &[IrType])
crates/hll-to-ir/src/compiler/compiler/types.rs:57
↓ 4 callersMethodcurrent_artifact_stem
(&self)
src/compilation_pipeline.rs:629
↓ 4 callersFunctiondecl_name
The declared name of a declaration, if it has one.
crates/hll-to-ir/src/imports.rs:127
↓ 4 callersMethoddiagnostics
(&self)
crates/hll-to-ir/src/compiler/compiler/utils.rs:177
↓ 4 callersMethoddrain_output
(&mut self)
crates/virtual-machine/src/devices/uart.rs:69
↓ 4 callersMethoddraw_buffer
The buffer the guest currently draws into and reads from.
crates/virtual-machine/src/devices/framebuffer.rs:60
↓ 4 callersMethodeffective_load_base
Effective load base address (shorthand for `effective_link_layout().load_base`).
src/compilation_pipeline.rs:270
↓ 4 callersMethodemit_load_from_slot
--- Typed memory helpers ---
crates/ir-to-asm/src/compiler/assembly_emitter.rs:557
↓ 4 callersMethodemit_parameter_spills_from_index
Spill parameters from `start_index` onward into their stack slots. `start_header` is emitted before the spills when there is at least one; `empty_hea
crates/ir-to-asm/src/compiler/function_context.rs:334
↓ 4 callersMethodemit_slt
(&mut self, rd: Reg, rs1: Reg, rs2: Reg)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:246
↓ 4 callersMethodemit_sub
(&mut self, rd: Reg, rs1: Reg, rs2: Reg)
crates/ir-to-asm/src/compiler/assembly_emitter.rs:210
↓ 4 callersMethodensure_consistency
(&mut self)
src/view/program_catalog.rs:528
↓ 4 callersMethodexpect_rbracket
(&mut self)
crates/hll-to-ir/src/parser.rs:1661
↓ 4 callersFunctionfetch_with_pmp
( bus: &mut SystemBus, pc: u64, satp: u64, priv_mode: PrivilegeMode, mstatus: u64, pmp
crates/virtual-machine/src/cpu/pipeline/fetch.rs:12
↓ 4 callersMethodfinish_tokens
Returns the structured token stream collected in parallel with the text output.
crates/ir-to-asm/src/compiler/assembly_emitter.rs:848
↓ 4 callersFunctionflags_binary_d
(a: f64, b: f64, result: f64)
crates/virtual-machine/src/cpu/alu.rs:373
← previousnext →301–400 of 2,899, ranked by callers