MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / reuse_def

Method reuse_def

src/function.rs:431–433  ·  view source on GitHub ↗
(value: Value, input_idx: usize)

Source from the content-addressed store, hash-verified

429 #[inline]
430 #[must_use]
431 pub fn reuse_def(value: Value, input_idx: usize) -> Self {
432 Self::new(OperandKind::Def(value), OperandConstraint::Reuse(input_idx))
433 }
434
435 /// Create an `Operand` that designates a definition of a `Value` that must
436 /// be in the same register as an input to the instruction. The input is

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected