MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / put_input_in_regs

Method put_input_in_regs

cranelift/codegen/src/machinst/lower.rs:1631–1634  ·  view source on GitHub ↗

Put the `idx`th input into register(s) and return the assigned register.

(&mut self, ir_inst: Inst, idx: usize)

Source from the content-addressed store, hash-verified

1629
1630 /// Put the `idx`th input into register(s) and return the assigned register.
1631 pub fn put_input_in_regs(&mut self, ir_inst: Inst, idx: usize) -> ValueRegs<Reg> {
1632 let val = self.f.dfg.inst_args(ir_inst)[idx];
1633 self.put_value_in_regs(val)
1634 }
1635
1636 /// Put the given value into register(s) and return the assigned register.
1637 pub fn put_value_in_regs(&mut self, val: Value) -> ValueRegs<Reg> {

Callers 1

put_input_in_regsFunction · 0.80

Calls 2

inst_argsMethod · 0.80
put_value_in_regsMethod · 0.80

Tested by

no test coverage detected