MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / assemble

Method assemble

src/compilation_pipeline.rs:954–959  ·  view source on GitHub ↗
(&self, tokens: &[RvInstruction])

Source from the content-addressed store, hash-verified

952 #[track_caller]
953 pub fn compile_ir_to_assembly_with_tokens(
954 &self,
955 ir: &IrProgram,
956 ) -> (String, Vec<RvInstruction>) {
957 let mut compiler = CompilerRv64::new();
958 compiler.set_peephole(self.peephole);
959 compiler.set_register_allocation(self.register_allocation);
960 compiler.set_omit_frame_pointer(self.omit_frame_pointer);
961 let (asm, tokens) = compiler.compile_with_tokens(ir);
962 let stem = if let Some(existing) = self.current_artifact_stem() {

Callers 15

cmd_hll_to_asmFunction · 0.45
link_stdlib_and_runFunction · 0.45
compile_objectFunction · 0.45
run_hll_with_limitFunction · 0.45
run_irFunction · 0.45
run_hll_peepholeFunction · 0.45
run_hll_omit_fpFunction · 0.45
run_hll_optimizeFunction · 0.45
run_hllFunction · 0.45
run_hllFunction · 0.45
run_kernel_hllFunction · 0.45

Calls 3

current_artifact_stemMethod · 0.80
default_artifact_stemMethod · 0.80
assemble_namedMethod · 0.80